News for hackers. Stuff that matters.
Re:MiniVM: A zero-dependency cross-language runtime on par w... by tonyg on Saturday January 08, 2022 @06:55AM (#29850814)
Hard to tell whether it supports proper tail calls or not. The readme mentions Scheme, so it's not impossible I suppose! One of the nice things about wasm is the formal semantics; a project like this could benefit from one of those, too.
Re:MiniVM: A zero-dependency cross-language runtime on par w... by 4984 on Saturday January 08, 2022 @07:02AM (#29850854)
Author here, Tail calls can be implemented in MiniVM bytecode. There was once an instruction that performed a tail call, It bit-rotted due to not being used.

MiniVM is moving very quickly currently. A lot still needs to be done, like JIT and optimizers.

Eventually a formal specification of MiniVM should happen, just not yet as things are changing too fast.

Re:MiniVM: A zero-dependency cross-language runtime on par w... by user-the-name on Saturday January 08, 2022 @11:26AM (#29853155)
Speaking of wasm, any idea how feasible it would be to convert wasm to minivm bytecode and use it as a wasm runner?