{"id":16332083,"url":"https://github.com/m1kc/rfalse","last_synced_at":"2025-10-25T22:30:31.534Z","repository":{"id":238109307,"uuid":"795888495","full_name":"m1kc/rfalse","owner":"m1kc","description":"An interpreter for the FALSE language, possibly the fastest in the world.","archived":false,"fork":false,"pushed_at":"2024-10-11T16:07:02.000Z","size":48,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-31T11:03:22.688Z","etag":null,"topics":["brainfuck","bytecode","esolang","esoteric-language","false","interpreter","programming-language","rust","rust-lang","vm"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/m1kc.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":"2024-05-04T10:57:54.000Z","updated_at":"2024-10-11T16:07:06.000Z","dependencies_parsed_at":"2024-05-04T11:50:55.648Z","dependency_job_id":null,"html_url":"https://github.com/m1kc/rfalse","commit_stats":null,"previous_names":["m1kc/rfalse"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1kc%2Frfalse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1kc%2Frfalse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1kc%2Frfalse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1kc%2Frfalse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/m1kc","download_url":"https://codeload.github.com/m1kc/rfalse/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238216920,"owners_count":19435617,"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":["brainfuck","bytecode","esolang","esoteric-language","false","interpreter","programming-language","rust","rust-lang","vm"],"created_at":"2024-10-10T23:29:13.493Z","updated_at":"2025-10-25T22:30:26.240Z","avatar_url":"https://github.com/m1kc.png","language":"Rust","readme":"# rfalse\n\nAn interpreter for the [FALSE](https://esolangs.org/wiki/FALSE) language — possibly the fastest in the world.\n\n- Supports all language features;\n- Written in Rust;\n- Up to 38 times more performant than [false-js](http://www.quirkster.com/iano/js/false-js.html) (see benchmarks below). If you are aware of any faster implementations, please let me know!\n\n## Table of Contents\n\n- [Benchmarks](#benchmarks)\n- [How to run](#how-to-run)\n- [WASM support](#wasm-support)\n- [Hacking](#hacking)\n- [License](#license)\n- [See also](#see-also)\n\n## Benchmarks\n\n| Test | false-js | rfalse | difference |\n|------|----------|--------|------------|\n| Primes, n=1999 | 4392 ms | **168 ms** | ~26x\n| Fibonacci, n=33 | 37597 ms | **987 ms** | ~38x\n| Fibonacci, n=25 | 802 ms | **21 ms** | ~38x\n\nExperimental VM:\n\n| Test | rfalse-vm2 | false-js | solkin/false-vm |\n|------|------------|----------|-----------------|\n| Primes, n=1999 | **102 ms** | 4392 ms (~43x slower) | 154 ms (~1.5x slower)\n| Fibonacci, n=33 | **435 ms** | 37597 ms (~86x slower) | 504 ms (~1.16x slower)\n| Fibonacci, n=25 | **9 ms** | 802 ms (~89x slower) | 11 ms (~1.2x slower)\n\n## How to run\n\n```sh\ncargo run --release -- examples/hello.false\n```\n\nIn no filename is given, stdin will be used instead.\n\n## WASM support\n\nExperimental feature. WASM performance is about 2x worse than native build.\n\nFirst, compile the WASM files:\n\n```sh\nwasm-pack build --release --target web\n```\n\nAfter that, run a webserver. For example:\n\n```\npython3 -m http.server 8000 -d .\n```\n\nNavigate to http://localhost:8000 and open the console.\n\n## Hacking\n\nRun linter:\n\n```sh\ncargo clippy\n```\n\nRun tests:\n\n```sh\ncargo test\n```\n\nRun benchmarks:\n\n```sh\ncargo bench --bench perf\n```\n\n## License\n\nGNU LGPL v3\n\n## See also\n\n* [FALSE home page](https://strlen.com/false-language/)\n* [FALSE page on Esolangs](https://esolangs.org/wiki/FALSE) — the closest thing we have to a language reference\n* [Archived language reference](https://web.archive.org/web/20110716155733/http://strlen.com/false/false.txt), was very hard to find\n* [FALSE article on Russian Wikipedia](https://ru.wikipedia.org/wiki/FALSE) which contains some useful explanations; funny enough, there's no English version\n\nOther notable implementations:\n\n* [Awesome FALSE interpreter](https://github.com/solkin/false-vm) by Igor Solkin\n* [false-js](https://www.quirkster.com/iano/js/false-js.html) by Ian Osgood\n* [JavaScript FALSE interpreter](https://morphett.info/false/false.html) by Anthony Morphett\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm1kc%2Frfalse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm1kc%2Frfalse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm1kc%2Frfalse/lists"}