Alice Ryhl
๐ค SpeakerAppearances Over Time
Podcast Appearances
And so you have to explicitly say...
this object might be null, and then the compiler will force you to check for null before you use it.
So you can't forget.
Like you can in Java.
One thing I found kind of funny, I checked here all the day, and we have actually overtaken PHP and Go on the Tyobi index.
That depends a lot on which language you're coming from.
The pitch from TypeScript would be a lot different than the pitch from C++.
But okay.
So to begin with, I think when it comes to TypeScript, Rust fits in as the backend language.
That's where I would put it.
I wouldn't use it in the frontend.
I think it's a pretty good fit for backend API servers.
One way to put it is...
You don't want to be waking up at night because there are problems with your web server.
You need a language that's reliable, that's going to have as few bugs as possible.
I mean, obviously, it would be nice if it had zero bugs, but, you know, it's going to be hard to get there.
But as few bugs as possible.
That's the idea of Rust.
I mean, I already mentioned Null, but it does a lot of stuff like that.
So there's no null checking, and this is done through, you know, it has this enum type, which, I mean, I think TypeScript can do something similar.