14 comments

  • tallowen 18 minutes ago

    The back and forth between writing tools in javascript and go or rust seems like it's in an unstable equilibrium right now:

    - Go / Rust: It's easier than ever to rewrite existing tools in more performand languages

    - Javascript: The v8 runtime for vercel or cloudflare workers is a much cheaper way to run certain workloads (e.g. conversational agents) than running a heavy weight vm. See just bash as another example project for taking advantage of this (https://github.com/vercel-labs/just-bash)

    I'm curious to see what happens!

  • koolba 10 minutes ago

    > An experimental TypeScript port of the TypeScript 7.0.2 compiler (TypeScript-Go, or tsgo), compiled to native code with scriptc.

    I don’t get it. Isn’t the golang version already native?

    Or is this one of those things where it’s not supposed to make sense?

      clarus 2 minutes ago

      This version can additionally be compiled through LLVM, using a compiler from Vercel supporting a subset of TypeScript. I tried and it is 2 to 3x faster than the native Go version.

  • jchw 30 minutes ago

    There is no obvious explanation for why you would want this anywhere I can find... Does anyone understand? If you wanted this, wouldn't it make more sense to extend the last version of TypeScript before ts-go instead? Hmm.

      phoghed 25 minutes ago

      Seems like it’s to show off scriptc unless I’m missing something else. They claim this is 2-4x faster than tsgo

      https://t.co/fMEAmv2VDY

        ameliaquining a few seconds ago

        I guess the question is why you wouldn't use TypeScript 6 as the basis for that.

      reactordev 22 minutes ago

      Stage 1 to writing a bootstrap able language is using the intermediate step of compiling it with a compiler written in another language so that you can write a compiler for yours. I’m sure they did this in order to get a binary of the first self-compilable version.

      9cb14c1ec0 16 minutes ago

      All the twitter types are busy rewriting typescript to speed it up, just because they can. It's becoming a meme.

  • einaralex 9 minutes ago

    [delayed]

  • drewbitt an hour ago

    I don't know whats a meme or not anymore..

  • perganomoly 36 minutes ago

    Seriously, the simulation needs a reboot.

      staminade 11 minutes ago

      What if we're actually running in a slop decomp of the simulation...

      dalmo3 12 minutes ago

      Or needs to be rewritten in Rust.

  • jdw64 9 minutes ago

    Will it be faster than the Go version? But why is this even necessary? I don't get it.