Around 5 years into my career, I became a tech lead. Over the following years, I slowly drifted towards roles that had less hands-on technical work and more managerial responsibilities.
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, 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 don't get the Js hate. I have meaningful experience working in many languages (C++,Js,Ts,C# to name the biggest by LOC written). I've shipped nontrivial software in all of these.
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.
It’s become okay in the past few years after two decades of absolutely Herculean effort of the whole industry and some particularly dedicated individuals.
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.
I don't disagree on this; I transitioned from a backend heavy role rendering ASP.NET Razor templates to the bold new world of SPAs in the mid to late 2010s, and some things were genuinely baffling like What do you mean the compiler(bundler) generates invalid code?What do you mean the bundler unfixably broken, and I should use a different one?Oh, that's unfixable as well?
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.
Javascript is actually a great language. Its garbage-collected closures made it easy to do GUI programming.
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.
Each to their own I guess, by personally I really don't like closures (at least ones that as per their namesake, close over objects with nontrivial lifetimes).
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
It was a missed opportunity for a mature language like Scheme which had at the time all the good parts, none of the bad parts and the only issue was slightly unfamiliar syntax.
> very 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.
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'd happily take a managerial position if these human problems where solely a challenge for the intellect, but what I find aggravating is having to deal with corporate cruft.
I think I feel the same way about DevOps that you feel about JavaScript.
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.
Same things over and over. Same things people were telling about BASIC and Visual Basic 30 years ago; same things people were saying about PHP 20 years ago. No offence, but hating a programming language and let that affect your work, is like shooting your foot. The Javascript "problem" has long been solved and fixed by TypeScript; I see JavaScript as a low level product of compiled TypeScript and TypeScript is a solid and very powerfull language.
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.
How could it be that you like the human aspect that AI has allowed you to focus on, while at the same time working exclusively on personal projects?
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
What a blast from the past. You guys do know by now typescript or really any other language is possible to use for webapps as you can compile/transpile your favorite to WASM?
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.
Minor clarification: the poster you're replying to didn't say they don't like to code. They just don't like to code javascript. It sounded like they still enjoy writing other code, though.
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.
I felt mostly the same with much of the same career trajectory. But where I differ is I felt like dynamically typed scripting languages as a whole were the cancer that metastasized with the rise of Python as the de facto language chosen for machine learning. I can’t stand Python. JavaScript and its entire ecosystem is filthy but Python is the ultimate Pee Wee’s ball of foil.
So the testimonial ads have sunk to ragebait and pandering to the profoundly ignorant who were just barely devs for a couple of years before falling up into management.
They'll bet on any horse you tell them to. This is a new low even for pro-AI astroturfing.
Honestly, this is the only reason I find joy in AI killing programming. I don't have to listen to such dumb takes.
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).
Totally agree with you. People hate and bad-talking about languages they haven't even used or used briefly. I am writting Javascript since 1997 and the language has evolved and with the TypeScript superset it can scale up without type safety issues.
This feels much faster than the last time I tried it. I wonder if further optimizations could make it practical to spin up a project’s development environment in any browser.
Part of the justification in the talk was that people did this not just because it was funny, but because it ended up faster because of the investment in web engines. Well, is it?
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..."
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
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
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.
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.
I know there is some use of webassembly in the browser, but I'm not sure what the last time I actually used it was. I really hate using the browser if I can avoid it and pretty much everything that can be compiled to webassembly works fine natively.
Plus, with LLMs, the advantage of having a single mediocre common ground disappears. Anything with actual user interfaces will benefit from native targeting.
WASM ported demos for games are pretty useful as an easy first try; after all, almost everyone uses a browser, one way or another. The alternative would be handing out executables.
Yea, I think games and apps with similar profiles (low interface, high CPU/GPU/Memory demand) are the obvious applications here—quake arena was a decent example.
Gamers have this prejudice that if a game runs in the browser, it feels cheap, potentially de-valuating your project. And if you want to ship a demo to your players, you can do it through Steam without just yet releasing the full version of the game.
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...
Well.. the prediction was about JavaScript. This is WebAssembly. A big part of the reason the timeline accelerated is that the goal post was moved. A lot.
If they don't, they should. asm.js was a subset of JS that other languages could be compiled to and was optimized so it would run faster. Ok, it was minified and unreadable, but still JS. WASM is real bytecode, no JS involved anymore.
Same OS thread, same event loop and it shares its memory, but a completely different runtime. I really love JS but OP has a point.
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...
Firefox launched in about 5 minutes (much of which appeared to be spent downloading dependencies) in Firefox for Android on my phone with 8 GB RAM. It didn't react to input, though. Not sure whether that's because the CPU is too slow or simply touch input not being wired up.
Check the settings to see whether unkernel is supported on your browser.
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.
Around 5 years into my career, I became a tech lead. Over the following years, I slowly drifted towards roles that had less hands-on technical work and more managerial responsibilities.
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, 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 don't get the Js hate. I have meaningful experience working in many languages (C++,Js,Ts,C# to name the biggest by LOC written). I've shipped nontrivial software in all of these.
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.
It’s become okay in the past few years after two decades of absolutely Herculean effort of the whole industry and some particularly dedicated individuals.
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.
I don't disagree on this; I transitioned from a backend heavy role rendering ASP.NET Razor templates to the bold new world of SPAs in the mid to late 2010s, and some things were genuinely baffling like What do you mean the compiler(bundler) generates invalid code? What do you mean the bundler unfixably broken, and I should use a different one? Oh, that's unfixable as well?
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.
Javascript is actually a great language. Its garbage-collected closures made it easy to do GUI programming.
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.
Each to their own I guess, by personally I really don't like closures (at least ones that as per their namesake, close over objects with nontrivial lifetimes).
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
It was a missed opportunity for a mature language like Scheme which had at the time all the good parts, none of the bad parts and the only issue was slightly unfamiliar syntax.
> garbage-collected closures
A feature existed since 1960s...
He said his shift to management happened 5 years into his career, so he wasn't ever very experienced as a programmer.
> very 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.
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'd happily take a managerial position if these human problems where solely a challenge for the intellect, but what I find aggravating is having to deal with corporate cruft.
I think I feel the same way about DevOps that you feel about JavaScript.
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.
Same things over and over. Same things people were telling about BASIC and Visual Basic 30 years ago; same things people were saying about PHP 20 years ago. No offence, but hating a programming language and let that affect your work, is like shooting your foot. The Javascript "problem" has long been solved and fixed by TypeScript; I see JavaScript as a low level product of compiled TypeScript and TypeScript is a solid and very powerfull language.
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.
How could it be that you like the human aspect that AI has allowed you to focus on, while at the same time working exclusively on personal projects?
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
Thank you for saying it like it is. JavaScript is such a curse (or possibly a joke) on humanity
What a blast from the past. You guys do know by now typescript or really any other language is possible to use for webapps as you can compile/transpile your favorite to WASM?
Javascript is ugly, but simple and got the job done. That's the reason for its success.
I think it makes sense.
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.
Minor clarification: the poster you're replying to didn't say they don't like to code. They just don't like to code javascript. It sounded like they still enjoy writing other code, though.
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.
I felt mostly the same with much of the same career trajectory. But where I differ is I felt like dynamically typed scripting languages as a whole were the cancer that metastasized with the rise of Python as the de facto language chosen for machine learning. I can’t stand Python. JavaScript and its entire ecosystem is filthy but Python is the ultimate Pee Wee’s ball of foil.
https://peewee.fandom.com/wiki/Foil/Rubber_Band_Balls
So the testimonial ads have sunk to ragebait and pandering to the profoundly ignorant who were just barely devs for a couple of years before falling up into management.
They'll bet on any horse you tell them to. This is a new low even for pro-AI astroturfing.
Honestly, this is the only reason I find joy in AI killing programming. I don't have to listen to such dumb takes.
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).
Totally agree with you. People hate and bad-talking about languages they haven't even used or used briefly. I am writting Javascript since 1997 and the language has evolved and with the TypeScript superset it can scale up without type safety issues.
Totally agree with you! And for that we should find joy in AI destroying their job! /s
> as if that operation even makes sense
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.
> this is the only reason I find joy in AI killing programming
Glad you're getting pleasure from other people's misfortune, I guess?
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.
I just went through some of his blog posts and decided that it deserves a place in my RSS Feed
This feels much faster than the last time I tried it. I wonder if further optimizations could make it practical to spin up a project’s development environment in any browser.
Is there any way you can download files from the filesystem?
Part of the justification in the talk was that people did this not just because it was funny, but because it ended up faster because of the investment in web engines. Well, is it?
Side-note 4:
> Do not be too overjoyed. It took more than an hour for this to render.
That is the nested trynix demo. Trynix itself was 2-32x faster depending on the workload according to him.
Well it is obvious this is not the only fact that its faster and better to investments for the web engines...
I did not expect someone to get the nested browser-in-a-browser running this soon. Bravo!
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
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
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
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.
> 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.
This is so insane and so awesome in a pre-AI way. Tokens well spent!
Pooya is the ! Just hope he won’t leave Nitro behind. But what a time to be alive!
trynix is pretty nice... gcc package installed and 118MB download later... vi and a quick:
``` ~ # ls
hello.c
~ # gcc hello.c -o hello
~ # ./hello
hello world
~ #
```
I know there is some use of webassembly in the browser, but I'm not sure what the last time I actually used it was. I really hate using the browser if I can avoid it and pretty much everything that can be compiled to webassembly works fine natively.
Plus, with LLMs, the advantage of having a single mediocre common ground disappears. Anything with actual user interfaces will benefit from native targeting.
WASM ported demos for games are pretty useful as an easy first try; after all, almost everyone uses a browser, one way or another. The alternative would be handing out executables.
There are certainly many more other applications.
Yea, I think games and apps with similar profiles (low interface, high CPU/GPU/Memory demand) are the obvious applications here—quake arena was a decent example.
Gamers have this prejudice that if a game runs in the browser, it feels cheap, potentially de-valuating your project. And if you want to ship a demo to your players, you can do it through Steam without just yet releasing the full version of the game.
Good grief.
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...
FYI this is a wrapper around https://unkernel.dev which is the OG GOAT.
UPDATE: for context, trynix had been around until unkernel showed up and the author switched to it from qemu.
It's cool but doesn't even run `bb`[1] with decent performance, which is a shame.
[1]: https://www.pouet.net/prod.php?which=6176
At the same time, we can now use AI to rebuild anything as a native desktop app written in Rust.
Well.. the prediction was about JavaScript. This is WebAssembly. A big part of the reason the timeline accelerated is that the goal post was moved. A lot.
I don't think anyone draws a particular distinction between asm.js (the "javascript" of the presentation) and WASM.
WASM is an optimisation of something that, while technically javascript, was already unreadable compressed bytecode...
If they don't, they should. asm.js was a subset of JS that other languages could be compiled to and was optimized so it would run faster. Ok, it was minified and unreadable, but still JS. WASM is real bytecode, no JS involved anymore.
Same OS thread, same event loop and it shares its memory, but a completely different runtime. I really love JS but OP has a point.
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.
> 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...
Yeah, almost none of this is actually written in JavaScript. It's transpiled to it, but not written in it
Isn't WebAssembly just transpilation to a subset of JS?
asm.js is a subset of javascript, Webassembly is its own bytecode format.
No.
>Any application that can be written in JavaScript, will eventually be written in JavaScript.
False. JavaScript is still not written in JavaScript.
ahem..
https://engine262.js.org/
None of that thing is loading. I don't see anywhere "browser inside a browser". Do I need 2k EUR of RAM for it?
Firefox launched in about 5 minutes (much of which appeared to be spent downloading dependencies) in Firefox for Android on my phone with 8 GB RAM. It didn't react to input, though. Not sure whether that's because the CPU is too slow or simply touch input not being wired up.
Check the settings to see whether unkernel is supported on your browser.
LMAO HE'S USING WISP https://github.com/MercuryWorkshop/wisp-protocol
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.
JavaScript, HTML and CSS are an absolute trash and the fact that AI can insulate me from them makes me very happy.
lol no they’re not