18 comments

  • DavidPiper8 hours ago
    I love(?) that he absolutely predicted a global disaster between 2020-2025, he just got the wrong type. Which is very JavaScript.
    • noman-land7 hours ago
      He was pretty close to being NaN% correct.
      • moritzwarhier5 hours ago
        To be fair there were a couple of disasters, such as [object Array] and undefined.<p>Feels like the world is hanging on a single thread by now.
        • sheept2 hours ago
          You probably meant [object Object] :) Since arrays have their own default toString implementation (its own can of worms that is the basis for JSFuck[0]), you&#x27;d have to go out of your way with Object.prototype.toString.call to get [object Array]<p>[0]: <a href="https:&#x2F;&#x2F;jsfuck.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;jsfuck.com&#x2F;</a> relies on Array#toString for casting values to strings
          • moritzwarhier1 hour ago
            I intentionally corrected it, because vanilla JS arrays used to behave like this in some contexts, but I&#x27;m not even sure about which ones still.<p>Since the &quot;Array&quot; is a reference to the prototype, I think it might be outdated due to changes in undefined behavior of runtimes when serializing array objects, or logging them.<p>I&#x27;m pretty sure that [object Array] used to be the result of logging an array at some point.<p><pre><code> Object.prototype.toString </code></pre> always returns the result of<p><pre><code> Array.prototype.join </code></pre> per spec, afaik, so for an empty array it&#x27;s the empty string.
        • jschrf4 hours ago
          Protip: never even mention undefined in your codebase. Erase it from your vernacular. If you ever need to pass or return nothing, you use null.
          • moritzwarhier4 hours ago
            I do it this way, but this led to people asking me in reviews why I use NULL^^<p>My explanation was that it signals intent to me, and is different from some property not being part of the expected object shape or not having been initialized because of some accident or logic failure.<p>Since then, I&#x27;ve sticked to it, and am &quot;allowed&quot; to use NULL ^^<p>It can lead to some annoying checks in TS for primitively-typed properties, so for these, I still allow explicit usage of undefined when it&#x27;s simpler given the surrounding code.<p>But I agree with you in principle. Using &quot;undefined&quot; as a &quot;second nullish value&quot; and explicitly checking for it is a programming error.<p>When there&#x27;s object&#x2F;areay vs null&#x2F;undefined, thankfully, the truthiness narrowing often allows me to interface with code relying on &quot;undefined&quot; without explicitly handling this &quot;value&quot; in my own parts of the code base :)
          • ngruhn3 hours ago
            You can&#x27;t get rid of undefined. You can&#x27;t ban null either. They&#x27;re both used in the core language all over the place:<p>undefined camp:<p>- out of bounds array index access [1,2,3][42]<p>- non existent object key access {}.foo<p>- array.find(...) no result<p>- ...<p>null camp:<p>- document.querySelector(...) no result<p>- regex.match(...) no result<p>- ...
            • sheept2 hours ago
              In general the language uses `null` if it would otherwise return an object (similar to Java; this is also why null is an object but not really in both languages), while `undefined` is used if it could otherwise return any value.<p>Could the language have done without both null and undefined? Definitely. But it&#x27;s here and here to stay.<p>Though, it&#x27;s not the only language with two nulls. Julia has nothing and missing, though their semantics are more well defined and with different behaviors than in JavaScript.
          • crdrost3 hours ago
            If you&#x27;re a type purist then undefined looks nicer... It&#x27;d be like being upset at booleans because things get coerced to them or some &#x27;ish.<p>No: it&#x27;s the type that has one inhabitant—it&#x27;s not that type&#x27;s fault that it appears as a default argument or var or was left out of JSON... So long as typeof null === &quot;object&quot;, null is the absurd one
          • Tade03 hours ago
            null is of type &#x27;object&#x27; though, while undefined is undefined - way better to have a separate type.
  • eranation6 hours ago
    Surprised no one mentioned this is the guy who brought us this masterpiece. If you haven’t seen it, drop everything and watch it, best 5 minutes of your day guaranteed.<p><a href="https:&#x2F;&#x2F;www.destroyallsoftware.com&#x2F;talks&#x2F;wat" rel="nofollow">https:&#x2F;&#x2F;www.destroyallsoftware.com&#x2F;talks&#x2F;wat</a>
    • sph2 hours ago
      All his talks are very good. ‘Boundaries’ is probably the most illuminating video I have ever seen on software architecture, its lessons I still think about when I design any complex application.<p>Incidentally it’s also a great introduction to thinking as a functional programmer if you are used to imperative logic with state spread all over the place.<p><a href="https:&#x2F;&#x2F;www.destroyallsoftware.com&#x2F;talks&#x2F;boundaries" rel="nofollow">https:&#x2F;&#x2F;www.destroyallsoftware.com&#x2F;talks&#x2F;boundaries</a>
      • conartist62 hours ago
        is there nobody else who thinks &quot;A Whole New World&quot; was the best one?
    • nosioptar5 hours ago
      That&#x27;s actually fantastic.
    • pentacrypt3 hours ago
      Amazing, thanks!
    • flufluflufluffy2 hours ago
      amazing
  • jdw648 hours ago
    JS became a compilation target (and it really did), and back then in the video it was asm.js (that&#x27;s been deprecated, hasn&#x27;t it?), but then WebAssembly came along... Seeing it actually being implemented and running natively, it seems his prediction was accurate. I mainly use TypeScript myself, and now with Electron, web technologies are wrapped into desktop apps, so web syntax has even entered computer programs. People say Electron is heavy and not great, but it&#x27;s also the fastest way to support Mac, Windows, and Linux all at once. Sometimes insights like that are surprising.<p>The &#x27;death&#x27; being discussed here means that JavaScript becomes the substrate, a state where you don&#x27;t use it directly, but it&#x27;s everywhere. And that has truly come to pass.
    • frail_figure7 hours ago
      &gt; but it&#x27;s also the fastest way to support Mac, Windows, and Linux all at once.<p>Flutter exists too, and supports iOS and Android in addition to the desktop OSes. The dev time is pretty fast too imo.<p>That said, idk how the performance compares to Electron or Native apps.<p>As a small team, optimizing for &quot;actually getting the thing shipped&quot; is so much better than optimizing for speed anyway.
      • wiseowise7 hours ago
        &gt; Flutter exists too, and supports iOS and Android in addition to the desktop OSes. The dev time is pretty fast too imo.<p>Flutter is a joke on the web, and it consumes as much as Electron, sometimes worse, on a desktop.
        • ifh-hn7 hours ago
          You got sources to back this up, or is this just you&#x27;re opinion?
          • moritzwarhier7 hours ago
            Regarding the &quot;joke on the web&quot;, there&#x27;s plenty of HN threads about Flutter where you will see this sentiment, not only about performance, also about UX (e.g. text rendering, selection, scrolling...).<p>I&#x27;m not sure if the web render engine has gotten better since then, and am too lazy to look up the links rn, but threads should be easy to find using HN search.<p>Still seems like a common source language + GUI toolkit that targets the web platform <i>and</i> various native platforms (mainly Android, iOS, macOS, Windows, and desktop Linux of course) without significant overhead has not been achieved yet. And it&#x27;s questionable whether it&#x27;s possible, given the special requirements (and capabilities) of the web platform and the different native platform.
            • satvikpendem6 hours ago
              Dioxus Native supports both web and native platforms because they serve HTML and CSS for the web and then on native they turn that into canvas rendered code just like Flutter, not a webview, because they built their own HTML and CSS renderer.<p>For Flutter web, yes as it&#x27;s canvas based it doesn&#x27;t have all the same web features but generally for crud apps it doesn&#x27;t much matter, especially if it&#x27;s near zero effort taking your Flutter mobile and desktop app and putting it on the web. With the new impeller renderer and Wasm improvements it has gotten quite faster too.
          • nxc183 hours ago
            Try using any demo app from their user showcase on web.
        • satvikpendem6 hours ago
          Where does it consume more than Electron?
      • derfurth7 hours ago
        In my experience performance is about the same as native on mobile. On desktop I cannot compare as I thankfully never had to make cross platform desktop apps using native platform SDKs, but Flutter is doing fine. I am a working on a non trivial desktop app, and I am pretty happy about it.<p>Hopefully the desktop story is going improve as Canonical is now leading the Flutter desktop side.
        • Zigurd1 hour ago
          I&#x27;m working on an app that&#x27;s cross-platform on mobile devices. I do builds for macOS as a convenience for my colleagues demoing the app. Pretty much zero effort to add that as a target. I get some benefits out of it too in the form of being able to see how well the UI responds to unusual screen dimensions, running in a resizable window.
      • satvikpendem6 hours ago
        Flutter is great, still the fastest way to make cross platform mobile apps and you get desktop and web support essentially for free.<p>Performance is very fast as it&#x27;s all natively AOT compiled machine code without any web views like Electron.
        • greekrich925 hours ago
          On desktop does flutter have native access to the machine it&#x27;s running on? Can it talk to printers for example?
          • Zigurd1 hour ago
            I have successfully added AppFunctions on Android to a Flutter app. I figure that&#x27;s about as hairy a platform-specific feature as it gets. So far nothing has interfered with other platform build targets. I look forward to adding Apple&#x27;s agentic tool calling interface, too.
          • satvikpendem5 hours ago
            Of course, via FFI. Not sure why one would think it couldn&#x27;t, it&#x27;s just a programming language based GUI framework after all.
      • vips7L6 hours ago
        Darts an amazing language too.
        • pjmlp4 hours ago
          It is basically a revamped Java.<p>Google lost the opportunity to actually make it take off, had they replaced the Java stack with Dart, instead of staying in the Java world and adopt Kotlin.<p>However the Android team was never a great supporter from Dart in first place, hence why you won&#x27;t find anything Dart on <a href="https:&#x2F;&#x2F;developer.android.com" rel="nofollow">https:&#x2F;&#x2F;developer.android.com</a>.
          • Zigurd1 hour ago
            Google uses Flutter&#x2F;Dart for their own apps fairly frequently. Obviously not the right choice for the most complex apps. Android system programming and cross platform apps are use cases that are divergent enough that trying to smash them together would result in nobody being happy about the outcome.
            • vips7L59 minutes ago
              Pretty sure AdWords is built on dart too
              • pjmlp50 minutes ago
                Of course, they were the ones that saved Dart in first place, after DartiumVM was killed.<p>Having just finished moving from GWT into AngularDart.
            • pjmlp50 minutes ago
              Except for AdWords and Google Pay, which ones?<p>As far as I am aware, most teams would rather use J2Objc or KMM than Flutter.
          • vips7L2 hours ago
            They should have pushed dart instead of Go imo.
            • pjmlp2 hours ago
              Google never pushed Go, the UNIX&#x2F;Plan 9 and Oberon folks did, as means to avoid doing C++, with support of their line managers as their 20% project.<p>Kubernetes was originally written in Java, and Docker in Python, it was thanks to early Go advocacy, that those projects got rewritten in Go, and then they got lucky.<p>Just like the download server rewrite into Go, that was done by someone from Go team, as part of their advocacy.<p>Check how many public projects does Google do, outside anything related to CNCF project landscape.
      • psychoslave3 hours ago
        <a href="https:&#x2F;&#x2F;www.qt.io&#x2F;development&#x2F;qt-framework#platforms" rel="nofollow">https:&#x2F;&#x2F;www.qt.io&#x2F;development&#x2F;qt-framework#platforms</a> looks to comply with the stated specifications.
        • throwaway_952831 hour ago
          yes, but the unstated caveats for fastest are<p>&quot;i can&#x27;t program, i only make CRUD apps&quot;<p>&quot;i don&#x27;t write anything that requires computation&quot;<p>&quot;i do server side rendering on a serverless platform&quot;<p>in reality rails runs circles around typescript for productivity for CRUD&#x2F;webapps.
    • Uehreka6 hours ago
      &gt; The &#x27;death&#x27; being discussed here means that JavaScript becomes the substrate, a state where you don&#x27;t use it directly, but it&#x27;s everywhere. And that has truly come to pass.<p>Not sure what timeline you’re living in, but people absolutely still write tons of JS, and WebAssembly has yet to take over as a commonly used runtime for web applications. You can definitely find examples of companies building on it, but don’t mistake that for the kind of sea change Gary was describing here.
    • _the_inflator7 hours ago
      JavaScript is the new assembler layer so to say. Every compiler as per definition translates human readable code into machine language.<p>The benefit of JavaScript is, that, after Google really pushed it to its limit with V8 and of course NodeJS made it a backend dream, that it is ubiquitous and once written usable everywhere, much kinda like PDF.<p>Its versatility gave it the advantage over WebAssembly to this day, because it is not as widespread available as JavaScript.<p>I agree with you, that JavaScript itself is nowadays tantamount with TypeScript - what a giant leap this has been. Angular (2) was the unsung hero here. Angular was harshly criticized when they went TypeScript right from the beginning while still offering a native JavaScript version as well (which was basically unusable to be honest).<p>It is funny, that the last hideout not featuring TS as their default option is React, while more and more major integral projects like NextJS rely out of the box on TS. ReactJS will fall, too. It wouldn&#x27;t be the first time regarding innovations coming from other projects. Again Angular is leading the innovation while ReactJS is a follower.<p>You rarely can go wrong with JavaScript and Python, I would say.
      • saghm7 hours ago
        &gt; Every compiler as per definition translates human readable code into machine language.<p>This is a pedantic point, but that&#x27;s not really what the definition of compiler is as much as a common understanding of it. By definition, it just translates one language into another, and a human-readable to human-readable translation is still a compiler (&quot;transpiler&quot; is more slang than actual formal terminology).<p>This might just be one of those already lost battles, but like &quot;crypto&quot; being used to mean &quot;digital money&quot; rather than &quot;cryptography&quot;, I feel like the new terminology is weird and unnecessary, so it&#x27;s something I have trouble adapting to even though I rationally know that usage evolves over time and sometimes the words I like less will become the norm.
        • cxr6 hours ago
          It&#x27;s no use being pedantic if you&#x27;re not going to be correct.<p>&gt; This is a pedantic point, but that&#x27;s not really what the definition of compiler is as much as a common understanding of it. By definition, it just translates one language into another<p>The history and etymology doesn&#x27;t support that definition, either; that&#x27;s just another &quot;common [mis]understanding&quot; of the term. It&#x27;s in the name. A compiler produces a compilation—an aggregate of multiple subroutines, including user-supplied ones and some by the system&#x2F;programming environment, transformed into a single program for a given target.<p>(You&#x27;re describing the process of &quot;autocoding&quot;, a job that every compiler does, and a term that predates &quot;transpiler&quot; but that no one uses because they favor stretching the more frequently encountered term &quot;compiler&quot; for their use case.)
      • jdw647 hours ago
        You seem to have said what I was trying to say, but much more eloquently.<p>I also agree with your opinion on Angular.<p>But I like React, so I&#x27;m a little sad. Still, I mostly agree with you.<p>The reasons you criticize React are exactly the reasons I love React. Because it changes slowly, even someone like me can keep up. (Just kidding.)
      • eikenberry2 hours ago
        &gt; course NodeJS made it a backend dream<p>More a nightmare than a dream. It lead to the terrible practice of tightly coupling frontend and backend code bases that led to inevitable pain. The language barrier between front&#x2F;back-ends was a key aspect of web-dev that allowed it to a foothold vs. previous, unsuccessful attempts. Fortunately this practice hasn&#x27;t taken over and sane architectures are still prevalent.
      • pjmlp4 hours ago
        &gt; You rarely can go wrong with JavaScript and Python, I would say.<p>Depends on how much you care about your user&#x27;s computers.
    • Dwedit7 hours ago
      Within the video&#x27;s story, they removed virtual memory and memory protection because the JIT was good enough. Nothing like that has happened at all.
      • wffurr6 hours ago
        The WebAssembly component people are pushing Wasm as a replacement for container-based virtualization, so it&#x27;s not that far off.
      • jdw646 hours ago
        Sometimes I think, I wish I had the knowledge to dig into these kinds of detailed parts like you do. I tend to obsess only over the context of what the video is trying to say, so I miss these small details. You probably achieved that through hard study. I looked it up, and you were definitely right
    • krzyk5 hours ago
      &gt; People say Electron is heavy and not great, but it&#x27;s also the fastest way to support Mac, Windows, and Linux all at once.<p>But why make an app when websites is enough? And I don&#x27;t need to run n web browsers for that.
    • throwaway_952831 hour ago
      haven&#x27;t web browsers always been C&#x2F;C++? they are typescript now? it would seem the fastest way to support Mac, Windows and Linux is 500MB of C++.
    • satvikpendem6 hours ago
      As someone else said, Flutter is good, but also look into Rust based GUI development. With frameworks like GPUI or Slint or egui, they are optimized for cross-platform desktop use cases specifically and are significantly faster and more lightweight than Electron and these days do also support macOS, Windows, and Linux out of the box.
    • dnautics4 hours ago
      &gt; it seems his prediction was accurate<p>Not really. his two predictions are<p>1) that EVERYTHING will be running on some javascript assembler. We are getting incrementally closer with things like firecracker, but plenty of stuff still runs on bare metal, and it doesn&#x27;t seem like it&#x27;s going away so easily.<p>2) that no one will write javascript anymore. I don&#x27;t think typescript is different enough to count.
    • veqq4 hours ago
      &gt; the fastest way to support Mac, Windows, and Linux all at once<p>Tcl with TK or Free Pascal on Lazarus
      • winrid4 hours ago
        Python with TK at least gives you a type system and same cross platform support...
    • alerighi2 hours ago
      &gt; but it&#x27;s also the fastest way to support Mac, Windows, and Linux all at once<p>Is really that simple compared to a normal cross platform web application written in (for example, but there are multiple frameworks) QT?<p>I mean, sure you have to write JavaScript and not C++, but in the end is that more simple? Maybe to start with yes, but then you get into tooling, typescript, multiple build steps, etc that makes it probably more complex than a old boring QT program in C++. And nowadays with most software not even written by humans, does the argument &quot;but javascript is simpler than C++&quot; really holds?<p>It&#x27;s absurd than we could have very performant computers, and we still have the performance of 10 years ago because the added resources in modern PCs gets wasted by programs that need to run an entire Chrome instance to do basic stuff. I mean, open 4 programs that use Electron (Discord, Spotify, VSCode, WhatsApp desktop) on a modern PC and you consumed most of the available RAM just for them.
    • krautsauer7 hours ago
      &gt; asm.js (that&#x27;s been deprecated, hasn&#x27;t it?)<p><a href="https:&#x2F;&#x2F;spidermonkey.dev&#x2F;blog&#x2F;2026&#x2F;05&#x2F;20&#x2F;saying-goodbye-to-asmjs.html" rel="nofollow">https:&#x2F;&#x2F;spidermonkey.dev&#x2F;blog&#x2F;2026&#x2F;05&#x2F;20&#x2F;saying-goodbye-to-a...</a><p>iirc, v8 never had any special compilation path for it to begin with.
      • wffurr6 hours ago
        V8 also supported AOT for asmjs but it&#x27;s since been removed as well.
    • bee_rider6 hours ago
      I wonder, has did anyone try a hardware accelerator for web assembly? Cursory googling, I found a research paper, but from 2024, so maybe too recent to be a “real thing.”
    • neonstatic6 hours ago
      &gt; People say Electron is heavy and not great, but it&#x27;s also the fastest way to support Mac, Windows, and Linux all at once<p>I am hesitant to call that &quot;support&quot;. If even Meta can&#x27;t get their Electron application to work reliably, who can? WhatsApp client for macOS is awful and it&#x27;s getting worse. Discord is awful and it&#x27;s getting worse. Spotify works better when running through the browser. At this point, when I see that the application is using Electron, I am assuming it&#x27;s not supported on my OS and I move on.
    • lelandfe7 hours ago
      &gt; People say Electron is heavy and not great, but it&#x27;s also the fastest way to support Mac, Windows, and Linux all at once<p>Websites have actually long been a great cross-platform mechanism<p>Just a shame about the giant browser you have to load first
      • moritzwarhier7 hours ago
        To be fair, implementing something like the Spotify client does require a web <i>app</i>, not &quot;just&quot; a web site.<p>But even document rendering with light scripting is not trivial so yeah, the required browser is the bottleneck.<p>I always wonder (layman question): couldn&#x27;t native Electron apps (and similar technologies) save a great deal of RAM by using the same sandboxing model for apps that browsers use for tabs, instead of fully-fledged instances?<p>Was that an idea that Tauri also tries to implement, or am I remembering this wrongly?
        • ymolodtsov6 hours ago
          It&#x27;d be great if Electron itself became a core part of the OS. Tauri is closer to this on MacOS because it tries to use WebKit but not enough.
  • satvikpendem6 hours ago
    The problem is Wasm is not improving nearly as fast as predicted here. We don&#x27;t have DOM manipulation so we will still need JS regardless as glue code, or just eschew HTML and CSS altogether and render everything on a canvas as Flutter and some Rust GUIs do but that&#x27;s a shame to lose the feature set of the web.
    • Zigurd6 hours ago
      People choosing Flutter would say the uniformity of a canvas across all browsers is more valuable than gaining the inconsistently implemented web feature set.
    • ifwinterco1 hour ago
      The DOM and JS are joined at the hip - the DOM APIs are designed assuming JS is used to access them, and the design of JS and some of its more “unique” features is partly because it was designed for use with the DOM
    • jansan4 hours ago
      JS is just so much more approachable than WASM. You can debug it on the fly, feed it to an LLM, there is no wrapper, it&#x27;s just so much easier to tinker and work with it.
  • oakinnagbe8 hours ago
    Every few years, we invent a better JavaScript. Then we transpile it to JavaScript.
    • notarobot1237 hours ago
      Mass adoption trumps good design every time.
    • jerf7 hours ago
      It&#x27;s all assembly code in the end. There&#x27;s nothing intrinsically wrong with compiling down to Javascript, a high-level language can still implement many things that direct Javascript does not. Just about every language guarantee you&#x27;ve ever used can be violated by raw assembler.
  • cbhl1 hour ago
    I remember watching Gary Bernhardt give this talk live at the Canadian Undergraduate Software Engineering Conference (CUSEC) back in 2014. PNaCl had just come out the year prior, and Google was using it to cross-compile, run, and sandbox OpenSSH and RDP clients inside of Chrome and ChromeOS, and the Mozilla&#x2F;Firefox folks counter-proposed asm.js as a response.<p>At the time I just thought it was funny. Now I find it surprising how much of these ideas ended up sticking around.
  • ksec5 hours ago
    Almost everything happened according to the script. Now we are just waiting for another OS fully based on browser technology or WASM OS.<p>webOS and Firefox OS was at least 20 years ahead of its time.
    • Veserv4 hours ago
      Not at all. WASM is a repudiation of the thesis, not a confirmation.<p>The thesis is that javascript-compatible source will be the substrate of the future. A javascript engine, though one highly optimized to efficiently interpret a compatible subset, is a potential universal platform of the future despite generic javascript being a terrible substrate.<p>WASM fundamentally rejects this by creating a new javascript-incompatible substrate that is actually designed to be a low level target. Claiming WASM is confirmation of the thesis makes as much sense as claiming that a future where everybody has a Rust interpreter in the browser is confirmation of the thesis.<p>If you are arguing that, then you are just arguing that web browsers will run code in some form in some language as they already do. As the video is clearly discussing a “surprising” possible future, it makes little sense for it to be consistent with literally business as usual and literally every possible future.
    • moritzwarhier5 hours ago
      Is there a technical reason you don&#x27;t mention ChromeOS?<p>Just asking out of curiosity.<p>Also, the screenshots I&#x27;ve seen of webOS makes me long for a revival... not only on smart TVs
      • frollogaston5 hours ago
        Not the parent, but: ChromeOS isn&#x27;t what I&#x27;d call a web-based OS. It supports Android apps, and that&#x27;s how you get a lot of things that don&#x27;t have web versions. Not much different from how Ubuntu can run Chrome and also supports native apps.
        • moritzwarhier5 hours ago
          Good point. Since I&#x27;ve never owned a Chromebook, I didn&#x27;t even know that they are capable of installing arbitrary Android apps.
      • nosioptar4 hours ago
        Personally, I dont consider chromeos wheb thinking about operating systems because it&#x27;s not a real os, its a toy released by a shady advertising company. (Same as android.)
    • Retr0id2 hours ago
      [dead]
  • thedelanyo2 hours ago
    I was actually expecting, typescript takeover.
  • RIshabh2358 hours ago
    We’re past the halfway point of Bernhardt’s 2035 timeline; JavaScript hasn’t died yet, but it’s clearly writing its own eulogy in WebAssembly.
    • wiseowise7 hours ago
      Multiple generations of your family will be long dead before last JS instruction gets executed. Unless there&#x27;s going to happen a global thermonuclear war. I still bet on JS surviving over most humans.
      • Macha4 hours ago
        The same is true of COBOL and Fortran. But also for most purposes, they are practically* dead.<p>* With the one exception of BLAS which is widely used via NumPy
    • jazz9k8 hours ago
      I review many sites&#x2F;month from different clients. They are all using some form of JavaScript.<p>It&#x27;s like PHP, it will never die.
      • jerf7 hours ago
        &quot;Death&quot; is hard to define for a programming language. It&#x27;s tempting to say &quot;the last time anyone writes it&quot;, or maybe &quot;runs it&quot;, but to put that in biological terms that seems like defining &quot;death&quot; for a person as &quot;the last chemical bond that was part of their body is broken&quot;... sure, it&#x27;ll happen someday, but all the properties we associate with the term &quot;death&quot; happen rather soon than that.
      • matt_kantor7 hours ago
        &gt; It&#x27;s like PHP, it will never die.<p>I predict that PHP will live a long life, but not as long as C, and I predict JavaScript will have a lifespan closer to C&#x27;s than PHP&#x27;s.
      • varun_ch7 hours ago
        It’s also relevant that LLMs have so much JavaScript training data that I don’t see a world where we’re not still using JavaScript.
      • fishfasell8 hours ago
        The JS death and AI bubble are two events I keep hearing about but will never come.
        • inigyou7 hours ago
          The AI bubble is now, maybe you mean the AI bubble pop
      • lezojeda7 hours ago
        [dead]
  • marking-time7 hours ago
    &quot;YavaScript&quot; made me smile.
  • j16sdiz7 hours ago
    I skim though it and saw they had something javascript asm.js in kernel.
  • checkthisgot5 hours ago
    I think JS, is yet to rise the agents, and using all the next.js components.
  • arkadiytehgraet7 hours ago
    Regardless of the content, this is one of my most favourite talks ever, especially in the delivery aspect. It served me as an inspiration for quite some time when I had to present anything to a wide audience.
    • jhatemyjob5 hours ago
      Same. I think I watched this 10 times when it first came out.
  • jhatemyjob5 hours ago
    Great talk. I&#x27;m glad he was wrong about this. Having js&#x2F;wasm be the standard ABI would have been horrible. Obviously he could have never predicted in 2014 that Valve would pour a metric fuckton of resources into improving Wine&#x2F;Proton, to the point of getting x64 binaries to run on other architectures. But here we are, past the year of the Linux desktop, well on our way to the year of the Linux handset.
  • roshiya7 hours ago
    [dead]
  • naveen997 hours ago
    interpreted languages carry a lot more context than compiled ones. Sandboxed compiled languages don’t have the context baggage, but come with other parts of the brain dead.
    • Dwedit7 hours ago
      I don&#x27;t think Javascript is still interpreted though?
      • flufluflufluffy2 hours ago
        It is necessarily interpreted. Specific functions or code blocks can be JIT compiled to native code, but not an entire script.
      • naveen992 hours ago
        Sandboxed
      • DonHopkins5 hours ago
        Let&#x27;s just say it&#x27;s open to interpretation.
  • Surac8 hours ago
    My first contact with js was trying to make a button change its color on mouseover. There was no css back then. I bought a book and was so put off from the syntax that i never looked back to js from that day on. Never regretted my decision
    • satvikpendem6 hours ago
      I find these sorts of comments quite strange. So one tried something over 30 years ago and was put off by syntax of all things and then decided they&#x27;d never look at it again? So weird to base opinions on 30 year old experiences that were not even in-depth experiences but cursory glances.
    • afavour6 hours ago
      There are a ton of reasons to object to JS but the <i>syntax</i>? It isn’t even all that unique.
    • notesinthefield8 hours ago
      I had a similar path and never came back to JS until work forced me to learn. To me, it has only gotten more readable.
    • falcor847 hours ago
      The syntax? I got 99 problems with js, but syntax ain&#x27;t one of them. It&#x27;s just C-style syntax, no?
      • TheOtherHobbes6 hours ago
        C syntax was never that great. It&#x27;s basically mnemonic PDP-11 assembler with a few added data structures.<p>js is mutant C with dementia - hacked together over over a fortnight, full of inconsistencies and weird corners.<p><pre><code> console.log(1 + &quot;2&quot;); &#x2F;&#x2F; &quot;12&quot; console.log(1 - &quot;2&quot;); &#x2F;&#x2F; -1 console.log(NaN === NaN); &#x2F;&#x2F; false console.log(+0 === -0); &#x2F;&#x2F; true const obj = {}; console.log(obj.foo); &#x2F;&#x2F; undefined, not an error</code></pre>
        • bryanrasmussen5 hours ago
          NaN is a standardized dynamic languages datatype governed by IEEE 754, this is not something to complain about as its behavior is part of the official standard and for good reason, as outlined in the standard.
          • SonOfLilit4 hours ago
            Why dynamic? `NAN != NAN` is just as true in C.
            • bryanrasmussen2 hours ago
              well as I understood it, it was implemented for languages without static data typing although I suppose you could implement it in other languages.<p>Also I suppose my memory could be pretty foggy as I don&#x27;t think I&#x27;ve looked at the spec since about 2014.
        • flufluflufluffy2 hours ago
          None of those examples are showing something you find wrong with the syntax
        • lezojeda5 hours ago
          [dead]
    • comrade12348 hours ago
      I kind of like real JavaScript with prototype inheritance. It&#x27;s not how we use it in browsers though.<p>And now with typescript and running it in the server... I&#x27;d rather just use Java.
    • DonHopkins5 hours ago
      Reminds me of one of Microsoft&#x27;s first Dynamic HTML demos:<p>There were two buttons, one labeled &quot;Our Web Site&quot;, the other labeled &quot;Our Competitor&#x27;s Web Site&quot;.<p>When you moved the mouse over the &quot;Our Competitor&#x27;s Web Site&quot; button, it would quickly slide out from under your cursor before you could click it!<p>Then when you stopped moving your mouse, the &quot;Our Web Site&quot; button would slyly slide right underneath your mouse!<p>Dammit Microsoft!!! ;)