Video wird geladen...
Video konnte nicht geladen werden
The TypeScript rewrite would never have worked in Rust. Learn why in 30 seconds.
44,506 Aufrufe • vor 1 Jahr •via X (Twitter)
11 Kommentare

From @MiTypeScript's excellent interview with @ahejlsberg. You should should absolutely watch the whole thing 🔥

this doesn't answer anything lol

It absolutely does. It's always been clear to people who understood the ecosystem and the quirks of the language that a 1:1 translation was needed. Translating JS to Rust is the farthest thing from 1:1.

checkmate

Watching the full interview gives you more than enough reasons to know why they made that choice, everyone arguing about this are just too lazy to watch it.

Sure, but to be fair the target audience for a 30 second excerpt is exactly the people who wouldn't watch the full interview😅

No garbage collector, saved you 30 seconds

One of my favourite libs (oxc) still hasn't shipped ts transpilation... thanks to Rust. Maybe this will speed up the process

TLDR Rust is bad choice of porting(copying) an existing JavaScript code base. I mean isn’t that obvious by nature🙄, kinda sad this is used as fuel for a dick contest. “Mybag is better than your bag” syndrome is even more intolerable in techfi 🥲

Interesting. What's that rusty thing that would make it a poor choice - that other languages don't have?

AFAIK stuff like the borrow checker imposes significant restrictions on your code. They may be very valuable for safety but this is the kind of thing that can quickly become unmanageable if the goal is to guarantee identical behavior in a complex system.
Ähnliche Videos
Sensitive content
44 seconds showing why Jews have never built nor maintained a civilization in 3000 years.
Dan Bilzerian for Congress
1,622,962 Aufrufe • vor 9 Tagen

