{"id":24286189,"url":"https://github.com/d2verb/brainfuck","last_synced_at":"2026-05-29T06:31:09.537Z","repository":{"id":98589360,"uuid":"165429369","full_name":"d2verb/brainfuck","owner":"d2verb","description":"brainfuck interpreter (with JIT)","archived":false,"fork":false,"pushed_at":"2019-01-13T19:35:03.000Z","size":18,"stargazers_count":1,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-05T20:54:10.850Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Nim","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/d2verb.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-01-12T19:51:10.000Z","updated_at":"2020-08-12T01:31:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"c1eeae90-315e-4501-8e34-143948d85a52","html_url":"https://github.com/d2verb/brainfuck","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/d2verb/brainfuck","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d2verb%2Fbrainfuck","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d2verb%2Fbrainfuck/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d2verb%2Fbrainfuck/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d2verb%2Fbrainfuck/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/d2verb","download_url":"https://codeload.github.com/d2verb/brainfuck/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d2verb%2Fbrainfuck/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33640627,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-29T02:00:06.066Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-01-16T07:28:53.452Z","updated_at":"2026-05-29T06:31:09.519Z","avatar_url":"https://github.com/d2verb.png","language":"Nim","funding_links":[],"categories":[],"sub_categories":[],"readme":"## What's this?\nA simple brainfuck interpreter with loop optimization.\n\nTo try this, you have to install nimlang (https://nim-lang.org/).\n\n## How to use\n```\n$ git clone https://github.com/d2verb/brainfuck\n$ cd brainfuck\n$ nimble build -d:release\n$ ./brainfuck interpret examples/helloworld.b\nHello World!\n```\n\n## Benchmark\n**hanoi.b**\n```\n$ time ./brainfuck interpret exmaples/hanoi.b\n./brainfuck interpret examples/hanoi.b  20.50s user 0.01s system 99% cpu 20.513 total\n$ time ./brainfuck interpret --jit exmaples/hanoi.b\n./brainfuck interpret --jit examples/hanoi.b  14.09s user 0.04s system 99% cpu 14.132 total\n```\nWinner is JIT version.\n\n**hanoi.b(build with release mode)**\n```\n$ time ./brainfuck interpret exmaples/hanoi.b\n./brainfuck interpret examples/hanoi.b  5.74s user 0.00s system 99% cpu 5.749 total\n$ time ./brainfuck interpret --jit exmaples/hanoi.b\n./brainfuck interpret --jit examples/hanoi.b  14.04s user 0.04s system 99% cpu 14.082 total\n```\nWinner is normal version.\n\n|build mode|normal|JIT|\n|-|-|-|\n|none|20.50s|**14.09s**|\n|release|**5.749s**|14.04s|\n\n## Reference\n[1] http://howistart.org/posts/nim/1/index.html\n\n[2] https://postd.cc/adventures-in-jit-compilation-part-1-an-interpreter/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd2verb%2Fbrainfuck","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fd2verb%2Fbrainfuck","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd2verb%2Fbrainfuck/lists"}