‹ BackHN Continuity

Thread

The JavaScript Midlife Crisis

56 points · 75 comments · maroun-baydoun

  1. Klonoar · · focus · HN ↗
    > Rewrite a bundler in Rust and you haven't only made it faster. You've also shrunk the pool of JavaScript developers who can maintain it. The new tool still looks like a duck and quacks like a duck, but it's a different beast altogether. Its internals retreat behind a black box that fewer people hold the keys to. The source may still be open, but the door to contributions is closing.

    Alternatively, there's a pool of JS developers who shouldn't be maintaining critical infrastructure to begin with.

    It's not a black box, those codebases are usually open and the only thing holding you or anyone back is learning anything outside of a small pond of JavaScript.

    Write non-browser-things in fast languages. It is not a complicated concept - even less so in an era where stuff is getting written for you.

    1. pjmlp · · focus · HN ↗
      I had to laugh about the Tiger Beetle history when hearing about it on one of my podcast feeds.

      Although it is now famously one of the Zig written production deployments, the founders thought JavaScript would be a great option to write a database server, like really?!?

      1. pan69 · · focus · HN ↗
        > In the month of July 2020, we developed a prototype of TigerBeetle in Node as a performance sketch to measure the basic components of the design (batching, TCP protocol, cryptographic checksums everywhere, fsync journalling, in-memory business logic and hash table operations).

        <a href="https:&#x2F;&#x2F;github.com&#x2F;tigerbeetle&#x2F;tigerbeetle-history-archive&#x2F;blob&#x2F;main&#x2F;docs&#x2F;HISTORY.md" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;tigerbeetle&#x2F;tigerbeetle-history-archive&#x2F;b...

        1. pjmlp · · focus · HN ↗
          &gt; I was writing Rhino on the JVM before Node came out because I was absolutely convinced the world would move to server-side JavaScript.

          &gt; And I think now, I think a lot of the reason why people went into NPM was because the tooling in C was so terrible.

          &gt; Like, how do you compile a C program?

          Are some interesting quotes and hint much more to lack of knowledge on server compiled languages than a &quot;performance sketch&quot;.

          Full podcast episode is here,

          <a href="https:&#x2F;&#x2F;shows.acast.com&#x2F;software-unscripted&#x2F;episodes&#x2F;tigerbeetles-spectacular-jepsen-report-with-joran-greef" rel="nofollow">https:&#x2F;&#x2F;shows.acast.com&#x2F;software-unscripted&#x2F;episodes&#x2F;tigerbe...

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.