{"id":13648686,"url":"https://github.com/douchuan/jvm","last_synced_at":"2025-04-22T11:33:03.260Z","repository":{"id":41801195,"uuid":"227529649","full_name":"douchuan/jvm","owner":"douchuan","description":"JVM in Rust, written as a learning project.","archived":false,"fork":false,"pushed_at":"2021-03-05T15:01:23.000Z","size":1326,"stargazers_count":513,"open_issues_count":4,"forks_count":31,"subscribers_count":20,"default_branch":"master","last_synced_at":"2024-08-03T01:39:04.630Z","etag":null,"topics":["java","jvm","modular","rust","vm"],"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/douchuan.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}},"created_at":"2019-12-12T05:47:17.000Z","updated_at":"2024-07-26T06:11:59.000Z","dependencies_parsed_at":"2022-07-19T14:39:10.451Z","dependency_job_id":null,"html_url":"https://github.com/douchuan/jvm","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/douchuan%2Fjvm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/douchuan%2Fjvm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/douchuan%2Fjvm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/douchuan%2Fjvm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/douchuan","download_url":"https://codeload.github.com/douchuan/jvm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223896472,"owners_count":17221441,"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":["java","jvm","modular","rust","vm"],"created_at":"2024-08-02T01:04:27.381Z","updated_at":"2024-11-09T23:30:28.960Z","avatar_url":"https://github.com/douchuan.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"Have a great goal is a very important thing, such as Moon Landing.\nWhat is the meaning of this plan? \nThat's the process of achieving this goal, the produce of industry and technology.\n\nSun is a great company, in the era of C++, they created JVM \u0026 HotSpot.\n\nNow, we have Rust, a better tool, let’s remake JVM! \n\nPay tribute to medical workers at the front! Thank you for your contribution to the fight against the epidemic.\n\n\n## Roadmap\n\n- Pass test cases in JDK \n- Pass TCK \n- GC (crate)\n- JIT / interp (crate)\n- class verification (crate)\n- After GC built, ready for optimize System.arraycopy (the key of performance)\n- WebAssembly, make the JVM work in Browser \n- java options (-version, -server...)\n\nIn summary, the roadmap is built on a 3-step progress.\n- Pass TCK\n- Refactor \u0026 Rewrite\n- Divide into several crates, build a collection of modular and reusable vm technologies\n\nWell, it's a long term plan, Sun spent 30 years to improve\nVM, Oracle continue doing it.\n\nThe journey of a thousand miles begins with one first step. Even the sage was once an ordinary human being.\n\nJust Do It.\n\n## Running\n```shell\n# setup JDK\n# setup rust toolchain\n# clone this project\n\n# compile sample by javac\ncd jvm/sample\njavac HelloWorld.java\ncd ..\n\n# modify r.sh JAVA_HOME according to your env\n# exec sample\ncd jvm\nbash r.sh\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdouchuan%2Fjvm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdouchuan%2Fjvm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdouchuan%2Fjvm/lists"}