{"id":15902125,"url":"https://github.com/ericlbuehler/merlin_rust","last_synced_at":"2025-10-16T02:41:44.709Z","repository":{"id":203416401,"uuid":"637036588","full_name":"EricLBuehler/merlin_rust","owner":"EricLBuehler","description":"Make your code fly.","archived":false,"fork":false,"pushed_at":"2023-10-25T09:03:41.000Z","size":5068,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-05T04:14:09.527Z","etag":null,"topics":["interpreter","merlin","programming-language","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EricLBuehler.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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-05-06T10:03:05.000Z","updated_at":"2025-05-25T12:05:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"ff447a64-50d7-43e4-9e88-415991d303f6","html_url":"https://github.com/EricLBuehler/merlin_rust","commit_stats":null,"previous_names":["ericlbuehler/merlin_rust"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/EricLBuehler/merlin_rust","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EricLBuehler%2Fmerlin_rust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EricLBuehler%2Fmerlin_rust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EricLBuehler%2Fmerlin_rust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EricLBuehler%2Fmerlin_rust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EricLBuehler","download_url":"https://codeload.github.com/EricLBuehler/merlin_rust/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EricLBuehler%2Fmerlin_rust/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279141194,"owners_count":26112766,"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","status":"online","status_checked_at":"2025-10-16T02:00:06.019Z","response_time":53,"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":["interpreter","merlin","programming-language","rust"],"created_at":"2024-10-06T11:22:33.516Z","updated_at":"2025-10-16T02:41:44.693Z","avatar_url":"https://github.com/EricLBuehler.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Merlin\n\n![rustc 1.70 stable](https://img.shields.io/badge/rustc-1.70.0-brightgreen)\n[![MIT License](https://img.shields.io/badge/License-MIT-informational)](LICENSE)\n![Build status](https://github.com/EricLBuehler/merlin/actions/workflows/build.yml/badge.svg)\n![Tests status](https://github.com/EricLBuehler/merlin/actions/workflows/tests.yml/badge.svg)\n\n\u003ch2\u003e\u003cstrong\u003eMake your code \u003ci\u003efly\u003c/i\u003e\u003c/strong\u003e\u003c/h2\u003e\n\nMerlin is a dynamically and strongly typed programming language written in Rust. Merlin's threading system empowers programmers to write powerful code that leverages concurrency - regardless of whether your system has atomics.\n\nMerlin uses Rust's atomic data types to remove the need for a GIL without sacrificing performance.\nIn addition, it has a register-based interpreter (like CPUs) which has large performance advantages over the Python stack-based interpreter that is simpler and needs to shuffle a lot of memory around.\n\n### Current comparison to Python:\n\nWith this code:\n```Python\na=1\nb=2\na+b\na+b\na+b\n```\nTotal execution time:\n\nMerlin 1.3 (release): 20 ns\n\n`./merlin program.me -t 10000`\n\nPython 3.10.6: 54.9 ns \n\n`python3 -m timeit -c \"a=1;b=2;a+b;a+b;a+b\"`\n\nMerlin is: 2.75x **faster**\n\n***\n\nWith this code:\n```Python\na=1\nb=2\na+b\na+b\na+b\na+b\na+b\na+b\n```\nTotal execution time:\n\nMerlin 1.3 (release): 57.86 ns\n\n`./merlin program.me -t 10000`\n\nPython 3.10.6: 103 ns \n\n`python3 -m timeit -c \"a=1;b=2;a+b;a+b;a+b;a+b;a+b;a+b\"`\n\nMerlin is: 1.78x **faster**\n\n***\n\nMerlin 1.3: 2.89x slower for 2x more.\n\nPython 3.10.6: 1.87x slower for 2x more.\n\n## Installation\nTo get started with Merlin:\n- Download rust (preferably with rustup command line tool)\n- Run `make release`\n- Execute code using the generated binary!\n\n## Docs\n- [Keywords](docs/keywords.md)\n- [Memory model reasoning and internals](docs/memory_model.md)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericlbuehler%2Fmerlin_rust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fericlbuehler%2Fmerlin_rust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericlbuehler%2Fmerlin_rust/lists"}