Tag
scScript is a C-like scripting language that compiles to bytecode and runs on a virtual machine for Linux, integrated with the scEmacs editor.
The article explains how to implement a Java equivalent of C#'s nameof expression by introspecting bytecode at runtime via StackWalker and the ClassFile API, enabling retrieval of parameter names for exception messages.
Jimmy Ostler explores tail-call interpreters in Rust, implementing and benchmarking various VM dispatch techniques including switch dispatch, subroutine threading, and tail-call optimized machines.
A technical blog post explaining techniques for mapping bytecode offsets back to source lines in virtual machines, using run-length encoding to reduce memory overhead with O(r) memory and O(n+r) sequential access, and discussing the predecessor problem for random access.
Vercel announced that Python functions now start 2x faster by precompiling code and dependencies to bytecode at build time.
Tiny is a new interpreted dynamic programming language written in Go, featuring a bytecode virtual machine, JIT compilation, and inline Go native functions for high performance.
Explains the use of GCC's computed goto extension to improve the performance of bytecode VM dispatch tables compared to traditional switch statements, with a simple example.
rustc_codegen_jvm is a custom Rust compiler backend that emits JVM bytecode, allowing Rust code to be compiled into runnable JAR files compatible with JVM 8+. It supports a wide range of Rust features including control flow, data structures, traits, and closures.
H2JVM is a Haskell library that allows developers to write JVM bytecode directly in Haskell, enabling low-level JVM manipulation.
This article explores surprising uses of bytecode virtual machines, specifically eBPF in the Linux kernel and DWARF expressions for debug information in compiled binaries.
Tiny-Lua-Compiler is an educational, self-hosting Lua 5.1 compiler and VM written in pure Lua, designed to be small enough to study but complete enough to handle real language features.