Fireship · @fireship

Microsoft goes nuclear on TypeScript codebase…

Uploaded March 12, 2025 · Length 4:09

Microsoft goes nuclear on TypeScript codebase…

Summary

Microsoft rewrites TypeScript compiler in Go for better performance and portability.

  • typescript go compiler rewrite performance portability

Transcript preview

The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.

  1. 0:00

    yesterday Microsoft dropped an

  2. 0:01

    unexpected bombshell on programmers when

  3. 0:03

    it announced that the Beloved typescript

  4. 0:05

    programming language is being completely

  5. 0:07

    reprogrammed a typescript is one of the

  6. 0:09

    most important projects in modern web

  7. 0:10

    development but it has one fatal flaw

  8. 0:12

    the typescript language itself is

  9. 0:14

    written in typescript and typescript is

  10. 0:16

    just not optimized for building things

  11. 0:18

    like typescript but you won't believe

  12. 0:19

    which language Anders hilburg and

  13. 0:21

    Microsoft chose for the rewrite it's not

  14. 0:23

    the battle tested C++ it's not

  15. 0:25

    Microsoft's Golden Boy C it's not the

  16. 0:27

    highly memeable rust it's a language

  17. 0:29

    know expected which I will reveal in

  18. 0:31

    dramatic fashion at the end of this

  19. 0:33

    video to optimize viewer retention for

  20. 0:35

    the algorithm just kidding I ain't F to

  21. 0:37

    play you like that they used go a

  22. 0:39

    language developed by their arch nemesis

  23. 0:40

    Google a language with a simplistic type

  24. 0:42

    system and limited functional

  25. 0:44

    capabilities a language that many people

  26. 0:46

    on the internet love to hate nowadays

  27. 0:48

    all the CP and rust Fanboys are feeling

  28. 0:50

    the effects of this Panic function right

  29. 0:51

    now and in today's video we'll find out

  30. 0:53

    why this is a huge deal and answer the

  31. 0:55

    question of why did Microsoft go with go

  32. 0:57

    it is March 12th 2025 and your watching

  33. 1:00

    the code report another day another bat

  34. 1:02

    signal that must be answered but this

  35. 1:04

    trend of waiting for the fireship video

  36. 1:05

    on every Tech announcement has gotten

  37. 1:07

    out of control the tech companies like

  38. 1:08

    Microsoft spend millions of dollars

  39. 1:10

    making these videos and you guys are

  40. 1:11

    screwing everything up causing the

  41. 1:13

    entire global economy to collapse I'm

  42. 1:15

    Michael Jordan stop it get some help

  43. 1:18

    that being said Anders hilburg is one of

  44. 1:21

    the true 10x developer unicorns out

  45. 1:22

    there he's the creator of Turbo Pascal C

  46. 1:25

    and typescript and you really should

  47. 1:27

    watch his video typescript is not your

  48. 1:28

    typical programming language it's a

  49. 1:30

    super set of JavaScript and doesn't

  50. 1:32

    actually have its own runtime TS code

  51. 1:34

    gets compiled or transpiled to JS code

  52. 1:36

    which then runs somewhere like node.js

  53. 1:38

    Dino bun or the browser the problem is

  54. 1:41

    that because the typescript compiler is

  55. 1:42

    written in typescript there's an

  56. 1:44

    inherent lack of support for low-level

  57. 1:46

    optimization like direct memory access

  58. 1:48

    native multi-threading and so on the

  59. 1:50

    only way to truly fix the typescript

  60. 1:51

    compiler was to not write it in

  61. 1:53

    typescript by switching to go the

  62. 1:55

    compiler is already 10 times faster like

  63. 1:57

    they cut the vs code compile time from

  64. 1:59

    70 seconds to 7 seconds and they got