Skip navigation
Everyone is writing the TypeScript compiler in rust.
0:00 / 0:30

Everyone is writing the TypeScript compiler in rust.

Noah

@itsnoahd13K followers

Visit on X
1,548 likesDownloadOriginal post

63,987 views

Everyone is writing the TypeScript compiler in rust. I wrote the rust compiler in TypeScript. Introducing “cargovroom” a rust compiler built fully in typescript.

33 Comments

Comments from the original post on X (Twitter)

  • Neesh 🥭's profile picture

    @Neesh774

    now rewrite it in rust and then compile it again

    72 likes

  • Noah's profile picture

    @itsnoahd

    Blasphemy

    27 likes

  • Neil Chudleigh's profile picture

    @neilsuperduper

    now make it slower

    47 likes

  • maria's profile picture

    @maria_rcks

    does it compile faster?

    25 likes

  • Noah's profile picture

    @itsnoahd

    yes somehow

    34 likes

  • PaulPlay's profile picture

    @PaulPlayStudio

    Now run it through scriptc, and maybe it's faster than the original ;)

    9 likes

  • Can Vardar's profile picture

    @icanvardar

    but can it cook for me?

    8 likes

  • Pranjal Paliwal's profile picture

    @betterclever

    you must be fun at parties

    5 likes

  • Yuri's profile picture

    @MrBye32

    does it have borrow checker?

    2 likes

  • BreezeOg's profile picture

    @BreezeOg1

    the reverse uno 😭

    2 likes

  • Justin Torre's profile picture

    @justinstorre

    Lolol

    2 likes

  • Cupsey's profile picture

    @cupseycode

    a rust compiler in typescript. the circle is complete

    1 like

  • 0xDE, 0xAD, 0xBE, 0xEF's profile picture

    @j2r1789

    I’m so poor bro 😭

    1 like

  • Parth Bhosle's profile picture

    @ParthBhosle1

    I mean u could've just did exec(`cargo ${subcommand}`)

    1 like

  • Daniel Vélez's profile picture

    @cravenceiling

    where's the repo?

    1 like

  • dpc's profile picture

    @dpc_pw

    Can it compile Rust itself? Unironically could be useful for bootstrapping.

    1 like

  • Greg Schier 👨🏼‍💻🇨🇦's profile picture

    @GregorySchier

    Can't be slower than it is already

    1 like

  • Dimava's profile picture

    @DmitrijVin70043

    Does it just compile or typechecks as well?

  • UPDOG 🇬🇧🇯🇵's profile picture

    @updog_osaka

    astounding

  • Arihant's profile picture

    @arihantbansal

    hell yeah