Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

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

62,984 Aufrufe • vor 5 Tagen •via X (Twitter)

33 Kommentare

Profilbild von Neesh 🥭
Neesh 🥭vor 5 Tagen

now rewrite it in rust and then compile it again

Profilbild von Noah
Noahvor 5 Tagen

Blasphemy

Profilbild von Neil Chudleigh
Neil Chudleighvor 4 Tagen

now make it slower

Profilbild von maria
mariavor 4 Tagen

does it compile faster?

Profilbild von Noah
Noahvor 4 Tagen

yes somehow

Profilbild von PaulPlay
PaulPlayvor 4 Tagen

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

Profilbild von Can Vardar
Can Vardarvor 4 Tagen

but can it cook for me?

Profilbild von Pranjal Paliwal
Pranjal Paliwalvor 4 Tagen

you must be fun at parties

Profilbild von Yuri
Yurivor 4 Tagen

does it have borrow checker?

Profilbild von BreezeOg
BreezeOgvor 4 Tagen

the reverse uno 😭

Profilbild von Justin Torre
Justin Torrevor 5 Tagen

Lolol

Profilbild von Cupsey
Cupseyvor 4 Tagen

a rust compiler in typescript. the circle is complete

Profilbild von 0xDE, 0xAD, 0xBE, 0xEF
0xDE, 0xAD, 0xBE, 0xEFvor 4 Tagen

I’m so poor bro 😭

Profilbild von Parth Bhosle
Parth Bhoslevor 4 Tagen

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

Profilbild von Daniel Vélez
Daniel Vélezvor 5 Tagen

where's the repo?

Profilbild von dpc
dpcvor 4 Tagen

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

Profilbild von Greg Schier 👨🏼‍💻🇨🇦
Greg Schier 👨🏼‍💻🇨🇦vor 4 Tagen

Can't be slower than it is already

Profilbild von Dimava
Dimavavor 4 Tagen

Does it just compile or typechecks as well?

Profilbild von UPDOG 🇬🇧🇯🇵
UPDOG 🇬🇧🇯🇵vor 4 Tagen

astounding

Profilbild von Arihant
Arihantvor 4 Tagen

hell yeah

Profilbild von Jephthah Mbah
Jephthah Mbahvor 4 Tagen

This is getting out of hand

Profilbild von fiona
fionavor 4 Tagen

Kys

Profilbild von Amar AlAzizy
Amar AlAzizyvor 4 Tagen

Is it rust or go or native ts?

Profilbild von shїneq 🇵🇱🇺🇦🇵🇸🇬🇪
shїneq 🇵🇱🇺🇦🇵🇸🇬🇪vor 4 Tagen

Cursed

Profilbild von Arpit
Arpitvor 4 Tagen

Time to write everything back to ts....

Profilbild von OthmanHaba
OthmanHabavor 4 Tagen

the most rusty thing i ever saw 🦀

Profilbild von Aaron
Aaronvor 4 Tagen

lmao

Profilbild von Andhrimnir @ Lan Game Studios
Andhrimnir @ Lan Game Studiosvor 4 Tagen

if gpus had feelings they would be very upset right now

Profilbild von Hong Truong
Hong Truongvor 4 Tagen

Can it compile bun?

Profilbild von Sumit Datta
Sumit Dattavor 4 Tagen

But, are you using tsrs to compile the Typescript code? Loop-di-loop

Profilbild von Cyberistic
Cyberisticvor 4 Tagen

awesome name

Profilbild von Riley David Jesus Seaburg
Riley David Jesus Seaburgvor 4 Tagen

Please tell me this is a joke how do people have the time or money to do this?

Profilbild von Fahreza
Fahrezavor 4 Tagen

Therefore the downside in rust development is no more?

Ähnliche Videos

Why is Rust different than many/most programming languages? Alice Ryhl works on Google's Android Rust team, is a Rust language team advisor, and is a core maintainer of Tokio (the most widely-used async runtime in Rust) Timestamps: 00:00 Intro 04:09 Tokio: an overview 05:11 What Alice likes about Rust 12:48 Rust for TypeScript engineers 13:51 Moving from C++ to Rust 14:34 Memory safety 18:12 Garbage collection tradeoffs 21:46 Ownership, references, and borrowing 26:59 Unsafe in Rust 31:21 Crates and Cargo 35:55 Language design and RFCs 43:02 Building new features 46:30 Editions vs. versions 49:47 Getting paid to work on Rust 51:27 Contributing to Rust 53:03 Rust in the Linux kernel 55:45 AI use cases for Rust 1:01:35 Learning Rust 1:03:54 Book recommendation Brought to you by: • Antithesis – verify your system’s correctness without human review or traditional integration tests – and avoid bugs or outages. • Sentry – application monitoring software considered “not bad” by millions of developers Three things worth knowing about Rust: 1. Rust was designed to turn implicit failures into compile errors. Where other languages allow you to forget something, Rust makes an omission into a compilation error for things like null checks, uninitialized variables, or error propagation with the ‘?’ character. If you mess something up, it’s almost certain your program will not compile. If it does, at the very least you should see a lint warning. 2. Refactoring in Rust is safe and easy, thanks to the compiler. Alice: “I change a return type or struct field, then just fix the compiler errors until the compiler stops shouting. And then once I’ve done that, I’ve updated every place I need to update.” Rust’s focus on correctness makes refactoring it more straightforward than dynamically-typed languages and Java-style typed ones are to refactor. 3. “Editions” allow Rust to make breaking changes without ‘breaking’ anyone’s code. Rust editions (2015, 2018, 2021, 2024) can be mixed freely across crates. A library on the 2021 edition works seamlessly with a binary on the 2024 edition. This is how Rust evolves syntax (like adding async/await as keywords) without forcing an ecosystem-wide migration. Thanks a lot, Alice for this great discussion! And for your work on Rust.

Gergely Orosz

52,449 Aufrufe • vor 5 Monaten