Re:RISC-V OS using Rust: Filesystems
by pavehawk2007 on Tuesday May 12, 2020 @01:32PM
(#23156852)
I stand corrected! Thanks for the info!
Re:RISC-V OS using Rust: Filesystems
by steveklabnik on Tuesday May 12, 2020 @01:35PM
(#23156880)
It's all good. I think that was the prevailing sentiment for years, but Amanieu put in the work, and things are looking bright. It hasn't been accepted yet, of course, so anything could happen. But stuff is moving in that direction, it seems.
Cool!
Curious why not WASM also? I have no use case for that, just asking.
Re:RISC-V OS using Rust: Filesystems
by steveklabnik on Tuesday May 12, 2020 @03:38PM
(#23158694)
Sorry, I'm not entirely sure what you're asking?
Re:RISC-V OS using Rust: Filesystems
by steveklabnik on Tuesday May 12, 2020 @06:22PM
(#23160768)
Relying to myself rather than replying to three people: this would be a good question on the RFC, but I would imagine that this would be possible, just not super useful. Usually inline asm is useful for doing stuff you cannot do in the higher level language, but wasm doesn’t have anything like that currently. I would imagine that it would be a fairly straightforward extension though.
They are probably asking why WASM (probably in .wat format) is not an option alongside x86/x86-64, ARM, AArch64, and RISC-V.
* move asm! to llvm_asm. https://github.com/rust-lang/rust/pull/68404
* implement the actual asm! we want to stabilize: https://github.com/rust-lang/rfcs/pull/2873
* stabilize it