← Back to context

Comment by andyferris

3 months ago

> I hope they add some POSIXy stuff to it

Are you aware of WASI? WASI preview 1 provides a portable POSIXy interfance, while WASI preview 2 is a more complex platform abstraction beast.

(Keeping the platform separate from the assembly is normal and good - but having a common denominator platform like POSIX is also useful).

I'd go a bit further. If you want full POSIX support, perhaps WASIX is the best alternative. It's WASI preview 1 + many missing features, such as: threads, fork, exec, dlopen, dlsym, longjmp, setjmp, ...

https://wasix.org/