What does HackerNews think of WASI?

WebAssembly System Interface

Language: Rust

Annoying to use acronym "WASI" and assume that everyone knows what it means. Apparently it’s Web Assembly System Interface. But what does that mean? To quote from https://github.com/WebAssembly/WASI:

> The WebAssembly System Interface is not a monolithic standard system interface, but is instead a modular collection of standardized APIs. None of the APIs are required to be implemented to have a compliant runtime. Instead, host environments can choose which APIs make sense for their use cases.

Uhh… OK, I guess. So it’s a collection of APIs to allow Web Assembly programs to make system calls? Why not just say that?

Edit: The official release notes do not make this mistake. https://www.ruby-lang.org/en/news/2022/12/25/ruby-3-2-0-rele...

I'm confused. Searching for WASI leads me here

https://github.com/WebAssembly/WASI

Which has no links to any readable docs or specs.

¯\_(ツ)_/¯

What you linked to is WASI-libc, which is a C standard library implementation on top of WASI - which itself is more low-level and less POSIX-like. https://github.com/WebAssembly/WASI
Since I have your ear, in hindsight do you think the promotion of IndexedDB over SQLite/WebSQL was a good move?

I think persistent SQLite is on the verge of returning to the browser via WebAssembly but it needs a proper POSIX-like WASI [1] (WebAssembly System Interface) implementation in the browser. If you are looking for (very) small footholds in the market for Brave, a WASI implementation supporting a SQLite VFS [2] extension has my vote.

[1] https://github.com/WebAssembly/WASI

[2] https://www.sqlite.org/vfs.html

I think WebAssembly System Interface will address using other protocols.

https://github.com/WebAssembly/WASI

A shell based on [WASI] would be a pretty cool option to provide

[WASI]: https://github.com/WebAssembly/WASI