Chris Lattner
๐ค SpeakerAppearances Over Time
Podcast Appearances
Right.
And so I think that the tryouts are very different if you're building a, you know, large scale production system versus you're building and exploring a notebook.
Well, and that is the sign.
I love you, man.
But that is a sign of somebody who likes control.
And so, yes, I think that you'll like FN.
I think you'll like Mojo.
So, I mean, we use the same, we're the same as Python, right?
But we implement in a very different way, right?
And so if you look at other languages, like we'll pick on C++, our favorite, right?
C++ has a thing called zero cost exception handling.
Okay.
And this is, in my opinion, something to learn lessons from.
It's a nice, polite way of saying it.
If you don't throw an exception, there's supposed to be no overhead for the non-error code.
And so it takes the error path out of the common path.
It does this by making throwing an error extremely expensive.
And so if you actually throw an error with a C++ compiler using exceptions, it has to go look up in tables on the side and do all this stuff.
And so throwing an error could be like 10,000 times more expensive than returning from a function, right?
Yeah.