{"id":15056386,"url":"https://github.com/kvakvs/erlangrt","last_synced_at":"2025-04-04T22:07:44.100Z","repository":{"id":37546560,"uuid":"104810482","full_name":"kvakvs/ErlangRT","owner":"kvakvs","description":"Erlang Replacement Therapy. Another attempt to make Erlang runtime (BEAM emulator) in Rust. Good news: I know what to do. Bad news: I have no clue how to Rust","archived":false,"fork":false,"pushed_at":"2023-05-03T12:40:07.000Z","size":1678,"stargazers_count":595,"open_issues_count":7,"forks_count":26,"subscribers_count":38,"default_branch":"master","last_synced_at":"2025-04-04T22:07:41.625Z","etag":null,"topics":["erlang","erlang-developement","erlang-vm","runtime"],"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/kvakvs.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":"CONTRIBUTING.rst","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":"2017-09-25T23:00:25.000Z","updated_at":"2025-01-12T00:39:47.000Z","dependencies_parsed_at":"2024-01-16T21:02:32.429Z","dependency_job_id":"cd846e64-1b2e-46af-8901-0da8aa5e80aa","html_url":"https://github.com/kvakvs/ErlangRT","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/kvakvs%2FErlangRT","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kvakvs%2FErlangRT/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kvakvs%2FErlangRT/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kvakvs%2FErlangRT/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kvakvs","download_url":"https://codeload.github.com/kvakvs/ErlangRT/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247256112,"owners_count":20909240,"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":["erlang","erlang-developement","erlang-vm","runtime"],"created_at":"2024-09-24T21:50:28.575Z","updated_at":"2025-04-04T22:07:44.082Z","avatar_url":"https://github.com/kvakvs.png","language":"Rust","readme":".. image:: https://app.fossa.io/api/projects/git%2Bgithub.com%2Fkvakvs%2FErlangRT.svg?type=shield\n    :target: https://app.fossa.com/projects/git%2Bgithub.com%2Fkvakvs%2FErlangRT?ref=badge_shield\n\nErlangRT - Runtime\n==================\n\nErlang Replacement Therapy.\nThis is an attempt to make Erlang runtime (BEAM emulator) in Rust. This is not\nthe first attempt so I kinda know what I'm doing.\n\nProgress to the Proof of Concept\n--------------------------------\n\n* Term library 80% (remaining 80% are in progress)\n* External Term Format (decoder 70%, encoder 0%)\n* BEAM Loader - mostly done\n* VM and processes 40%\n* VM loop and opcodes 45% (74 of 168)\n* Some basic BIFs \u003c15%\n* Binaries, sub-binaries, binary heap, binary opcodes: \u003c20%\n\n.. figure:: http://imgur.com/H5qypZG.png\n   :scale: 50%\n   :alt: Trying to run ``init:boot/1``\n\nTests in ``priv/test2.erl`` work. Running ``make test`` tries to run ``init:boot/1`` and produces the output above.\n\nCompiling\n`````````\n\n* The source assumes that you have Erlang OTP 22+ source in a Git submodule in ``otp/``,\n  and the stdlib and preload BEAM files are compiled and ready. Makefile takes care of it.\n* Install latest **Rust** and **Cargo** via `Rustup \u003chttp://doc.crates.io/\u003e`_\n* Run ``make`` and with the magic of Bash autocomplete see which targets it\n  supports. You might like:\n    * ``make run`` - runs the executable with test args, whatever set by the developer,\n      do not expect it to show any magical tricks;\n    * ``make doc`` - builds doc pages in ``target/doc/erlang_rt/``\n    * ``make test`` - runs the tests\n    * ``make build`` and ``make build-rel`` - builds but does not run the debug and\n      the release target respectively\n      \nCurrently the emulator expects to have preloaded BEAM modules from OTP 22+ located in `otp/`\nGit submodule (Makefile takes care of it).\n\nEditing and Code Navigation\n```````````````````````````\n\nI am using and strongly recommend IntelliJ IDEA CE (free version) with\nIntelliJ-Rust plugin (available in repositories tab inside IntelliJ).\n\nReference Material\n``````````````````\n\n* `BEAM Wisdoms \u003chttp://beam-wisdoms.clau.se/\u003e`_ (I run this one)\n* `The BEAM book \u003chttps://github.com/happi/theBeamBook\u003e`_\n  (I am also one of the editors there)\n\nContributing\n````````````\n\nSee ``CONTRIBUTING.rst``\n\n\nLicense Inspection\n------------------\n\n.. image:: https://app.fossa.io/api/projects/git%2Bgithub.com%2Fkvakvs%2FErlangRT.svg?type=large\n    :target: https://app.fossa.com/projects/git%2Bgithub.com%2Fkvakvs%2FErlangRT?ref=badge_large\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkvakvs%2Ferlangrt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkvakvs%2Ferlangrt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkvakvs%2Ferlangrt/lists"}