Live data from Hacker News

Reaching the Unix philosophy's logical extreme with WebAssembly

xeiaso.net

111–120 of 142 posts

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

#111

The new OS I am creating https://www.exaequos.com is WebAssembly in a POSIX environment. So it is running in every web browser

fun project! always love to see more unix cli in the browser.

It is super nice with the local first approach, and I wonder what it would take to be able to `mount https://example.org` from `test.com`, if both websites are running the "wasm web OS" your linked to.

Cheers!

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

#112
post #75

I thought the Unix philosophy was do one thing well: https://wikipedia.org/wiki/Unix_philosophy#Do_One_Thing_and_... how is running anything through a giant virtual machine (web browser) anywhere close to that? the browser is the monolith people. using a web browser to deliver an application is, always has been, and always will be the slowest, and most bloated way to do that. the benefit of course is, that the result…

see my comment in this thread about https://github.com/internet4000/find (for a summary); (web-)apps can be encapsultated, from the URI you access them, and the code that is served by the loaded page. It could also run client side only, local first (web apps manifest, service workers, sqlite/postgres wasm etc.)

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

#113
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…

Very glad to see this. It's a much better solution that The Unix Philosophy (TM) of sending around unstructured bytes.

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

#114

In this paradigm, the browser's URL Omnibox can also be used as CLI/repel/input. So each "URL or search" to a browser, can open an app that accepts commands and inputs, and allows outputs, through the interfaces, or back to URLSearchParams (which could then be piped again). Maybe related (diclaimer: working on it), https://github.com/internet4000/find ; can be used with "local first web apps", and all the web "apps"…

When I search on https://internet4000.github.io/find the history disappears (Edge, Firefox). I don't know how did you do that, I can't imagine why on the Earth would you do that, but I suggest to remove that code. Even trying out the search is a total PITA, you can only search once, then you can't go back and try out a different search term

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

#115
post #13

Earlier quoted context omitted.

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.

https://nand2tetris.org

and my implementation of the projects: https://github.com/porridgewithraisins/nand2tetris

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

#116

The new OS I am creating https://www.exaequos.com is WebAssembly in a POSIX environment. So it is running in every web browser

Oof. My Firefox browser on Ubuntu crashed and all my open VSCodium's went along with it. Happened when loading for a second time. First time worked.

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

#117
post #43

The talk was amusing but much less interesting than it could be. Yes, we have adapters and shims and they make interfacing easier, sometimes. I guess after all these years of waiting for WebAssembly to actually be useful (as in: I can write apps as easily as I can on desktop, with similar performance, but with the safety guarantees of a web sandbox), I finally realized what I wanted: web pages that are backed by virt…

I think that this was what Alan Kay was saying when he said that web pages should be objects (where he had previously said that objects are virtual machines all the way down)

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

#118
> As a little hint for anyone here, when someone openly introduces themselves as a philosopher, you should know you're in for some fun

I have found quite the opposite to be true in the real world, but Xe gets a special exemption for being a consistently high-quality writer and thinker.

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

#119
post #116

The new OS I am creating https://www.exaequos.com is WebAssembly in a POSIX environment. So it is running in every web browser

Oof. My Firefox browser on Ubuntu crashed and all my open VSCodium's went along with it. Happened when loading for a second time. First time worked.

What's the connection between your Firefox and VSCodium? Or did your system run out of virtual memory and start killing things at random?

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

#120

Earlier quoted context omitted.

You were reading HN during a work call ! Call HR !

I'm losing my job soon due to their return to office bullshit. And I was hired as a remote employee. HR can kiss my fuzzy butt lmao

I am sorry to hear that. Please accept my apologies for a quick and easy sarcastic comment that cut too close.

Good luck with the future job hunt.

Post reply on HN