I asked on the original unkernel thread[0] but I'll ask again:
What do people foresee this being used for? `trynix` is only 1 fork downstream. What's 2 forks away? 3? This interests me the way V8 isolates or pyodide originally but I've since learned to curb my enthusiasm bc it always turns out "oh its not actually realistic to use this in production because..." [0] https://news.ycombinator.com/item?id=50533945#50598791
For me, personally, it is super useful when I am using a company pc or someone's pc with windows, and I would like to do some linux magic to process files or do some shell magic.
Maybe you can do it with windows, but opening a browser tab and being able to be in an almost limitless ephemeral environment is amazing. I asked as a top comment too... if you can download files from the filesystem, then it'd be great
Not everything has to be about security. Convenience is also pretty desirable. The ease and speed of trying out programs with trynix.dev has instantly catapulted it to the top of my list of things to show people who're curious about Linux but not ready to muck about installing a bunch of stuff to satisfy that curiosity.
As long as it is in a web browser with the existence of web apps, it absolutely does. I don't think anyone other than techies here cares about Linux or any other distro. It is more convenient to end users to use macOS or Windows than to bother with trying or installing Linux at all. They do not care whatsoever, and the only thing they care about with computers is that they don't get their passwords, data or internet banking accounts hacked when they use their browser.
What is this FUD? The papers you cited have next to nothing do with sandboxing. They are mainly about guest WASM security (e.g. "how vulnerable is an already vulnerable C program against things like arbitrary memory reads in the guest program"), and have nothing to do with sandbox escape. There are also plenty WASM runtimes that exist outside of browser engines with proper safeguards.
We can argue whether university course assignments are dead because of AI or not, but nevertheless…
For some courses I was assisting, we always had the issue that some of the assignments required Linux and it took at least a week or two each semester to get each student access to a proper Linux environment with root access (the university’s machines only give students non-root access). Something like this allows us to tell students to just use this website instead of handholding all the Windows and macOS users on how to set up Linux VMs or ssh into a VPS or similar
Having dove into NixOS, I have realised all my university courses could have distributed NixOS image VM and had perfectly reproduced env on everyone's machine.
> oh its not actually realistic to use this in production because...
Interesting you give both V8 isolates and Pyodide as examples. At Cloudflare both are used in production for JS Workers and Python Workers. (I work at Cloudflare on them both)
I'm also confused. V8 + Pyodide are perfectly practical, and we built a Python worker MCP on top of it that's used without much pain across many of our customers[0].
I know that the Pydantic folks also built a similar MCP in the past[1] but abandoned it for "latency" and security/isolation concerns. All those are pretty easy to remedy with a pool of pre-initialized workers and subprocess isolation. Overall, it's one of the easiest ways to ship an easily on-premise-deployable solution like that. [0]: https://github.com/EratoLab/code-interpreter-mcp [1]: https://github.com/pydantic/mcp-run-python
Oh this is neat. Security wise, are these trusted customers? Whats the worse case here? A machine needs to be rebooted? Maybe when I was looking into isolates before (briefly mind you) my security stance was too strict.
Thanks for the response! I didn't know that actually. By "people" i meant Claude and my boss who specifically said it wasn't feasible for us to spin up our own agents on Cloudflare. Admittedly we work with large microscopy data so I think their advice was more against trying to do heavy workloads in pyodide/v8.
Comments (379) 59 threads
Show all comments
Showing thread 8 of 59
What do people foresee this being used for? `trynix` is only 1 fork downstream. What's 2 forks away? 3?
This interests me the way V8 isolates or pyodide originally but I've since learned to curb my enthusiasm bc it always turns out "oh its not actually realistic to use this in production because..."
[0] https://news.ycombinator.com/item?id=50533945#50598791
Maybe you can do it with windows, but opening a browser tab and being able to be in an almost limitless ephemeral environment is amazing.
I asked as a top comment too... if you can download files from the filesystem, then it'd be great
In fact, as another commenter correctly said in a thread to me recently, WebAssembly is not the solution to "sandboxing" for various reasons, [0] [1] [2] especially when you are still dealing with browser engines that are written in C (QuickJS) and C++ (V8, Gecko) which are regularly targeted for memory corruption vulnerabilities with a kernel written in C (Linux) even when it is compiled to WASM.
They still bring over the very same C style vulnerabilities with them.
[0] https://soft.vub.ac.be/Publications/2022/vub-tr-soft-22-02.p...
[1] https://files.usenix.org/s3fs-public/cdn/sec20-lehmann.pdf
[2] https://bugzilla.mozilla.org/show_bug.cgi?id=2013741
As long as it is in a web browser with the existence of web apps, it absolutely does.
I don't think anyone other than techies here cares about Linux or any other distro. It is more convenient to end users to use macOS or Windows than to bother with trying or installing Linux at all.
They do not care whatsoever, and the only thing they care about with computers is that they don't get their passwords, data or internet banking accounts hacked when they use their browser.
disclaimer: Am maintainer, https://github.com/smol-machines/smolvm
Interesting you give both V8 isolates and Pyodide as examples. At Cloudflare both are used in production for JS Workers and Python Workers.
(I work at Cloudflare on them both)
I know that the Pydantic folks also built a similar MCP in the past[1] but abandoned it for "latency" and security/isolation concerns. All those are pretty easy to remedy with a pool of pre-initialized workers and subprocess isolation. Overall, it's one of the easiest ways to ship an easily on-premise-deployable solution like that.
[0]: https://github.com/EratoLab/code-interpreter-mcp
[1]: https://github.com/pydantic/mcp-run-python
Continue this thread — 3 replies