{"id":19879956,"url":"https://github.com/evnix/funwithfunctionalprogram","last_synced_at":"2025-06-28T16:41:50.078Z","repository":{"id":146212239,"uuid":"42111669","full_name":"evnix/FunWithFunctionalProgram","owner":"evnix","description":"Erlang/Functional solution to the problem","archived":false,"fork":false,"pushed_at":"2015-09-12T17:48:58.000Z","size":1880,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-01T02:42:35.170Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Erlang","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/evnix.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-09-08T12:47:00.000Z","updated_at":"2015-09-12T17:49:28.000Z","dependencies_parsed_at":"2023-04-07T12:35:14.408Z","dependency_job_id":null,"html_url":"https://github.com/evnix/FunWithFunctionalProgram","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/evnix/FunWithFunctionalProgram","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evnix%2FFunWithFunctionalProgram","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evnix%2FFunWithFunctionalProgram/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evnix%2FFunWithFunctionalProgram/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evnix%2FFunWithFunctionalProgram/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/evnix","download_url":"https://codeload.github.com/evnix/FunWithFunctionalProgram/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evnix%2FFunWithFunctionalProgram/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262461534,"owners_count":23314970,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T17:09:51.562Z","updated_at":"2025-06-28T16:41:50.020Z","avatar_url":"https://github.com/evnix.png","language":"Erlang","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FunWithFunctionalProgram\n\n\n**Note:** The program is written in Erlang which is a functional programming language, It would be coded \u0026 solved much faster in imperative languages like Java or C.\n\nThis program uses a client server concept. this means, \n\nwe could have 1000 of processes running on multiple servers working in union to solve the problem.\nA **little** sacrifice in speed for scalability.\n\n\n## To Run [Install Erlang-18]\n\n````\nerlc *.erl\n\nerl -run mainp start\n\n````\n\n\n## Files\n\n````\ntwo_dim.erl  [Erlang doesnt support 2 Dim arrays, so implemented it]\nfhandle.erl  [load contents of file into an array]\niterator.erl [function which actually recurses through data]\nconsumer.erl [server for consuming and discarding resultsets from clients]\nmainp.erl    [acts as the client and initiates all above modules]\n\n````\n\nAlgorithm:\n\n````\nCurrently, The algorithm works by recursively going through each element.\nThe program can be easily made to work on multiple computers.\nthe start2 function can be used to specify which part of the map to work on each computer.\n\nThere is also an implementation(commented out) to spawn one process per element.\n````","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevnix%2Ffunwithfunctionalprogram","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fevnix%2Ffunwithfunctionalprogram","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevnix%2Ffunwithfunctionalprogram/lists"}