929 points · by setheron · 16h ago · 351 comments
But I got just a little bit more working such that I was able to upstream a few PRs their way. Now I don’t have to maintain an unwieldy codebase alone while being able to still enjoy actually using the functionality and wrapping it for other consumers (Dart, Flutter).
An independent implementation is sometimes very valuable for the next reader’s study and for the health of the wider ecosystem. Keep at it or at least share where you stopped—-don’t hoard until you have something perfect.
Regardless, I appreciate your work, thank you for sharing! (I'm especially interested in Vulkan on WebGPU)
So much of modern software development is now product sense. You might find encouragement that others have validated that what you’re building is useful!
You don’t know where unikernel will (or won’t) go in the future. You can be the standard still.
I think that software compatibility with these kinds of solutions will always be worse than emulating an entire machine, even if performance has some opportunities to be better (and for some software, it'll be _much_ better to compile directly to wasm). For one, wasm is still a bit of a niche target for many compilers; working on waarm64 alone, Claude found a wasm miscompile in Rust that turned out to be a LLVM problem (which I already reported and has already been fixed upstream). Then there's all the closed source software: it's probably a far fetched example in terms of use cases, but good luck getting e.g. Valve/Steam to care about wasm when they've only started caring about aarch64 recently - meanwhile, Steam already works, with some patience, in my emulator.
"Let's hurry up and value the progress of technology before it values us back."
Did you write this? What does it mean? It sounds like you close by suggesting the window of having this personal capability is closing but I'm not sure why "value us back" is the caution. Just wondering what this is meant to mean and how is that connected with the capability being gone?
Your project is extremely cool just thought given I read it (perhaps this part is also LLM authored) and was curious about this part I would ask you to clarify.
In general Opus and Fable are terrible at writing English, even for UI elements, compared to their software development abilities, and this is even after setting rules for what the copy should be like. I've been slowly going through all of the user-visible text in the project to make it read better, but it's funny that my own writing has defects too. It's definitely not great to have to read Opus writing every day.
Also, do remember the XKCD comic of 10000 per day (https://xkcd.com/1053/). There are going to be many who will have learned of such a concept for the first time, and won't care who made it happen first.
There is enough of a differentiator in what you are making.
I realized this in 2023. I had in mind a project which would take 5-10 years to do by hand, and realized — much like in scifi, where it's better to wait a decade for a better spaceship to be invented, because it's so much faster that it actually ends up arriving at the destination before the first one — I realized that by the time I finished, AI would be able to do the whole thing in under 24 hours.
...And then I learned absolutely nothing, and spent several years working on a different project, which AI can now also replicate in about 15 minutes ;)
Have started your repo!
I’m curious if this could replace the need for sandbox environments used by agents.
I think file caching would need to be figured out so you can easily mount a drive / folders.
My own efforts have done better after someone creates a knockoff. Competing products help educate the market place, greatly reducing your burden. It enables users (potential customers) to compare and contrast. A product with no viable alternative is almost illegible to prospective users.
It's really great when you can choose your users. Maintaining and supporting a product that directly fulfills user requirements and use cases is a joy. Versus trying to be All The Things for every random use case and drive-by kibbitzer. Maybe your waarm64 becomes the preferred choice for the discerning customer, who knows what they want.
So if you still have the drive, I'd encourage you to see unkernel as friendly competition, use it as a motivator.
Happy hunting.
I've always struggled with leaving hands-on work behind but what made it at first tolerable, and then a blessing, was the rise of Javascript. I think Javascript is so awful, and until recently so prevalent in the roles available to me, that it made me want to not be a Software Engineer anymore. I felt that Javascript was some sort of joke that stayed around long enough until it became a cancer to Software Engineering.
I only stayed in the profession, eventually as a manager, because I like dealing with people and still found "human problems" intellectually challenging and rewarding.
Every day you read many comments here from people who believe that AI took the fun away from their work and lives. It destroyed the reason that made them want to be Software Engineers. That's exactly how I felt about Javascript.
But I feel the complete opposite about AI. In fact, AI brought back the fun that was stolen from my life by Javascript. I'm now retired and spend a good amount of my day working my own programming projects. And I'm absolutely happy to vibecode all the Javascript parts (which isn't a lot in my projects) so I don't ever have to see this damn thing in front of me again.
I think Js is.. okay? I can name some strengths and weaknesses,both of the language itself and the culture/ecosystem, but I certainly don't hate it.
The foundation is still abysmal, but it doesn’t hurt because you don’t have to look at it anymore or you can use modern facilities instead. Note the striking similarity to what LLMs give you, it’s the same thing on a higher level.
When learning something new, there's a transitionary era, where you just don't get it, but assume the experts do, and eventually you will as well.
That is unless you're talking about something like quantum mechanics, where not getting it is the sign that you're not smart enough.
And I didn't get it, and I constantly assumed I was two tutorials away from eureka. But no. I suspected that maybe the people dispensing wisdom and confidently decrying how their stuff is better might have been wrong, I thought it was just hubris and hunkered down, and eventually gave up, assuming I can't keep up with the state of the art anymore.
The turning point came when I encountered a bundler bug in a fairly reputable library, and delved into its source - I expected to find some reasonable compiler stuff in there - tokenizing, parsing etc. etc. but what I found was a bunch of regexes and string replacements.
At that point I had evidence that to at least some degree, the patients were running the madhouse, and while VB6 might be deeply unsexy, I highly doubt it's compiler ever featured gems like this (PHPs might have)
Getting people not to use global shared state is a struggle in any language, it’s just that it’s the primary one in JavaScript. But it’s not really global so it at least stops certain designs from making it off the whiteboard.
When I got out of school I was really good at concurrency. Probably a side effect of taking a distributed computing class.
But over and over again people broke my code, and over time I started making more and more grug brained systems and even declining PRs from engineers that tried to do things that I used to think were fine. If you have code only three engineers understand properly it needs to be locked away behind an API where others are discouraged from touching and don’t need to step through for every bug they work on. The latter is particularly tricky to pull off. The alternative is use a less sophisticated solution.
That framework churn, leftpad, etc. stuff I think is something the JS community will gladly memoryhole. Thankfully, I was rightly repelled by that mess, and fled back to backend, and returned only when things calmed down.
Btw, the pre-SPA era of jQuery is an interesting paradigm, while writing modern TS feels like writing basically any other language.
Part of it comes from the fact that it feels like people who are less serious about software end up dictating the languages/libraries that everyone else has to put up with simply because they're the majority, not because the language is technically superior. Worse is better, and all that.
Again: feels like. There are plenty of serious people doing work in JS, and plenty of non-serious people in other languages.
The C/C++ world where browsers came from didn't have this (closures). So it is actually a miracle we got a language as (relatively) great as Javascript.
I think it was the right call by the C++ people to explicitly list what objects are captured and how, even if the syntax's not the best.
RAII is a fact of life unfortunately, not just in C++ or Rust, but if you talk over some high level protocol over the internet you go TCP socket->HTTP connection->your stream protocol; and have to do the exact reverse.
Closures break RAII hard.
Incidentally, you don't even need closures for nice looking UI code. Immediate mode GUIs like Dear Imgui or Clay allow for super-simple looking code in basic C
A feature existed since 1960s...
I think Ruby is the one I never loved, and I actually don't enjoy writing it. I don't hate it, though.
Once you understand the prototype chain, some quirks, and get a grasp on the standard library/primitives, I think JS is actually quite capable and powerful. With TypeScript layered on top, I love using it. It's one of my favourite tools, up there with Rust, C#, and Go.
I even like JS more than Python, come to think of it. But I like Python a lot more than Ruby.
I think after a while, you realize that atrocities will be committed in every possible programming language and to prevent those you need culture over syntax.
But honestly, the thing that I like most about JavaScript is the ease to ship. I'd rather have more people use the thing I wrote than trying to convince people to install what I wrote.
What I don’t have to do often in JavaScript code reviews is lecture someone on concurrency bugs. But there are I am sure other things that I find equally annoying.
But I moved from a job with a JavaScript frontend and a Java backend to a job with only a JavaScript frontend (opaque service API because reasons and asshole) to a JavaScript backend system where I rarely touched the frontend and the lesson I learned the hard way is that I can do JavaScript about 30 hours a week and beyond that I get really fucking tired of dealing with JavaScript with no breaks to touch something else.
So I volunteered to work on shell scripts, our Docker and Terraform work (terraform was awful but I think our OPs team did something with abstraction layers to make it that awful, so I am not making a blanket statement about terraform at this time) as often as they came up.
The web would be such a nicer place if browsers were built to respect the user's preferences about which content they trust separately from which software they trust.
I'm aware that with some care you can build a wide variety of things with JS. You don't have to import the insane trust model that's part of its origin story. But I can't shake the feeling that the whole space is a slippery slope towards accidentally making bad assumptions that lead to your user being mistreated by a third party.
It’s slow, it’s hard to read and write, it often produces buggy code because of the infinite edge cases in the type system, and it’s footgunny to the max. At least it’s memory safe. If C++ was memory safe, I’d legitimately say it’s a more sane and less footgunny language. Which is really saying something, because C++ sucks ass.
Sometimes I program in JS enough that I almost start to gaslight myself into thinking it’s sane. But then I program in C#, Java, go, even PHP and I remember… no wait, JS is actually insane. How do we even write reliable software in JS? The answer is we don’t, all the software is buggy as hell but it’s fine because it’s memory safe.
Personally, ever since ES5 I really started to enjoy writing javascript, and by now practically all the warts feel quite easy to avoid. I can't say if that's personal mastery or language improvements, probably bit of both.
I still hate the ecosystem though, and always disliked it more than I ever disliked the insane var scoping rules or whatever from twenty years ago.
It's been fun, recently, to discover that agents can deal with all the javascript for me, so I can whip up little visualizers, explorers, interactive reports, etc, to share with my coworkers. Much more fun than plain text and graphs.
I wrote software in js and then moved to ts and sometimes have to go back to js. It’s fine to me.
Ignorance is bliss I guess.
People work around this generally by just running lots and lots of processes, but multi-processing as the only solution to parallelism feels like stepping back into the dark ages.
Eventually with a lot of lipstick on the pig, like async / await, it has become much more tolerable.
(ok, ok, I really just wanted an excuse to post James Mickens)
I mean, you can hate a language compared to another language, but to the point of making you hate programming? To me, if you do, you probably don't really like programming in the first place. Especially considering that Javascript is a conventional language with variables, conditions, loops, functions, etc... the kind that should be mostly transparent to an experienced programmer.
It would be like a woodworker saying that pine made him hate woodworking, sure, you may prefer to work with oak, but pine is still wood.
This is exactly the opposite of the truth.
Programmers don't program because they like variables, conditions, loops and functions. In fact some of the best languages ever created don't have most of those things. Apparently your experience of programming doesn't extend very far given your idea of programming seems to go only as far as those basic concrete concepts.
There is such thing as neatness, elegance and beauty, especially in programming and mathematics. As in other fields it's the people with the least taste and appreciation of that who are the haters, like yourself, because they don't understand the issue at hand.
Your analogy with woodworking is deeply flawed as well. Woodworkers do actually strongly prefer certain types of wood.
> It would be like a woodworker saying that pine made him hate woodworking, sure, you may prefer to work with oak, but pine is still wood.
It would be like woodworker getting dull tools to work and wood being rotten
- James Mickens
this is why people dislike javascript.
Read up on the terminology of "reverse centaurs". Centaurs ("a human head on a machine body") are people who are augmented by technology to achieve their goals more easily (e.g. you). Reverse centaurs ("a machine head on a human body") are subjugated by technology and turned into cogs in a machine that achieves someone else's goal. Someone's perspective on AI highly depends on whether they are a centaur or reverse centaur.
I, too, was a manager, and that trained me to rely on "black box" code, written by others, and how to evaluate and control its Quality and feature set. Running an LLM is pretty much an extension of that. I didn't like being a manager, but that was mostly because of corporate garbage, not because the work was bad (I was just not allowed to do as much as I wanted to).
I love coding, but I like design, architecture, and delivery, even more, and LLMs allow me to exercise these. Now that I'm retired, I no longer have to deal with high-Dilbert-Index work environments, and that makes all the difference.
LLMs have given me extra time back, which I am using to study graphic design.
If I'm writing for a business or someone else, I try to be much more careful about building robust software.
That's some serious dislike of JavaScript! I'm not a big fan of the language and definitely find typescript projects less enjoyable than others, but I'm surprised you found it such a big impact!
What languages were you working with before? I'm interested if it was a relatively generic OOP languages like Python/Java/etc, or something very opinionated/specific like Haskell/Lisp/etc?
I didn't want to write a large essay because it would be boring. Every language has annoyances, but the thing with javascript is that it's a terrible server programming language (Node) and makes the already unpleasant UI client work even less pleasant.
A lot of my dissatisfaction was due to the environment of the web and full stack development work where Javascript became prevalent. Typescript fixed it somewhat while inheriting much of the "Framework of the week" mania from the javascript era.
In a nutshell the age of Javascript was when Software Engineering lost what I like to call "durable learning". Javascript always felt like a temporary hack and the surrounding ecosystem, ephemeral.
What I was always bemused by, was the rise of Javascript (Typescript, really) as an enterprise language.
I really like Scala, Java is Ok, Python is nice.
Now that LLMs do most of my coding I don't really care anymore about languages, although when possible a compact type safe multi-platform language is still preferred, hence Typescript winning.
This sounds great. I think there's an anxiety that's hard to express in my role as a 29 year old Engineering Manager still early in my career.
I also have started building again, I've seen the quality of our codebase and delivery increase massively over the past year. But it seems every day there are more demands to "let go".
At first I thought we'd pair program with AI. Had to let go of that, have it code for me. Recently we've had so many PRs stack up we've had to loosen review requirements to 1 reviewer. Yesterday Claude announced Ship, and I gaurantee my bosses are going to push for no reviews on lots of PRs soon.
Thing is, I'm fine with this in theory. Even with reduced reviewing the code making it in is better than before. But, this has happened in less than 1 year. What in the actual hell will software dev be like in 20 years? Even then I'd still be 50. Unless I really save my ass off, I'm not retiring at that time.
In this way, I yearn for the career track so many had over the last 20-30 years. I miss the time when I thought my programming skills were a true differentiator in the market.
I dislike every single one of them. I like tons of features of, for example, Go, but hate with passion its err handling. Same can be said about every single language I have used. Nothing particularly different about JS
But I can understand you, because I hate Python; I believe Python should be a dead language by 2026 but Google and Data Scientist brought to back to life for math and AI research. I still let AI agents write small Python scripts when they need to; sometimes I tell them to re-write in other languages; sometimes I leave it there and I continue with my life.
Actually Python has a similar problem in that there’s a cottage industry of solutions to make it behave more like a fundamentally different language (dataclasses, attrs, mypy, pydantic, fastapi, etc.) because it turns out what people like about python was its simple and expressive syntax rather than its fundamental design.
This is the hot take we need.
He really enjoyed doing it, I enjoyed building on top of what he did, and it's one of the most elegant implementions of Forth I've seen, as if for decades the PDP-7 has always had a fast lean mean Forth screaming to get out, thanks to its ideal instruction set.
Now thanks to JavaScript's efficient VMs inspired by Self, and Dave Ungar's subsequent ideas about Korz, it runs ridiculously fast on a Korz PDP-7 emulator implemented in TypeScript with a PDP-7 instruction to JavaScript JIT. So does the Korz Apple ][ emulator. Now I'm working on reincarnating my Apple ][ ProDOS 6502 Forth 83 system.
https://github.com/SimHacker/moollm/tree/main/designs/korz
Forth Day Talks: Mitch Bradley, PDP-7 Forth, Don Hopkins, PDP-7 and Apple ][ Emulator
https://www.youtube.com/watch?v=k2pwJ294r8o
https://en.wikipedia.org/wiki/Open_Firmware
https://en.wikipedia.org/wiki/OpenBIOS
https://github.com/mitchbradley
Forth Day notes:
https://github.com/SimHacker/WillWrightShowForFood/blob/main...
Forth Ultimate Hand demo:
https://hyperties.org/cabinet/devices/ultimate-hand/
"Thinking Forth" discussion:
https://news.ycombinator.com/item?id=33681531
>I've frequently written about Mitch Bradley's Forthmacs / Sun Forth / CForth / OpenBoot / OpenFirmware on HN. I was his summer intern at Sun in 1987, and used his Forth systems in many projects! [...]
"EFI? Intel has been trying to shove that down our throats for years." discussion:
https://news.ycombinator.com/item?id=12240478
Mitch Bradley originally developed a Forth system at Sun for use diagnosing and developing hardware, by burning it into ROM and running it via a serial port. It was based on Langston and Perry's Forth-83, and had a meta compiler that could target different word sizes and architectures. He made it even more architecture and word size independent, implemented interactive top level loops and conditionals, emacs-like line editing, all kinds of low level device drivers and testers that ran in stand-alone mode, and many other features, including full 16 and 32 bit support with a vocabulary for writing word size and endian independent code.
He ported Sun Forth to 68K and SPARC Sun workstations, as well as the Amiga and other systems. It ran in both stand-alone mode (from disk, tftp or ROM), or under Unix. Under Unix, it could dynamically relocate and link in Unix libraries, and you could call back and forth between Forth and C.
Sun Forth eventually evolved and standardized into the Open Firmware [1], whose purpose was to support machine independent byte code [2], so plug-in hardware cards could include ROMs with Forth byte code drivers that ran on 68K, SPARC, x86 and other systems.
Sun shipped it with the SPARC workstations, Apple adopted it and shipped it on their PowerPC Macs, IBM shipped with their POWER servers, and Mitch worked directly with the OLPC project extending OpenFirmware to support the OLPC XO-1 Children's Computer secure and power efficient hardware. [3]
>OLPC Wiki: Open Firmware
>Open Firmware is the hardware-independent firmware (computer software which loads the operating system) that the XO runs.
>It was developed by Mitch Bradley at Sun Microsystems, and used in post-NuBus PowerPC-based Apple Macintosh computers (though it has been dropped with Apple's transition to Intel processors), Sun Microsystems SPARC based workstations and servers, IBM POWER systems, and PegasosPPC systems, among others. On those computers, Open Firmware fulfills the same tasks as BIOS does on PC computers.
>For example Fedora and Debian use the YaBoot BootLoader for Open Firmware.
>The Open Firmware user interface includes a FORTH-based shell interface. FORTH is a powerful high level language that is remarkably compact. A complete Forth development environment including compiler, decompiler, assembler, disassembler, source level debugger, and assembly language debugger is present in the XO boot ROM (SPI FLASH). With the Open Firmware Forth system, you can directly access all of the hardware devices on the XO, use built-in functions like selftest diagnostics and games, and even write complete applications, without needing any external tools. The bulk of Open Firmware is written in Forth, so the source level debugger can be used to debug Open Firmware itself.
[1] http://www.openfirmware.info
Unfortunately now due to a twist of fate and poor life choices, almost all the work I’m doing today is JS-based. I don’t even have the luxury of TypeScript half the time.
But you know what? With AI handling all that stuff, I don’t mind it anymore. It could even be described as… enjoyable??
Another question I have is how you feel moving into lead roles already after 5 years of experience. That's a relatively short time. Any insights you could share?
I don't see the human aspect thing holding up in the industry. The manager's manager got some request through a LLM and passed it down, your manager passed LLM generated questions to a different department, who responded with an LLM answer which resulted in the developer having a LLM written ticket on their board which they will solve with an LLM. Along the way they, or well, their LLM, find out they'll need some data from a different team that they haven't planned for. They don't know what that data is, or why they really need it, but their LLM does, so the LLM asks the LLM of the other team.
You could argue this is good, efficient, cool, or whatever, and I will probably disagree, but I just cannot see how there is any form of a human aspect in the whole thing
Javascript is ugly, but simple and got the job done. That's the reason for its success.
AI destroys the work of those who like to write the code. And it makes it fun for people who don't like to code, because they don't have to. And you're in the second group. Lucky you, I guess.
I completely agree: there are a a few libraries that I have to work with that are insultingly badly designed, almost like the designers were trying to spite the users. But I have to use them, so vibecoding is great. There are other languages where programming is still fun.
Some replies are assuming I coded for a couple of years and then became a people manager. In fact I only became a pure people manager in the last third of my career, when Javascript became hard to avoid.
Before then, I jumped around tech lead roles with different degrees of management responsibilities but mostly hands on, sometimes being the person with most code contributions on the team.
I love some areas of coding like backend, firmware and systems development. I had a diverse career.
This is an anonymous profile so I will stop... :)
AI is great for those who always wanted to be managers. They can achieve their dream right out of college now, no need to grind for years to reach a managerial position.
I can get furniture by either buying it from someone else, buying a kit from Ikea, or devoting a few decades to learning how to build it myself. None of those choices prevent anyone from choosing differently.
Now imagine if you are say 15-20 years from retirement and this will most probably kill your income for good in next few years. Different perspective a bit.
I'm more of a product guy so I tend to view DevOps as absolutely critical, and an area where a correct solution is of supreme importance, but also as something of a distraction from doing something that I find more fun and interesting.
(Before anyone gets upset, I'm not making a general statement about whether or not DevOps is objectively interesting, I'm just saying that I don't enjoy it. I know loads of people do find DevOps satisfying, which is absolutely great and to the benefit of all of us.)
But Claude has allowed me to set up this ludicrously overengineered pipeline - the sort of thing you see in a large enterprises with complex microservice architectures - that has completely automated every aspect of build, deployment, configuration, testing (including ordinarily pesky end to end tests), security and application hardening, monitoring, alerting, and so on. I've hit the ideal of "when the pipeline is green, the software is ready for release"... all for a personal website that gets maybe half a dozen real human visitors per day.
It's sort of ridiculous but, at the same time, with the increased frequency of new critical CVEs over the past few weeks and months, it also feels necessary.
But the great thing is that, in relative terms, I don't have to spend loads of time on it and can instead focus on other aspects of the site that are more interesting to me.
I was thinking about this, but in a more general sense. All those libraries, languages, their pitfalls and quirks made me not want to code at all, or at least automate coding to a degree where I don't have to suffer through someone's open source project. And in a way I got my wish.
You won’t be here to live with the consequences of your actions, which has been a theme for humanity. The western world is profoundly selfish (I’m not saying the eastern isn’t, but I won’t pretend to know that as well) and individualistic. It’s “me me me, my needs, what I want and like, fuck everyone else. When shit hits the fan, society and the government should rally to do something to help me. Someone makes a comment critical of me or my group? They should be downvoted, fired, removed from the gene pool”.
All of that lead to the situation we’re in. Everyone wants to get ahead of everyone else with complete disregard for others, and thus we all lose. Unfortunately the consequences come so late that the ones paying for them aren’t the culprits.
Everyone who is gaga over LLMs for coding and ignores all the external problems is by this point at best wilfully ignorant (I’m not saying that’s you, but those people exist). In the large scheme of things, having optional fun from using LLMs is far at the bottom of things which matter to the AI discussion.
This is like hammering on grandma for the carbon emissions of posting you a Christmas card instead of texting you, while Canada is trading 700,000 acres of farmland a year for low density suburbs, highways, bigbox stores and parking lots.
( https://www.farmrealestate.com/blog/posts/2026/08/26/canada-... )
Most people’s individual actions aren’t a problem, I agree. But we also have to understand that when everyone thinks like that, the aggregate make a difference.
To your example: one Canadian not caring about lost farmland doesn’t make a difference, but when most don’t we get the current situation. To change the status quo we need enough people to care, and the way to get to more people is one at a time.
I don't think that the external problems we see are intrinsic of AI. Firstly, we live in a bubble world where any new promising technology would get insane amounts of investments anyway. I think the issue with the data center build out isn't as much that we are building too many of them, but that we're building them so quickly that we're overlooking environmental and human concerns.
Secondly, the jury is out there on whether AI is a net positive or negative to humanity as a technology, aside from the other concerns. It wouldn't be intellectually honest to state either with certainty.
It has been a net positive for me but I'd be okay if society decides, with proper evidence and debate, that we can't have it.
(as long as we bury Javascript with it :) )
Sure. But that doesn’t really say much or advance the discussion. The external problems of, say, fossil fuels or plastic aren’t intrinsic to them either, they’re all consequences of our relationship to them, harming the planet and in turn ourselves. Like AI, without the massive industry behind them they wouldn’t be issues worth discussing.
> whether AI is a net positive or negative to humanity as a technology, aside from the other concerns.
It’s unclear to me why you added “as a technology” as a qualifier. As opposed to what?
I’d argue “aside from other concerns” is not something we have the luxury of doing. To determine if AI is a net positive or negative to humanity, no concerns can be set aside. Some will have more weight than others, sure, but they all should be considered.
I’d also argue we don’t have the luxury of just waiting and seeing. There are many big negatives which are already happening, while the positives are at best of dubious utility. Maybe AI will end up being a net positive, but right now I’d argue it’s being a net negative. Either way it’s imperative we consider the negative parts: If we don’t, they can’t be overcome.
PPl with no skills ( no offense) are the biggest opponents of AI now. Awful ppl at work think they are now my equals ( or even superior) because they "love ai".
Extroverted folks will benefit I suspect.
Pray tell, what's the perfect programming language that you prefer that has no faults?
People think JavaScript is bad language simply because they never bother to learn how it works. As an example of why JS sucks people often give examples such as 'if you XOR a float and an array you get the string "false"' as if that operation even makes sense. JavaScript has had for years pretty much the same feature set as every other major equivalent language (like Python).
If the operation doesn't make sense in any case then the compiler should stop me, or (at very least) the interpreter should throw exceptions.
Glad you're getting pleasure from other people's misfortune, I guess?
I'd tell him, but that would be a lie. The owner is a jackass, but X is where bunches of tech happens first, including something called "AI".
> I don't go on X anymore because it's mostly bots now.
1. If you don't "go on X anymore", how do you know it's mostly bots? lol.
2. Why are you following bots?
3. https://blockedforaireply.com plus the new X native blocking tools for replies.
https://www.destroyallsoftware.com/talks/boundaries
It's 30 minutes, but just the first 10/15 minutes are so eye opening to me that I recommend them to everyone around me.
Perhaps for the typical audience of HN this is not impressive, as most will know about functional programming. But I did not study CS, I just went to coding from an engineering background, and I never needed FP in my life. But those minutes hooked me in so well into loving the approach in all sorts of languages, none (purely) functional.
I remember these pitches as early as 2008-10 from various Mozilla evangelists who were pitching that browser will be the OS and javascript will be the platform for all apps.
I kind of doubted it and I still do. Of course a lot of stuff is written in Js.. because web is based on Js. a lot of desktop apps are written in Js (+Electron) because people who are not good at native development (and also platform vendors are not helpful to provide consistent approach to GUI and desktop apps) decided that Js+Electron runtime is best way to write portable apps.
It works.. but I personally hate each and every desktop app written in Javascript due to the bloat factor measured by its size overhead and performance impact.
People write backend/server side applications in Javascript because of NodeJs.. and that's more legit to me, although just one of many fashionable ways to create a web server these days. nothing truly unique outside personal choice and recommendation on per project basis.
So web in the browser wins (although if somebody invented better way to create client side application without Javascript I'd bless him.. it's such a horrible language). Server side is ok-ish to consider if one likes it... and for true client side apps which belonged to desktop in the past... well actually rust, crystal, nim and all the renaissance of native development + gui libs and LLM that accelerates the development significantly... I'd assume electron apps should reverse.
Web adoption also may be kinda shaky as with all the crawling and surveillance around web+browsers.. I do really hope 2035 will bring alternatives there first... regardless of the programming language of choice.
What's there to doubt? It's reality for me for at least a decade now.
Every app I use for work runs in the browser. Writing, design, programming, email, messenger. I open a browser and things just work, irrespectively of the OS.
Neither does local training.
- I write in Scrivener, Zed and Helix Editor, also Word and Acrobat, also Typst to automatize various things to the right outcome
- I design in Photoshop and similar apps on desktop
- I do programming in terminal and just 'git this' and 'git that' plus `codex resume` a lot
- I do email in my own alternative to Outlook (which is Javascript bloat anyway). I wrote it to consume graph API and it connects to my own task management tool that uses SharePoint as a backend database for shared workflows. It's funky definition of server-less and I eliminated Confluence, Jira and many other things this way, plus own software means I could integrate it with LLMs the way I want, no question about it.. written in Python with Qt for GUI, and glad I did not need to touch JavaScript for that project)
- I don't do messenger things too much. I use iPhone Messages for texting sure. I use signal on iPhone too (which is an app) and the only "messenger" i occasionally use in a browser is Discord which comes with Javascript+Electron bloated app that was consuming my resources and I uninstalled it, and benefit from all the add and tracking blockers I can install in my browser to show them a surveillance middle finger as much as I can. I'm happy to drop Discord soon though.. it's such a waste of time often when you use it as Skype with just bunch of people you have access to elsewhere.
- I use browser for various SaaS apps at work, sure and I use it to rediscover small web and as one of the ways I access chat gpt instead of google so I get my answers, meaning content/information, not apps. It's also hard to avoid web browser in online banking, which I accept, mobile banking sucks more.
I'm one of those who love to come back to nicely tailored apps that are close to my metal and local. I'm not that much into cloud if I have my own NAS (personal use cases) with 48TB of storage over local LAN that is ultra fast. Also a lot of computing power and RAM so I can run my local VMs and dockers while tinkering. I have all I need and exposure to cloud for remote work through dedicated interfaces.
Still.. I'm rather custom-solution driven but I like things under control. Eventually I discovered it's not that expensive at all and fixed price instead of subscriptions or "I'm the product". I more and more close the shop to the uncontrolled web. I leech it, then I ditch it.
I'm not saying I'm mainstream, far from it.. I'm just so frustrated with the way Web develops that I gently show it a middle finger and give it a stinky fart as a bonus too.
web to me is backends.. APIs and all the security layer. I don't need web for frontend at all. it's crap with lots of memory over head just to handle the current economy of the web, not that it's technically mandatory.
I like things sleek. Call me nerdy :>
JavaScript is sleek. If you can't see it maybe you aren't nerdy enough.
- My IDE (not vscode) and text editor (not vscode)
- My terminal, file manager, compilers, linters, etc.
- My browser (that's a native app, you wouldn't believe it)
- Photo and graphics editors (darktable, inkscape, krita, etc.)
I'm sure you can find web-based alternatives for all of those that will be at least 80% vibecoded, and if you really need it, I'm sure you can find ones with a subscription model, too. I just don't think it makes sense.
Well, the market is dominated by the average person and average person doesn't care about the fundamentals of their user space applications being web-based or not. They understand browsers, file managers; but totally intertwine these applications' with their "normal" use cases.
The normal many software enthusiasts grew up with was accompanied by native solutions, which were the same language used by the OS itself to create these kind of applications.
Oh.. and I'm also sure you can find native-os app alternative for any web app. Quite often also with a cloud service attached to it, just fine.
While I'm not sure about the practical utility of this, I love it as a demonstration of what is possible.
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".
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!
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
This is gonna be fun...
I am not convinced your prediction will come true.
Also, how can the tab running unkernel pull in any external content at all if it’s not coming from the unkernel domain itself?
So yes, in other words, this is at least one “matrioschka puppet” level too many for me, together with my not-perfect understanding of how browser origin/sandboxing works…
> Thank you to @_pi0_ for adding trynix.dev to his Wisp relay allow-list.
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..."
disclaimer: Am maintainer, https://github.com/smol-machines/smolvm
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
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.
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
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.
Truly marvelous times we live in: I am by no means a system programmer or OS expert, but thanks to various coding agents and models I was able to add networking and overlay FS, a frambeuffer and sound.
I wonder what the right approach is though. If the base system is run through an emulator, a lot of things can become unbearably slow for a lot of use cases, but at least as far as my limited understanding goes, a lot more could be achieved if there was more progress on the WASM/WASI standard side. Or maybe syscall emulation is a better way to go here like some comments suggest?
[0] https://github.com/deepclause/agentvm (it wasn't mean to run in a browser, but you can let your favorite agent create a Wasi shim for web within maybe an hour or so...)
> Sit and bask in that insanity. That is Firefox, on Linux compiled to WebAssembly, in a Firefox tab, loading the site and then loading Firefox again inside itself. <mind blown emoji>
I can remember more than 10 years ago seeing a GNOME app run from a web browser. I cannot remember how it worked, but it was a similar kind of Inception feeling when you saw it.> Do not be too overjoyed. It took more than an hour for this to render.
UPDATE: for context, trynix had been around until unkernel showed up and the author switched to it from qemu.
https://github.com/daugasauron/dolly
Similar idea but recompiling everything from source against a POSIX like userspace thats WASM native instead of running through emulator.
Suggestion: remove `.description { overflow: hidden; }`
I'm happy that it's possible and working, but so confused why this is not something that comes out of the box. A long chain of technical decisions led to the world where a simple game written in C needs to be aware of multiple CPU architectures, OSes, graphics APIs, display servers, sound subsystems to have a chance to work properly on platforms it knows about.
Cross platform support is difficult because platforms made it difficult and have no incentive to befriend.
I hope one day we get posix v2 with performant standard APIs to not worry about platforms in application's code. Perhaps 2035?
Doesn't SDL solve most of those problems?
> "so confused why this is not something that comes out of the box
If you want your code to work on multiple CPUs and OSs, there is no single "box" you can blame. There are multiple "boxes" which naturally don't have completely unified native APIs. Libraries like SDL make the complexity of writing portable projects easier to deal with if you don't want to deal with the native APIs.
It’s all about workloads and needs. You can’t put a sedan’s engine into a semitruck even if the basic components are the same. Windows were all about the microcomputer while Unix was designed to run in servers. The abstraction differences can be smoothed over, but it’s hard work and not everyone is keen to do so. And because they’re abstraction and not physical constraint, some would rather invent a new one (OpenGL).
> I hope one day we get posix v2 with performant standard APIs to not worry about platforms in application's code. Perhaps 2035?
A more pragmatic option is to design you app and push platform concerns to the edge. Then you just reimplement the exterior shell while keeping the core logic unchanged.
edit: busted, didn't finish reading.
file relay:
https://ezmon-e.com/utilities/file-relay
video of how it works:
you should check the hashes of any files you get from a relay like this, I don't think my server is running any malware but it could always get infected in the future, the vulnerability surface these days is enormous.
croc will establish a direct udp between two terminal clients or use their relay only if you want to use the web version for either upload/download. And it's e2e encrypted when using the croc servers.
Just tried it with a couple random wikipedia images downloaded via curl to the VM and via croc to my machine. No problems.
croc send [file(s)-or-folder]
screenshot:also works on folders (directories). It's a good project, I donated to its author.
I am a run-of-the-mill web developer who knows only Javascript.
I wanted to build an MCP, so asked LLM the best way to do it (with some assumptions that it would scale, etc) and it said to build in Rust. And there is a web component to the thing I am building, and it told to compile to WebAssembly.
So I have a large project in Rust+WebAssembly, working as I wanted, without having no clue of those stacks.
My impression is that JS will be less dominant, now with LLMs
I remember thinking sometime a year or two back that I'd built a ridiculous tower of abstraction when I was running 16-bit Amiga games on a Kickstart 1.3 image running inside, IIRC, WinUAE running on Wine running on Rosetta running on macOS running on Apple Silicon but I can see now this that was real amateur league stuff and that I need to get into nesting operating systems inside browsers inside operating systems inside browsers...
It looks clean, minimal, transparency/modern, crisp, a superb dock implementation..
I wish I could have _that_ as my regular Linux Desktop...
<https://wland.vercel.app> <https://github.com/pithings/wland>
<https://github.com/pithings/unkernel/blob/main/web/src/> <https://github.com/pithings/unkernel/blob/main/web/src/compo...>
As for Linux, I would opt for Hyprland <https://hypr.land> and go down the r/hyprland rabbit hole <https://www.reddit.com/r/hyprland/>
WASM is an optimisation of something that, while technically javascript, was already unreadable compressed bytecode...
So philosophically yes, its the same thing, but that talk has so much emphasis on something so quirky being the universal runtime. WASM isn't JS-level quirky.
I mean, WASM-in-JS kind of still is that quirky. Since we constantly have failed to expose a native WASM browser API, all of our WASM is glued together with weird generated javascript hacks...
It's a legitimately funny basis for a piece, but it's intellectually misleading.
And of course none of this is remotely new. We've had emscripten to compile LLVM intermediate code to WASM, or JavaScript for that matter, for about a decade and half.
Nobody ever claimed that? The whole Birth & Death of JavaScript talk is explicitly about transpiling code from other languages.
At the time the transpilation target was (the limited asm.js subset of) Javascript, since WASM didn't exist yet, but the overall "transpile everything to run in the browser" still holds.
Written in meaning shipped in. JavaScript is irrelevant to WASM. They are not interchangeable. It has literally zero relevance to the projects it uses to demonstrate its point.
Like, just a few quotes from the article (some of which are quotes to support the argument)-
"JavaScript will come to dominate all software."
"inevitability of JavaScript’s dominance"
"how JavaScript came to be the defacto language for all software"
With an old video about someone saying that eventually we'll compile everything to JavaScript by 2035, ergo 2035 came early. Then trying to twist that such that...well...a browser hosts something, and it also hosts JavaScript, therefore prediction came early!
I, uh...guess.
The proof is in the eating of the pudding. These days, nobody makes pudding with a proof embedded inside it.
https://news.ycombinator.com/item?id=50533945
Doom working in it (my comment):
https://news.ycombinator.com/item?id=50602937
includes link to a youtube clip of it if you're impatient.
I mean, Javascript okay for pure web programming. But if your software executes in any environment other than a browser, please use a real language.
To give credit where it's due, I think the FFI works well with Koffi [1]. And it's nice that Node.js has the ability to run `.ts` directly (erasableSyntaxOnly). TypeScript's type system is also really good!
Apart from what arguably should be the basics? Nothing has been easy. Unlike Dart which seemed heavily biased towards falling into the pit of success [2], the JS ecosystem seems to be a chasm of despair that is almost unavoidable, even with a huge amount of work (and indeed, billions of dollars has gone into this chasm). In the last three months I've run into friction in: - Dependency resolution. Why can you have multiple copies of the same package with different versions??? Just print a dependency resolution error. That's what Dart does, and I imagine it's part of why the dependency culture isn't anywhere near as bad over there. - Packaging & Lifecycle script semantics. - Semver with monorepos + `git:` dependencies. npm and yarn will resolve semver ranges for the repo using git tags like `v1.0.2`, but they won't consider tags of the form `my-packagev1.0.2`. So if you want monorepo productivity + semver range resolution you must publish to a private registry or "publish" from the monorepo to a dedicated mirror repo for each package. - The Linter + Formatter. Prettier destroys any sense of stylistic intent and you can't "communicate" with it (add/remove a single comma to express a single line vs multi-line formatting choice), so I've had to resort to using ESLint as a joint formatter [3] + linter. - Using TS/JS as a _scripting_ language. Lengthy `npx` shebangs ensue since my users NEED my library to have anything worth scripting. Either that or you pay the `package.json`, `node_modules`, `.yarnrc.yml`, `tsconfig.json`, etc. tax (did I mention that there are just WAY too many config files?)
Seems like it's an every day occurrence that I run into issues that Dart/Zig/Rust would've simply just not had, or if they did then they would have handled it superbly. And here I was thinking JS's bloat was supposed to be excused by the convenience it offered!
Don't use JS/TS unless you absolutely need to run in a browser. And like unkernel shows, maybe you can just write native apps and ignore JS all together.
[1] https://koffi.dev/ [2] https://blog.codinghorror.com/falling-into-the-pit-of-succes... [3] https://eslint.style/
Wisp is a component of a sketchy but impressive pre-AI project created by high schoolers to develop state of the art html5 based proxies to bypass restrictions on school networks that block game sites, etc. By "HTML5 based", I mean you don't get to run a socks proxy, change your browser settings, etc (many schools just distribute Chromebooks). Instead, you have to be able to navigate to the proxy site, type in the blocked destination URL, and then the Javascript on the website makes it act like the other website. The rough architecture is that it loads a proxied version of the site's homepage, with a pretty fancy rewriter that modifies some asset urls and stuff, uses service workers to intercept ajax requests, and then overrides js functions to even intercept and proxy websockets. This is what it takes for modern SPAs to work. Supposedly their latest proxy Scramjet https://github.com/MercuryWorkshop/scramjet is actually good enough to stream desktop games via the GeForce NOW website. I think this is an instance of it running: https://invisiproxy.com/browsing
Anyway, WISP is a bad protocol. Its essentially meant to be a very shitty http2-like protocol that multiplexes tcp streams over a single tcp/websocket stream. This is fundamentally not very hard, all you really need to do is be able to tell which data comes from which stream and do flow control. They fucked up the flow control, though: The CONTINUE message indicates how much buffer space is available / how many more bytes can be accepted on a given stream at the time the CONTINUE message was generated. Every respectable protocol for flow control would instead transmit an absolute offset (eg, the sequence number in TCP). Because of this flaw, you can never be quite sure in WISP how many more bytes the other side is willing to accept on a stream: If you receive a CONTINUE frame while you were in the middle of sending packets on the same stream, you don't know which of your inflight packets should count against the remaining flow control budget transmitted in the CONTINUE frame. They made two different versions of the protocol over time, and both suffer the same issue. I tried to tell them on their Discord but the only one who understood the flaw didn't seem to care that much. https://github.com/MercuryWorkshop/wisp-protocol/blob/v2/pro...
Regardless, I'm very proud that high schoolers are still up to the same sorts of shenanigans I was.
Finally allowing an unhappy humanity to cast off all that HTML, CSS, DOM, event bubble, mime-type, etc. nonsense.
Squint a little bit, and you'll see the ghost of JNLP (waving "Hi!").
``` ~ # ls
hello.c
~ # gcc hello.c -o hello
~ # ./hello
hello world
~ #
```
False. JavaScript is still not written in JavaScript.
Check the settings to see whether unkernel is supported on your browser.
https://nixmultiverse.com/?pkg=extremetuxracer&sys=aarch64-l...
Plus, with LLMs, the advantage of having a single mediocre common ground disappears. Anything with actual user interfaces will benefit from native targeting.
There are certainly many more other applications.