6 ms·
> And yeah I agree it's disappointing they tacked such an obviously platform-biased API on to something that is supposed to be platform independent. I guess it
by kortex 4y ago
> And yeah I agree it's disappointing they tacked such an obviously platform-biased API on to something that is supposed to be platform independent. I guess it was the pragmatic thing but still...
What's the alternative? If you want an I/O system interface into WASM, something POSIX-like is probably the sanest choice one could make. Portable is literally in the name. In fact I'd say POSIX the least obviously biased system interface.
Is there some other syscall interface out there which implementS files, sockets, and clocks, which is simpler than POSIX?
In fact WASI seems quite stripped down from POSIX.