Lurker News

Comments (371) 58 threads

Earlier comments
Cu3PO423 replies#
Farid has been on an absolute roll recently. If you enjoyed this, I highly recommend his other blog posts.

While I'm not sure about the practical utility of this, I love it as a demonstration of what is possible.

ebourgess#
I just went through some of his blog posts and decided that it deserves a place in my RSS Feed
codethief#
> Farid has been on an absolute roll recently. If you enjoyed this, I highly recommend his other blog posts.

You made me have a look at his other blog posts and now I realize that plenty of his other posts were discussed here on HN in the past and I really enjoyed them!

cheema332 replies#
> Farid has been on an absolute roll recently.

There is a guy on CNN with the same name. And I initially was surprised that his blogs were making the rounds here. Turns out to be a completely different Farid Zakaria.
I was reminded of that scene from "Office Space", where the character Michael Bolten laments about having to share his name with a "no-talent ass clown".

8note#
i had the exact same thought in terms of "i didnt take him for somebody that care about nix"
zahlman#
Doesn't the CNN one spell it "Fareed"?
Primer813 replies#
The article is jarring for me - in my 10 years of experience in the software industry, I haven't ever come close to needing javascript for anything. Javascript has certainly not taken over the world - just web dev AFAIK.
TheRealPomax2 replies#
Ever used VS Code?
schaefer#
nope.
Primer812 replies#
I use it, but still never needed to write JS
ezfe5 replies#
Well VSCode is JS

Continue this thread — 5 replies

TheRealPomax#
It's literally a JS application running on top of a JS interpreter.
ligarota1 reply#
It's not JavaScript it's WebAssembly
Primer81#
havent needed to write web assembly either
liamnorm1 reply#
How have you never needed to use the web?
Primer81#
I have not encountered a situation where I needed to write JS.
Kuyawa4 replies#
There will come a language for all platforms better than rust, designed by AI. And it will come with a browser, and it will take the world by storm. One language to rule them all, one browser to bind them...

If it can be optimized, AI will do it, and when there is no more optimization to do, then it will settle as de facto, for everything, and forever. And that time is not too far in the horizon, a couple of years at most
* Prediction before 2030

zelphirkalt#
We might need to burn half the planet for that though. Think of all the ecosystem, that goes with a language. All the special purpose libraries and tooling, that needs to be developed.

I am not convinced your prediction will come true.

__MatrixMan__#
The world is not homogenous enough for that, the right tool for this job is rarely the right tool for that job. The jobs also change too quickly. The right tool for tomorrow's job is not the same as the right tool for today's job.
ligarota#
Wasm will be all plateform
Kuyawa1 reply#
Prompt: "Please create a syntactically beautiful programming language optimized for LLMs use and efficient token consumption. That language will be used in all OS platforms, desktop, mobile and the web. We will need a universal UI schema and native libs plus a client app container that uses our language as script on the server and client and an app:// protocol to run such apps (apps:// for secure connection). Lets start a brainstorming session to define the scope, architecture, specs, roadmap, write down all .md files in docs folder. Ask any questions you may have before coding..."

This is gonna be fun...

notpachet#
out pops emacs
momojo4 replies#
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

forcedtolinux#
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

rvz2 replies#
There is no use case and it is only "because of reasons".

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

yorwba1 reply#
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.
rvz#
> Not everything has to be about security.

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.

hobofan#
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.
hofiflo2 replies#
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
pavo-etc#
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.
dom962 replies#
> 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)

hobofan1 reply#
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

momojo3 replies#
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.

Continue this thread — 3 replies

momojo#
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.

Load more comments