{"id":15069146,"url":"https://github.com/theseus-rs/ristretto","last_synced_at":"2026-01-26T07:01:47.880Z","repository":{"id":247494083,"uuid":"825996367","full_name":"theseus-rs/ristretto","owner":"theseus-rs","description":"Java Virtual Machine","archived":false,"fork":false,"pushed_at":"2026-01-25T01:46:51.000Z","size":7391,"stargazers_count":44,"open_issues_count":3,"forks_count":6,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-25T08:27:38.834Z","etag":null,"topics":["classfile","java","jvm"],"latest_commit_sha":null,"homepage":"https://theseus-rs.github.io/ristretto/ristretto_cli/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/theseus-rs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"brianheineman"}},"created_at":"2024-07-08T23:04:04.000Z","updated_at":"2026-01-25T01:42:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"7e5a7662-156c-482f-8385-dcdc03bd145e","html_url":"https://github.com/theseus-rs/ristretto","commit_stats":null,"previous_names":["theseus-rs/ristretto"],"tags_count":39,"template":false,"template_full_name":null,"purl":"pkg:github/theseus-rs/ristretto","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theseus-rs%2Fristretto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theseus-rs%2Fristretto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theseus-rs%2Fristretto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theseus-rs%2Fristretto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/theseus-rs","download_url":"https://codeload.github.com/theseus-rs/ristretto/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theseus-rs%2Fristretto/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28769209,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T06:37:25.426Z","status":"ssl_error","status_checked_at":"2026-01-26T06:37:23.039Z","response_time":59,"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":["classfile","java","jvm"],"created_at":"2024-09-25T01:40:42.769Z","updated_at":"2026-01-26T07:01:47.872Z","avatar_url":"https://github.com/theseus-rs.png","language":"Rust","funding_links":["https://github.com/sponsors/brianheineman"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003cimg width=\"250\" height=\"250\" src=\"images/logo.svg\"\u003e\u003c/p\u003e\n\n# Ristretto\n\n[![ci](https://github.com/theseus-rs/ristretto/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/theseus-rs/ristretto/actions/workflows/ci.yml)\n[![Documentation](https://docs.rs/ristretto_classfile/badge.svg)](https://docs.rs/ristretto_classfile)\n[![Code Coverage](https://codecov.io/gh/theseus-rs/ristretto/branch/main/graph/badge.svg)](https://codecov.io/gh/theseus-rs/ristretto)\n[![Benchmarks](https://img.shields.io/badge/%F0%9F%90%B0_bencher-enabled-6ec241)](https://bencher.dev/perf/theseus-rs-ristretto)\n[![Latest version](https://img.shields.io/crates/v/ristretto_vm.svg)](https://crates.io/crates/ristretto_vm)\n[![License](https://img.shields.io/crates/l/ristretto_classfile)](https://github.com/theseus-rs/ristretto#license)\n[![Semantic Versioning](https://img.shields.io/badge/%E2%9A%99%EF%B8%8F_SemVer-2.0.0-blue)](https://semver.org/spec/v2.0.0.html)\n\nEmbeddable Java Virtual Machine [JVM](https://docs.oracle.com/javase/specs/jvms/se24/html/) implementation.\n\n## Getting Started\n\n`ristretto` java can be installed using the following methods:\n\n### Linux / MacOS\n\n```shell\ncurl --proto '=https' --tlsv1.2 -LsSf https://github.com/theseus-rs/ristretto/releases/latest/download/ristretto_cli-installer.sh | sh\n```\n\n### Windows\n\n```shell\nirm https://github.com/theseus-rs/ristretto/releases/latest/download/ristretto_cli-installer.ps1 | iex\n```\n\nFor more information, and additional installations instructions (cargo, homebrew, msi),\nvisit the [ristretto](https://theseus-rs.github.io/ristretto/ristretto_cli/) site.\n\n### Features\n\n- Runtime classes based on LTS versions of [AWS Corretto](https://github.com/corretto)\n- Load classes from directories, jars, modules\n- Url class loading from jars and modules\n- Reading, writing, and verifying classes\n- A low-pause, concurrent, parallel mark-and-sweep garbage collector\n- Parallel Just-In-Time (JIT) compilation for x86-64, aarch64, s390x and riscv64\n\n### Limitations\n\n#### String Encoding\n\nRistretto uses Rust's `String` type to represent Java strings. This means that Ristretto does not support unpaired\nsurrogates from Java's UTF-16 encoding. Any unpaired surrogates will be replaced with the replacement character `�`\n(U+FFFD) when decoding Java strings. For additional details on how Java and Rust handle strings, see\n[encodings](docs/encoding/index.md).\n\n#### Just-In-Time (JIT) Compilation\n\nThe JIT compiler only supports functions that use primitive type byte codes. The JIT compiler is not implemented for\nfunctions that use object byte code or call other functions.\n\n#### Threading\n\nThreading is partially implemented. The JVM has been structured to implement threading using async with the `tokio`\nruntime.\n\n#### Runtime Native Methods\n\nThe Java runtime requires hundreds of native methods. This project aims to provide Rust equivalents for these methods\non an as needed basis. Currently, only a small subset of these are implemented. If a native method is called that is not\nimplemented, the program will panic. Please submit a pull request, or open an issue if you need a specific native\nmethod implemented.\n\n#### Java Native Interface (JNI)\n\nJNI is not implemented.\n\n#### Security Manager\n\nSupport for the Security Manager is not implemented and there are no plans to implement it. The security manager has\nbeen deprecated; see: [JEP 411](https://openjdk.org/jeps/411)\n\n`System.getSecurityManager()` will always return `null`, and `System.setSecurityManager()` will throw an exception.\n\n#### Finalizers\n\nSupport for finalizers is not implemented and there are no plans to implement it. Finalizers have been deprecated; see:\n[JEP 421](https://openjdk.java.net/jeps/421)\n\n## License\n\nLicensed under either of\n\n* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or https://www.apache.org/licenses/LICENSE-2.0)\n* MIT license ([LICENSE-MIT](LICENSE-MIT) or https://opensource.org/licenses/MIT)\n\n## Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any\nadditional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheseus-rs%2Fristretto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheseus-rs%2Fristretto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheseus-rs%2Fristretto/lists"}