{"id":35891092,"url":"https://github.com/none-None1/jitbf","last_synced_at":"2026-01-15T15:00:44.299Z","repository":{"id":179091657,"uuid":"662953446","full_name":"none-None1/jitbf","owner":"none-None1","description":"Brainfuck JIT interpreter in Python","archived":false,"fork":false,"pushed_at":"2024-09-01T02:14:49.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-08T23:49:49.021Z","etag":null,"topics":["brainfuck-interpreter","jit-compiler"],"latest_commit_sha":null,"homepage":"","language":"Python","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/none-None1.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-06T08:38:56.000Z","updated_at":"2025-02-01T00:41:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"dc53325a-fef7-47bd-b21f-848a3826b6de","html_url":"https://github.com/none-None1/jitbf","commit_stats":null,"previous_names":["none-none1/jitbf"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/none-None1/jitbf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/none-None1%2Fjitbf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/none-None1%2Fjitbf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/none-None1%2Fjitbf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/none-None1%2Fjitbf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/none-None1","download_url":"https://codeload.github.com/none-None1/jitbf/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/none-None1%2Fjitbf/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28455168,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-15T13:44:33.145Z","status":"ssl_error","status_checked_at":"2026-01-15T13:44:32.843Z","response_time":62,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["brainfuck-interpreter","jit-compiler"],"created_at":"2026-01-09T07:00:38.656Z","updated_at":"2026-01-15T15:00:44.285Z","avatar_url":"https://github.com/none-None1.png","language":"Python","funding_links":[],"categories":["Full table"],"sub_categories":[],"readme":"[![Downloads](https://static.pepy.tech/badge/jitbf)](https://pepy.tech/project/jitbf) [![Downloads](https://static.pepy.tech/badge/jitbf/month)](https://pepy.tech/project/jitbf) [![Downloads](https://static.pepy.tech/badge/jitbf/week)](https://pepy.tech/project/jitbf)\n\n### What's this? A fast brainfuck JIT interpreter!\n\n#### How to install it?\n\nYou can clone this repo, but this package is published on PyPI, too. Therefore, you can also install it using pip:\n\n```commandline\npip install llvmlite jitbf # The package also requires llvmlite\n```\n\n[Project link on PyPI](https://pypi.org/project/jitbf/)\n\n#### How to use?\n\nTo use it, you can either write your code like this:\n```python\nfrom jitbf import bf2jit\ncode='\u003ccode\u003e'\njit=bf2jit(code)\njit()\n```\n\n, or use the jitbf command.\n\nYou have to install tha package 'llvmlite' before using this package.\n\n#### How fast is it?\n\nI compared this JIT interpreter with the [Quick Dirty Interpreter In C](http://brainfuck.org/qdb.c).\nThe brainfuck code used in the test is [mandel.b](https://github.com/eriknyquist/bfi/blob/master/bfi/examples/mandel.b).\nThe operating system used in the test is Windows 10 64 bit.\n\n```python\nInterpreter: jitbf 1.0.0                      Time to run: 3.5764139 s\n\nInterpreter: Quick Dirty Interpreter In C     Time to run: 8.3990561 s\n```\n\n#### How does it work?\n\nThe package is based on LLVM, it first translates brainfuck into LLVM IR code, then uses llvmlite to compile and run it.\n\n#### What advantages and disadvantages does it have?\n\nAdvantages:\n1. Fast.\n2. Consists of only one small Python file.\n3. Provides a commandline tool.\n\nDisadvantages:\n1. It does NOT free allocated memory.\n2. Once you run brainfuck code which never ends, using this package, all you can do to terminate it is to kill it (Ctrl+C won't work).\n\n#### How will you improve it in the future?\n\nI will improve it by making the LLVM IR code it translates smaller, and runs faster.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnone-None1%2Fjitbf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnone-None1%2Fjitbf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnone-None1%2Fjitbf/lists"}