minivm
Bashforth
Our great sponsors
minivm | Bashforth | |
---|---|---|
13 | 4 | |
1,552 | 61 | |
0.3% | - | |
8.9 | 0.0 | |
7 days ago | about 2 years ago | |
C | Shell | |
MIT License | GNU General Public License v3.0 or later |
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].
- 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
Bashforth
-
Hacker News top posts: Jan 8, 2022
Bashforth: A Forth interpreter, written as bash script\ (0 comments)
- Bashforth: A Forth interpreter, written as bash script
- A Forth interpreter, entirely written as bash script
- A Forth interpreter, written as bash script
What are some alternatives?
privacytests.org - Source code for privacytests.org. Includes browser testing code and site rendering.
sljit - Platform independent low-level JIT compiler
forthy2 - a Forth (for you) too
LuaJIT - Mirror of the LuaJIT git repository
imap-backup - Backup and Migrate IMAP Email Accounts
paka - Paka language
BookStack - A platform to create documentation/wiki content built with PHP & Laravel
asmjit - Low-latency machine code generation
oil - Oils is our upgrade path from bash to a better language and runtime. It's also for Python and JavaScript users who avoid shell!
wasm3 - 🚀 A fast WebAssembly interpreter and the most universal WASM runtime
gfoo - a Go scripting language