News for hackers. Stuff that matters.
Re:RISC-V OS using Rust: Filesystems by jeffdavis on Tuesday May 12, 2020 @03:30PM (#23158588)
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.
Re:RISC-V OS using Rust: Filesystems by skavi on Tuesday May 12, 2020 @06:08PM (#23160603)
They are probably asking why WASM (probably in .wat format) is not an option alongside x86/x86-64, ARM, AArch64, and RISC-V.
Re:RISC-V OS using Rust: Filesystems by monadic2 on Tuesday May 12, 2020 @05:37PM (#23160215)
Perhaps why there is no wasm equivalent directive? Just a guess.