3 ms·
It's interesting to note that even in Rust, there exists a Forth compiler, as depicted in these resources [1]. Its usage remains somewhat unclear to me [2], but
by spaintech 3y ago
It's interesting to note that even in Rust, there exists a Forth compiler, as depicted in these resources [1]. Its usage remains somewhat unclear to me [2], but its existence has been previously discussed here [3]. It boasts a robust implementation and, while it isn't a REPL Forth VM, it stands as an impressive VM implementation.
I've been contemplating - given that FORTH is a VM - if there's a need for a compact and efficient system capable of managing streaming data, it could be the optimal choice for exceptional performance, close to the bare metal. There's no need to contend with the operating system. Isn't this essentially what FPGA’s do, but on standard CPUs? I envision it as a specialized system, minus the requirement to create every driver for all the hardware you'd need to interface with.
[1] https://docs.rs/rust-forth-compiler/latest/src/rust_forth_compiler/lib.rs.html#26-47 https://docs.rs/rust-forth-compiler/latest/src/rust_forth_co...
[2] https://docs.rs/fortraith/latest/fortraith/ https://docs.rs/fortraith/latest/fortraith/
[3] https://news.ycombinator.com/item?id=23501474 https://news.ycombinator.com/item?id=23501474