10 pointsby tosh2 hours ago7 comments
  • koolba5 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?

  • tallowen14 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!

  • jchw26 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.
    • phoghed21 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

    • reactordev18 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.
    • 9cb14c1ec012 minutes ago
      All the twitter types are busy rewriting typescript to speed it up, just because they can. It's becoming a meme.
  • einaralex5 minutes ago
    [delayed]
  • drewbittan hour ago
    I don't know whats a meme or not anymore..
  • perganomoly32 minutes ago
    Seriously, the simulation needs a reboot.
    • staminade7 minutes ago
      What if we're actually running in a slop decomp of the simulation...
    • dalmo38 minutes ago
      Or needs to be rewritten in Rust.
  • jdw644 minutes ago
    Will it be faster than the Go version? But why is this even necessary? I don't get it.