Re:MoonBit compiler is available on GitHub
by apitman on Saturday December 21, 2024 @12:16PM
(#42480859)
First I've heard of libriscv. What exactly is it? A wasm alternative that uses RISCV byte code?
[ Parent
| on HN ]
Re:MoonBit compiler is available on GitHub
by dartos on Sunday December 22, 2024 @02:29AM
(#42484904)
Wasm and risc-v are totally different.
Wasm is an assembly like language for high performance computing in the browser
And risc-v is an arm-like instruction set for physical CPUs.
Wasm has a lot of runtimes which are basically VMs that run wasm.
Libriscv is a very small very vast VM that runs riscv assembly.
Re:MoonBit compiler is available on GitHub
by apitman on Sunday December 22, 2024 @12:07PM
(#42487614)
> Libriscv is a very small very vast VM that runs riscv assembly.
That's what I meant. I don't know why I said byte code instead of assembly.
Thanks for clarifying. I need to look into libriscv more.