Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
minivm
-
Show HN: I wrote a WebAssembly Interpreter and Toolkit in C
> I developed a unique way to write interpreters based on threaded code jumps and basic block versioning when I made MiniVM (https://github.com/FastVM/minivm). It was both larger and more dynamic than WebAssembly.
I'd be very interested to read more about this. It looks like you are using "one big function" with computed goto (https://github.com/FastVM/Web49/blob/main/src/interp/interp....). My experience working on this problem led me to the same conclusion as Mike Pall, which is that compilers do not do well with this pattern (particularly when it comes to register allocation): http://lua-users.org/lists/lua-l/2011-02/msg00742.html
I'm curious how you worked around the problem of poor register allocation in the compiler. I've come to the conclusion that tail calls are the best solution to this problem: https://blog.reverberate.org/2021/04/21/musttail-efficient-i...
-
Ask HN: Recommendation for general purpose JIT compiler
Maybe take a look at MiniVM[0]? It was on HN a couple months ago[1].
[0]: https://github.com/fastvm/minivm
- MiniVM: “Minivm Port to Dlang”
- MiniVM: A zero-dependency cross-language runtime on par with LuaJIT and C
-
Hacker News top posts: Jan 8, 2022
MiniVM: A zero-dependency cross-language runtime on par with LuaJIT and C\ (19 comments)
- MiniVM: A minimal cross-language runtime that beats C/luajit on some benchmarks
paka
-
MiniVM: A zero-dependency cross-language runtime on par with LuaJIT and C
I think bins/boot.bc in the paka repo is a minivm binary file that does bootstrapping for paka.
-
MiniVM: A minimal cross-language runtime that beats C/luajit on some benchmarks
Personally, I find it pretty impressive that it performs as well as these runtimes despite not having a JIT compiler. I'm pretty sure Shaw's written more benchmarks, but as the README explains, it's really hard to tell what the performance characteristics of a language are without writing a larger application. So far the largest applications written with MiniVM is Paka[0], a self-hosted language similar to Lua that targets MiniVM; os49[1], an operating system built on Paka/MiniVM in the spirit of lisp machines; and xori[2], an online playground for the language.
[0]: https://github.com/FastVM/paka
-
Feedback on my pet language SIMPL
Some similar languages from this community: my Paka (even down to the println), and someone else's Cthulhu.
What are some alternatives?
privacytests.org - Source code for privacytests.org. Includes browser testing code and site rendering.
android-luajit-launcher - Android NativeActivity based launcher for LuaJIT, implementing the main loop within Lua land via FFI
sljit - Platform independent low-level JIT compiler
Papers
asmjit - Low-latency machine code generation
awesome-jit - A curated list of awesome JIT frameworks, libraries, software and resources
qbe-rs - QBE IR in natural Rust data structures
os49 - basically minivm os
LuaJIT - Mirror of the LuaJIT git repository
purr - Purr VM and Paka language [Moved to: https://github.com/ShawSumma/paka]
wasm3 - 🚀 A fast WebAssembly interpreter and the most universal WASM runtime
simpl - a simple programming language