{"id":21717307,"url":"https://github.com/shnarazk/learn-pharo","last_synced_at":"2025-10-19T05:49:57.814Z","repository":{"id":97696674,"uuid":"392217229","full_name":"shnarazk/learn-pharo","owner":"shnarazk","description":"Let's learn a descendant of Smalltalk-80","archived":false,"fork":false,"pushed_at":"2024-01-01T13:20:50.000Z","size":122,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-25T18:11:34.747Z","etag":null,"topics":["advent-of-code","learning-by-doing","pharo","smalltalk"],"latest_commit_sha":null,"homepage":"","language":"Smalltalk","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shnarazk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2021-08-03T06:40:08.000Z","updated_at":"2023-05-01T05:03:01.000Z","dependencies_parsed_at":"2024-01-01T14:43:30.825Z","dependency_job_id":null,"html_url":"https://github.com/shnarazk/learn-pharo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shnarazk%2Flearn-pharo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shnarazk%2Flearn-pharo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shnarazk%2Flearn-pharo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shnarazk%2Flearn-pharo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shnarazk","download_url":"https://codeload.github.com/shnarazk/learn-pharo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244682222,"owners_count":20492930,"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":["advent-of-code","learning-by-doing","pharo","smalltalk"],"created_at":"2024-11-26T01:16:05.052Z","updated_at":"2025-10-19T05:49:52.764Z","avatar_url":"https://github.com/shnarazk.png","language":"Smalltalk","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Learn-pharo\nLet's learn [Pharo](https://github.com/pharo-project/pharo), a descendant of Smalltalk.\n\n- https://github.com/pharo-graphics/Bloc\n- https://github.com/pharo-spec\n- https://thepharo.dev/2021/10/08/dynamic-layouts-with-spec2/\n- https://github.com/ObjectProfile/Roassal3Documentation\n\n# A performance comparison\n\n### 100_000_000 terms (50_000_000 positive/negative pairs)\n\n| program         |exec. time (sec)|\n|-----------------|---------------:|\n| `PiFinderFloat` |           1.72 |\n| `PiFinderFloat2`|           1.14 |\n| `PiFinderFloat3`|           1.28 |\n|  - on Cuis      |           2.98 |\n| `PiFinder`      |        give up |\n| Python3.10      |          16.00 |\n| GDscript(4.0) typed |       8.21 |\n| GDscript(4.0 no type hints | 15.56 |\n| Scratch(turbo mode) |     227.26 |\n| [pi3.bqn](https://github.com/shnarazk/learn-bqn/blob/main/pi-benchmark/pi3.bqn) (CBQN) |   1.48 |\n| [pi4.bqn](https://github.com/shnarazk/learn-bqn/blob/main/pi-benchmark/pi4.bqn) (CBQN) |   3.05 |\n| [pi5.bqn](https://github.com/shnarazk/learn-bqn/blob/main/pi-benchmark/pi5.bqn) (CBQN) |   2.96 |\n| [pi10.bqn](https://github.com/shnarazk/learn-bqn/blob/main/pi-benchmark/pi10.bqn) (CBQN)|  0.11 |\n|  pi-rust(float) |           0.09 |\n\n### 1_000_000_000 terms\n\n| program         |exec. time (sec)|\n|-----------------|---------------:|\n| `PiFinderFloat` |          17.26 |\n| `PiFinderFloat2`|          11.55 |\n| `PiFinderFloat3`|          12.09 |\n| - on Cuis       |          29.33 |\n| `PiFinder`      |      crashed   |\n| Python3.10      |         168.67 |\n| GDscript(4.0) typed |    crashed |\n| Scratch(turbo mode) | don't know |\n| pi3.bqn (CBQN)  |  out of memory |\n| [pi4.bqn](https://github.com/shnarazk/learn-bqn/blob/main/pi-benchmark/pi4.bqn) (CBQN) |  31.13  |\n| [pi5.bqn](https://github.com/shnarazk/learn-bqn/blob/main/pi-benchmark/pi5.bqn) (CBQN) |  29.57  |\n| [pi10.bqn](https://github.com/shnarazk/learn-bqn/blob/main/pi-benchmark/pi10.bqn) (CBQN)|  1.04  |\n|  pi-rust(float) |           0.62 |\n| Swift 5.9      |           1.08  |\n\n------\n## Scratch\n\n![](https://user-images.githubusercontent.com/997855/227437677-6d08cb28-ac92-49fd-8347-900d551b84cb.png)\n\n## [GDscript](https://godotengine.org)\n\n![](https://user-images.githubusercontent.com/997855/233822033-291e8ae7-2be0-442b-b7ff-7150911284a3.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshnarazk%2Flearn-pharo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshnarazk%2Flearn-pharo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshnarazk%2Flearn-pharo/lists"}