Live data from Hacker News

Reaching the Unix philosophy's logical extreme with WebAssembly

xeiaso.net

11–20 of 142 posts

Re: Reaching the Unix philosophy's logical extreme with WebAssembly

#11
Everything is not a file. There are files and file-contents. The content of a file is not a file.

The magic trick happens with #SheBang because that tells you who should interpret and execute the file-contents. That is "magic" because in a sense you must read (part of the content) to know how the contents which is just 0s and 1s should be interpreted.

Re: Reaching the Unix philosophy's logical extreme with WebAssembly

#14
post #13
post #12

The UNIX philosophy’s logical extreme is the NAND gate. Does one thing, does it well, and can be composed into arbitrary applications.

Only if the NAND gate is expressed as a file

Okay… please… someone implement ‘nand’ and write a script that does something simple using only it.

Re: Reaching the Unix philosophy's logical extreme with WebAssembly

#17
post #10
post #4

Wasn't there some kind of components proposal that would let modules written in different languages running in web assembly interop with each other? WASI is great but there was an opportunity to standardize on something much more powerful. Anyway I think the logical extreme of Unix philosophy started with Unix, moved on to Plan 9, and continued to improve from there. It's just that those further advancements are less…

Wasi co-chair and Wasmtime maintainer here: we agree! Wasi Preview 1, which this article is about, was a first attempt at porting some of these Unix ideas to Wasm. We found pretty quickly that unix isn't the right abstraction for Wasm. Not only is it not really portable to platforms like Windows without reinventing a compatibility layer like cygwin, it also doesn't really make sense in a Web embedding, where users en…

The network really is the computer, this time!

Re: Reaching the Unix philosophy's logical extreme with WebAssembly

#18

Everything is not a file. There are files and file-contents. The content of a file is not a file. The magic trick happens with #SheBang because that tells you who should interpret and execute the file-contents. That is "magic" because in a sense you must read (part of the content) to know how the contents which is just 0s and 1s should be interpreted.

[deleted]

Re: Reaching the Unix philosophy's logical extreme with WebAssembly

#19
post #10
post #4

Wasn't there some kind of components proposal that would let modules written in different languages running in web assembly interop with each other? WASI is great but there was an opportunity to standardize on something much more powerful. Anyway I think the logical extreme of Unix philosophy started with Unix, moved on to Plan 9, and continued to improve from there. It's just that those further advancements are less…

Wasi co-chair and Wasmtime maintainer here: we agree! Wasi Preview 1, which this article is about, was a first attempt at porting some of these Unix ideas to Wasm. We found pretty quickly that unix isn't the right abstraction for Wasm. Not only is it not really portable to platforms like Windows without reinventing a compatibility layer like cygwin, it also doesn't really make sense in a Web embedding, where users en…

Nothing like reinventing COM :)

Re: Reaching the Unix philosophy's logical extreme with WebAssembly

#20
post #10
post #4

Wasn't there some kind of components proposal that would let modules written in different languages running in web assembly interop with each other? WASI is great but there was an opportunity to standardize on something much more powerful. Anyway I think the logical extreme of Unix philosophy started with Unix, moved on to Plan 9, and continued to improve from there. It's just that those further advancements are less…

Wasi co-chair and Wasmtime maintainer here: we agree! Wasi Preview 1, which this article is about, was a first attempt at porting some of these Unix ideas to Wasm. We found pretty quickly that unix isn't the right abstraction for Wasm. Not only is it not really portable to platforms like Windows without reinventing a compatibility layer like cygwin, it also doesn't really make sense in a Web embedding, where users en…

Have you looked at capabilities, like E, Mont-E and its descendants?

https://en.wikipedia.org/wiki/Object-capability_model

https://monte.readthedocs.io/en/latest/taste.html#cooperatio...

https://en.wikipedia.org/wiki/E_(programming_language)

Post reply on HN