Ross ROSS = Recommend OSS · open-source software intelligence for agents

lihaoyi/Metascala

A JVM written in Scala observed · 2026-08-28

github.com/lihaoyi/Metascala · Scala observed · 2026-08-28

Health v2 · maintenance only

32/100

  • Activity 0
  • Release rhythm 35
  • Longevity 100

Flags: no_releases no_license

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 4931
  • days_rel: n/a
  • days_push: 1138
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1185 stars · 95 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

Metascala is a tiny metacircular Java Virtual Machine written in about 3000 lines of Scala, including a bytecode interpreter, a stack-machine to SSA register-machine translator, a custom heap with a copying garbage collector, and partial JNI support. It runs on a host JVM and is intended as an approachable platform for experimenting with JVM features and running untrusted bytecode in a virtualized sandbox.

Use cases

  • experiment with JVM internals without reading HotSpot's million lines of C++
  • run untrusted Java bytecode in a sandboxed interpreter
  • implement experimental language features like continuations or value types on the JVM
  • learn how a virtual machine, heap, and garbage collector work
  • translate stack-machine bytecode to SSA register-machine form

When to choose

  • you want a small, readable JVM codebase to study or modify
  • you need a research playground for VM-level experiments like continuations or isolates
  • you want to safely interpret untrusted bytecode with virtualized memory and CPU usage

When to avoid

  • you need a production-grade, high-performance JVM
  • you require full JVM compatibility or up-to-date Scala support
  • you need maintained software with an explicit license

Facets

library · maturity maintenance

interpreter compiler security programming-languages compilers security jvm jvm metacircular-interpreter bytecode garbage-collector research sandboxing virtualization

1 source

Member repositories

RepositoryRoleHealth v2
lihaoyi/Metascalamain32

For agents

markdown · JSON · MCP: product_card(name="lihaoyi/Metascala")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem