YouSaid · the spoken record
Chris Lattner
- lines on the record
- 301
- first
- 2023-06-02
- most recent
- 2023-06-02
- sittings or episodes
- 1
- sources
- podcast
Every line below is reproduced as it was said and linked to the record it came from. Nothing here is summarised or generated. Directory · Search · Corrections
“Yeah. Well, so lecture a pretty special person, too, right? And so I think that one of the funny things about you is that besides being curious and pretty damn smart, you're actually willing to push on things. And I think that you've got an agenda to make the world think. Which I think is a pretty good agenda.”
2023-06-02 · Lex Fridman Podcast · #381 – Chris Lattner: Future of Programming and AI · IDENTIFIED FROM THE TRANSCRIPT · source
“Left sometimes it's pretty cool to go right And so, just because everybody's doing a thing doesn't mean you have to do the same thing and follow the herd. In fact, I think that sometimes the most exciting paths through life lead to being curious about things that nobody else actually focuses on, right? And it turns out that understanding deeply parts of the problem that people want to take for granted makes you extremely valuable and specialize in ways that the herd is not. And so again, I mean, there's lots of rooms for specialization, lots of rooms for generalists. There's lots of room for different kinds of parts of the problem. But I think that it's, you know, just because everybody's doing one thing doesn't mean you should necessarily do it.”
2023-06-02 · Lex Fridman Podcast · #381 – Chris Lattner: Future of Programming and AI · IDENTIFIED FROM THE TRANSCRIPT · source
“What do you think? Well, so I mean, one of the things I'd say is that you'll be most successful if you work on something you're excited by. And so don't get the book and read the book. Cover to cover and study and memorize and recite and flashcard and go build something, go solve a problem, go build the thing that you want it to exist, go build an app, go train a model, go build something and actually use it and set a goal for yourself. And if you do that, then there's a success, there's the adrenaline rush, there's the achievement, there's the unlock that I think is where, you know, if you keep setting goals and you keep doing things and building things, learning by building is really powerful in terms of career advice, I mean, everybody's different, it's very hard to give generalized advice. I'll speak as a compiler nerd. If everybody's going”
2023-06-02 · Lex Fridman Podcast · #381 – Chris Lattner: Future of Programming and AI · IDENTIFIED FROM THE TRANSCRIPT · source
“And so right now, unfortunately, because it's not unfortunate, but it's just kind of where things are. AI is this weird different thing that's not integrated into programming languages and normal tool chains and all the technology is really weird and doesn't work right and you have to babysit it. Every time you switch hardware, it's different. It shouldn't be that way. When you change that, when you fix that, suddenly, again, the tools and technologies can be way easier to use. You can start using them for many more things. And so that's why I would be excited about.”
2023-06-02 · Lex Fridman Podcast · #381 – Chris Lattner: Future of Programming and AI · IDENTIFIED FROM THE TRANSCRIPT · source
“Right? I mean, do you consider somebody that uses, you know, I think arguably the most popular programming language is Excel. And so, do they consider themselves to be programmers? Maybe not. I mean, some of them make crazy macros and stuff like that, but But what you mentioned, Steve Job, it's the bicycle for the mind that allows you to go faster, right? And so I think that as we look forward, right, what is AI? I look at it as hopefully a new programming paradigm. It's like object-oriented programming. If you want to write a cat detector, you don't use for loops. Turns out that's not the right tool for the job, right?”
2023-06-02 · Lex Fridman Podcast · #381 – Chris Lattner: Future of Programming and AI · IDENTIFIED FROM THE TRANSCRIPT · source
“Rather Lots of people across the industry be able to participate and use this. And you look at this. A lot of great research has been done in the health world and looking at detecting pathologies and doing radiology with AI and doing all these things. Well, the problem today is that to deploy and build these systems, you have to be an expert in radiology and an expert in AI. And if we can break down the barriers so that more people can use AI techniques, it's more like programming Python. Which roughly everybody can do if they want to. Then I think that we'll get a lot more practical application of these techniques and a lot more nichier, cool but narrower demands. And I think that's going to be really cool.”
2023-06-02 · Lex Fridman Podcast · #381 – Chris Lattner: Future of Programming and AI · IDENTIFIED FROM THE TRANSCRIPT · source
“Well, so what I want, I mean, coming back to my arch nemesis, right, it's complexity, right? So again, me being the optimist, if we drive down complexity, we can make these tools, these technologies, these cool hardware widgets accessible to way more people, right? And so what I'd love to see is more personalized experiences, more things, the research getting into production instead of being lost at NURUPS. And these things that impact people's lives by entering products. And so one of the things that I'm a little bit concerned about is right now, the big companies are investing huge amounts of money and are driving the top line of AI capability forward really quickly. But if it means that you have to have $100 million to train a model or more billion dollars, right? Well, that's going to make it very concentrated with very few people in the world that can actually do this stuff.”
2023-06-02 · Lex Fridman Podcast · #381 – Chris Lattner: Future of Programming and AI · IDENTIFIED FROM THE TRANSCRIPT · source
“Me too. And so I look at that as saying, okay, cool. What will AI do? Right. And so some people say, oh my God, is it going to destroy us all? How do we prevent that? I kind of look at it from a, is it going to unlock us all? You talk about coding. Is it going to make us, so I don't have to do all the repetitive stuff? Suddenly, that's a very optimistic way to look at it, and you look at what a lot of these technologies have done to improve our lives. And I want that to go faster.”
2023-06-02 · Lex Fridman Podcast · #381 – Chris Lattner: Future of Programming and AI · IDENTIFIED FROM THE TRANSCRIPT · source
“And so I think that on the one hand, we can see amazing progress, but on the other hand, we can see that the reality is a little bit more complicated and it may take longer to roll out than you might expect.”
2023-06-02 · Lex Fridman Podcast · #381 – Chris Lattner: Future of Programming and AI · IDENTIFIED FROM THE TRANSCRIPT · source
“Focus and not worry about that one. But I think that the other thing I'd say is that AI moves quickly, but humans move slowly and we adapt slowly. And so what I expect to happen is just like any technology diffusion, the promise and then the application takes time to roll out. And so I think that I'm not even too worried about autonomous cars defining away all the taxi drivers. Remember autonomy was supposed to be solved by 2020?”
2023-06-02 · Lex Fridman Podcast · #381 – Chris Lattner: Future of Programming and AI · IDENTIFIED FROM THE TRANSCRIPT · source
“So, I mean, there's a couple of things going on there. One is, I'm sure GPT-5 and 7 and 19 will be also huge leaps They're also getting much more expensive to run. And so there may be a limiting function in terms of just expense on the one hand and train. That could be a limiter that slows things down. But I think the bigger limiter outside of Skynet takes over. And I don't spend any time thinking about that because if Skynet takes over and kills us all, then I'll be dead. So I don't worry about that. So, you know, I mean, that's just, okay, I have other things to worry about. I'll just focus on.”
2023-06-02 · Lex Fridman Podcast · #381 – Chris Lattner: Future of Programming and AI · IDENTIFIED FROM THE TRANSCRIPT · source
“So, I've thought a lot about it, and there's a lot of different parts to this problem, everything from job displacement to Skynet, things like this. And so you can zoom into sub parts of this problem. I'm not super optimistic about AGI being solved next year Think that's going to happen personally.”
2023-06-02 · Lex Fridman Podcast · #381 – Chris Lattner: Future of Programming and AI · IDENTIFIED FROM THE TRANSCRIPT · source
“There's on device LLMs and there's other things going on, and so maybe there's an answer there. I think that one of the things that I haven't seen enough of is that, so LLMs to me are amazing when you tap into the creative potential of the hallucinations, right? And so if you're doing creative brainstorming or creative writing or things like that, the hallucinations work in your favor, if you're writing code that has to be correct because you're going to ship it in production, then maybe that's not actually a feature. And so I think that there has been research and there has been work on building algebraic reasoning systems and kind of like figuring out more things that feel like proofs. And so I think that there could be interesting work in terms of building more reliable at scale systems. And that could be interesting. But if you chase that rabbit hole down, the question then becomes, how do you express your intent of the machine? And so maybe you want LLM to provide the spec.”
2023-06-02 · Lex Fridman Podcast · #381 – Chris Lattner: Future of Programming and AI · IDENTIFIED FROM THE TRANSCRIPT · source
“I mean, you could do that. Yeah, absolutely. I mean, I think that would be interesting. Is that a Well, I mean, it would be very expensive. So compilers run fast and they're very efficient and LLMs are currently very expensive.”
2023-06-02 · Lex Fridman Podcast · #381 – Chris Lattner: Future of Programming and AI · IDENTIFIED FROM THE TRANSCRIPT · source
“I'm a human optimist. I'm also an LLM optimist. I think that we'll solve that problem. We'll solve that. But you look at that and you say, okay, well. Reducing the root thing, right? Turns out compilers are very particular and they really want things, they really want the indentation to be right. They really want the colon to be there on your else or else it'll complain, right? I mean, compilers can do better at this, but LLMs can totally help solve that problem. And so I'm very happy about the new predictive coding and copilot type features and things like this because I think it'll all just make us more productive.”
2023-06-02 · Lex Fridman Podcast · #381 – Chris Lattner: Future of Programming and AI · IDENTIFIED FROM THE TRANSCRIPT · source
“So I do lead in AI company, so maybe there will be a Mojo LLM at some point. But if your question is like, how do we make a language to be suitable for LLMs? Yeah. I think that the I think the cool thing about LLMs is you don't have to. And so if you look at what is English or any of these other terrible languages that we as humans deal with on a continuous basis, they're never designed for machines. And yet they're the intermediate representation. They're the exchange format that we humans use to get stuff done. And so these programming languages, they're an intermediate representation between the human and the computer, or the human and the compiler, roughly, right? And so I think the LLMs will have no problem learning whatever keyword we pick.”
2023-06-02 · Lex Fridman Podcast · #381 – Chris Lattner: Future of Programming and AI · IDENTIFIED FROM THE TRANSCRIPT · source
“Instances of that on the internet, and it's a pretty stock thing. And so if you want to see standard questions answered, LLMs can memorize all the answers, and that can be amazing. And also, they do generalize out from that. And so there's good work on that. But I think that in my experience, building things, building something like you talk about mojo or you talk about these things, or you talk about building an applied solution to a problem, it's also about working with people. It's about understanding the problem. What is the product that you want to build? What are the use case? What are the customers? You can't just go survey all the customers because they'll tell you that they want a faster horse. Maybe they need a car, right? And so a lot of it comes into, you know, I don't feel like we have to compete with LLMs. I think they'll help automate a ton of the mechanical stuff out of the way. And just like, you know, I think we all try to scale through delegation and things like this, delegating wrote things to an LLM, I think is an extremely valuable.”
2023-06-02 · Lex Fridman Podcast · #381 – Chris Lattner: Future of Programming and AI · IDENTIFIED FROM THE TRANSCRIPT · source
“Yeah, well, so I don't know where it all goes. I'm an optimist and I'm a human optimist. I think that things I've seen are that a lot of the LLMs are really good at crushing leak code projects. And they can reverse the link list like crazy. Well, it turns out there's a lot of”
2023-06-02 · Lex Fridman Podcast · #381 – Chris Lattner: Future of Programming and AI · IDENTIFIED FROM THE TRANSCRIPT · source
“And so it's very liberating to be able to decide, I think, that Lex should have a t shirt. Right, and it becomes very simple because I like Lex.”
2023-06-02 · Lex Fridman Podcast · #381 – Chris Lattner: Future of Programming and AI · IDENTIFIED FROM THE TRANSCRIPT · source
“And that's actually pretty. I mean, again, for compiler people and things like that, that's usually not the case, right? And so that's also pretty exciting and quite nice. One of the ways that this manifests is it makes it easier to make decisions. And so one of the challenges I've had in other worlds is it's like, okay, well community matters somehow for the goodness of the world, or open source matters theoretically, but I don't want to pay for a t-shirt. Or some swag. Like, well, t shirts cost $10 each. You can have 100 t-shirts for $1,000 to a megacorp, but $1,000 is uncountably, can't count that low. Right, but justifying it and getting a t shirt, by the way, if you'd like a t shirt”
2023-06-02 · Lex Fridman Podcast · #381 – Chris Lattner: Future of Programming and AI · IDENTIFIED FROM THE TRANSCRIPT · source
“And that's liberating to some degree. It's super liberating. And also, many of the projects I've built in the past have not been core to the product of the company. Swift is not Apple's product, right? MLAR is not Google's revenue machine or whatever, right? It's important, but it's like working on the accounting software for the retail giant or something, right? It's like enabling infrastructure and technology. And so at Modular, the tech we're building is here to solve people's problems. It is directly the thing that we're giving to people. And so this is a really big difference. And what it means for me as a leader, but also for many of our engineers, is they're working on the thing that matters.”
2023-06-02 · Lex Fridman Podcast · #381 – Chris Lattner: Future of Programming and AI · IDENTIFIED FROM THE TRANSCRIPT · source
“Some interesting questions. I mean, so many. Like, so one of the things I love about Modular is the first company I built from scratch. One of the first things that was profound was I'm not cleaning up somebody else's mess. And so if you look at”
2023-06-02 · Lex Fridman Podcast · #381 – Chris Lattner: Future of Programming and AI · IDENTIFIED FROM THE TRANSCRIPT · source
“All troops and no generals, or you have all people that think in one way and not the other way. What you get is you get a very biased and skewed and weird situation where people end up being unhappy. And so what I like to do is I like to build teams of people where they're not all the same. We do have teams that are focused on runtime or compiler, GPU or accelerator or whatever the speciality is. But people bring a different take and have a different perspective. And I look for people that complement each other. And particularly if you look at leadership teams and things like this, you don't want everybody thinking the same way. You want people bringing different perspectives and experiences. And so I think that's really important.”
2023-06-02 · Lex Fridman Podcast · #381 – Chris Lattner: Future of Programming and AI · IDENTIFIED FROM THE TRANSCRIPT · source
“So there's different philosophies in building teams. For me, and so some people say, hire 10x programmers, and that's the only thing, whatever that means, right? What I believe in is building well-balanced teams, teams that have people that are different in them. Like if you have all generals and no troops”
2023-06-02 · Lex Fridman Podcast · #381 – Chris Lattner: Future of Programming and AI · IDENTIFIED FROM THE TRANSCRIPT · source
“Well, I mean, being in person is a very different thing. It's worth it, but you can't always do it. And so again, we're still learning. We're all still learning as like humanity with this new reality, right? But what we found is that getting people together, whether it be a team or the whole company or whatever, is worth the expense because people work together and are happier after that. There's a massive period of time where you like go out and things start getting frayed, pull people together. Realize that we're all working together, we see things the same way, we work through the disagreement or the misunderstanding. We're talking across each other, and then you work much better together. And so things like that, I think, are really quite important.”
2023-06-02 · Lex Fridman Podcast · #381 – Chris Lattner: Future of Programming and AI · IDENTIFIED FROM THE TRANSCRIPT · source
“Well, so when the pandemic first hit, I mean, I'm curious about your experience too. The first thing I missed was having wiped Those design discussions where high intensity work through things get things done, work through the problem of the day, understand where you're on, figure out and solve the problem and move forward. But we figured out ways to work around that now with all these screen sharing and other things like that that we do. The thing I miss now is sitting down at lunch table with the team. Spontaneous things like those, the coffee bar things and the bumping into each other and getting to know people outside of the transactional solve a problem over Zoom.”
2023-06-02 · Lex Fridman Podcast · #381 – Chris Lattner: Future of Programming and AI · IDENTIFIED FROM THE TRANSCRIPT · source
“So remote first has a very strong set of pros and cons. On the one hand, you can hire people from wherever they are and you can attract amazing talent even if they live in strange places or unusual places. On the other hand, you have time zones. On the other hand, you have everybody on the internet will fight if they don't understand each other. And so we've had to learn how to have a system where we actually fly people in and we get the whole company together periodically and then we get work groups together and we plan and execute together.”
2023-06-02 · Lex Fridman Podcast · #381 – Chris Lattner: Future of Programming and AI · IDENTIFIED FROM THE TRANSCRIPT · source
“Right. And then a year later, okay, finally it has 3G, but it still doesn't have copy and paste. It's a joke. Nobody will ever use this product, blah, blah, blah, blah, blah, blah. Right. Well, year three, it had copy and paste, and people stopped talking about it, right? And so being laser focused and having conviction and understanding what the core problems are and giving the team the space to be able to build the right tech is really important. Also, I mean, you come back to recruiting, you have to pay well, right? So we have to pay industry leading salaries and have good benefits and things like this. That's a big piece. We're a remote first company. And so we have to”
2023-06-02 · Lex Fridman Podcast · #381 – Chris Lattner: Future of Programming and AI · IDENTIFIED FROM THE TRANSCRIPT · source
“By defining the problem. And then you can work backwards in solving technology. It and at Apple, like, it's, I think, pretty famously said that for every, you know, there's a hundred no's for every yes, I would refine that to say that there's 100 not yets for every yes, but famously, if you go back to the iPhone, for example, right, the iPhone 1, I mean, many people laughed at it because it didn't have 3G, it didn't have copy and paste”
2023-06-02 · Lex Fridman Podcast · #381 – Chris Lattner: Future of Programming and AI · IDENTIFIED FROM THE TRANSCRIPT · source
“And so if you speak to them about their problems, if you understand and you have compassion, you understand what people are working with, then you can work backwards to building an amazing product.”
2023-06-02 · Lex Fridman Podcast · #381 – Chris Lattner: Future of Programming and AI · IDENTIFIED FROM THE TRANSCRIPT · source
“So we have a clear vision of what we're doing. And so I kind of grew up at Apple in my engineering life, right? And so a lot of the Apple DNA rubbed off on me. My co-founder, Tim, also is like a strong product guy. And so what we learned is I was taught at Apple that you don't work from building cool technology come up with cool product and think about the features you'll have in the big checkboxes and stuff like this. Because if you go talk to customers, they don't actually care about your product. They don't care about your technology. What they care about is their problems. And if your product can help solve their problems, well, hey, they might be interested in that.”
2023-06-02 · Lex Fridman Podcast · #381 – Chris Lattner: Future of Programming and AI · IDENTIFIED FROM THE TRANSCRIPT · source
“And some of them I learned what to do, and some of them I learned what not to do. And so we want an inclusive culture. I believe in amazing people working together. And so I've seen cultures where people, you have amazing people and they're fighting each other. I see amazing people and they're told what to do, like thou shalt line up and do what I say. It doesn't matter if it's the right thing. Do it. And neither of these is the, and I've seen people that have no direction. They're just kind of floating in different places. And they want to be amazing. They just don't know how. And so a lot of it starts with have a clear vision.”
2023-06-02 · Lex Fridman Podcast · #381 – Chris Lattner: Future of Programming and AI · IDENTIFIED FROM THE TRANSCRIPT · source
“Start with that. That's usually not something a company starts with. Usually you hire a bunch of people and then people start fighting and it turns into gigantic mess. And then you try to figure out how to improve your culture later. My co-founder, Tim in particular, is super passionate about making sure that that's right. And we've spent a lot of time early on to make sure that we can scale.”
2023-06-02 · Lex Fridman Podcast · #381 – Chris Lattner: Future of Programming and AI · IDENTIFIED FROM THE TRANSCRIPT · source
“The problem is that the people we need to hire, as you say, are all these super specialized people that have jobs at big tech worlds, right? And I don't think we have product market fit in the way that a normal startup does, or we don't have product market fit challenges because right now everybody's using AI and so many of them are suffering and they won't help. And so again, we started with strong conviction. Again, you have to hire and recruit the best and the best all have jobs. And so what we've done is we said, okay, well, let's build an amazing culture.”
2023-06-02 · Lex Fridman Podcast · #381 – Chris Lattner: Future of Programming and AI · IDENTIFIED FROM THE TRANSCRIPT · source
“So, building a company is just as interesting in different ways as building a language. Like different skill sets, different things, but super interesting. And I've built a lot of teams in a lot of different places. If you zoom in from the big problem into recruiting, so here's our problem. I'll be very straightforward about this. We started modular with a lot of conviction about we understand the problems. We understand the customer pain points. We need to work backwards from the suffering in the industry. And if we solve those problems, we think it'll be useful for people.”
2023-06-02 · Lex Fridman Podcast · #381 – Chris Lattner: Future of Programming and AI · IDENTIFIED FROM THE TRANSCRIPT · source
“And so we want to work with the broader Python community. And yeah, we're pushing forward a bunch of systems programming features and we need to build them out to understand them. But once we get a long ways forward, I want to make sure that we go back to the Python community and say, okay, let's do some design reviews. Let's actually talk about this stuff. Let's figure out how we want this stuff all to work together. And syntactic sugar just makes all that more complicated.”
2023-06-02 · Lex Fridman Podcast · #381 – Chris Lattner: Future of Programming and AI · IDENTIFIED FROM THE TRANSCRIPT · source
“Deaf Plus, come on. Why can't I just do that, right? And so trivial bit of syntactic sugar makes sense. It's beautiful. It's obvious. We're trying not to do that. And so for two different reasons, one of which is that, again, lesson learned with Swift, Swift has a lot of syntactic sugar Which may be a good thing, maybe not. I don't know. But because it's such an easy and addictive thing to do, makes your blood get crazy, right? The community will really dig into that and want to do a lot of that. And I think it's very distracting from building the core abstractions. Second is we want to be a good member of the Python community.”
2023-06-02 · Lex Fridman Podcast · #381 – Chris Lattner: Future of Programming and AI · IDENTIFIED FROM THE TRANSCRIPT · source
“I mean, as a today snapshot, which will be obsolete tomorrow, the lifetime stuff is really exciting. And so lifetimes give you safe references to memory without dangling pointers. And so this has been done in languages like Rust before. And so we have a new approach, which is really cool. I'm very excited about that. That'll be out to the community very soon. The traits feature is really a big deal. And so that's blocking a lot of API design. And so there's that. A lot of it is these kind of table stakes features. One of the things that is, again, also lessons learned with Swift. Is that programmers in general like to add syntactic sugar And so it's like, oh, well, this annoying thing in Python, you have to spell it unbar, unbar add. Why can't I just use plus?”
2023-06-02 · Lex Fridman Podcast · #381 – Chris Lattner: Future of Programming and AI · IDENTIFIED FROM THE TRANSCRIPT · source
“I think the world is ready for this stuff, right? And so, you know, when we have a package manager, we'll clearly have to innovate by having the compiled package thing be the little box with the bow on it, right? It has to be done”
2023-06-02 · Lex Fridman Podcast · #381 – Chris Lattner: Future of Programming and AI · IDENTIFIED FROM THE TRANSCRIPT · source
“I mean, it's funny you come back to the flame emoji file extension, right? We have the option to use the flame emoji, which just even that concept caused, for example, the people at GitHub to say, now I've seen everything.”
2023-06-02 · Lex Fridman Podcast · #381 – Chris Lattner: Future of Programming and AI · IDENTIFIED FROM THE TRANSCRIPT · source
“Due to community feedback. Sure. We use an amphistan, and now it's named In Out. We're not renaming existing Python keywords because that breaks compatibility. We're renaming things we're adding. And making sure that they are designed well, we get usage experience, we iterate and work with the community because again, if you scale something really fast and everybody writes all their code and they start using it in production, then it's impossible to change. And so you want to learn from people. You want to iterate and work on that early on. And this is where design discussions, it's actually quite important to do that.”
2023-06-02 · Lex Fridman Podcast · #381 – Chris Lattner: Future of Programming and AI · IDENTIFIED FROM THE TRANSCRIPT · source
“And so they added this feature called async await. It's also seen in other languages like Swift and JavaScript and many other places as well. AsyncWait and Mojo is amazing because we have a high performance heterogeneous compute runtime underneath the covers that then allows non-blocking I.O. so you get full use of your accelerator. That's huge, it turns out. It's actually a really important part of fully utilizing the machine. You talk about design discussions That took a lot of discussions right and it probably will require more iteration. And so my philosophy with Mojo is that we have a small team of really good people that are pushing forward and they're very good at the extremely deep knowing how the compiler and runtime and like all the low level stuff works together But they're not perfect. It's the same thing as the Swift team and this is where one of the reasons we released Mojo much earlier is so we can get feedback and we've already renamed a keyword”
2023-06-02 · Lex Fridman Podcast · #381 – Chris Lattner: Future of Programming and AI · IDENTIFIED FROM THE TRANSCRIPT · source
“That allows way more expressive asynchronous programming. Again, this is a Python's a beautiful thing, and they did things that are great for Mojo for completely different reasons. The reason that Async Await got added to Python, as far as I know, is because Python doesn't support threads. And so Python doesn't support threads, but you want to work with networking and other things like that that can block. I mean, Python does support threads. It's just not its strength.”
2023-06-02 · Lex Fridman Podcast · #381 – Chris Lattner: Future of Programming and AI · IDENTIFIED FROM THE TRANSCRIPT · source
“Well, so I mean, let me give you another example of this. Python has a feature called async await. So it's a new feature. I mean, in the long arc on history, it's a relatively new feature, right?”
2023-06-02 · Lex Fridman Podcast · #381 – Chris Lattner: Future of Programming and AI · IDENTIFIED FROM THE TRANSCRIPT · source
“Basic things like this, right? But it's extremely powerful when you do that. And so there's a bunch of things like that that kind of combine together. And this comes back to the, you get a chance to do it the right way, do it the right way, and make sure that every brick you put down is really good so that when you put more bricks on top of it, they stack up to something that's beautiful.”
2023-06-02 · Lex Fridman Podcast · #381 – Chris Lattner: Future of Programming and AI · IDENTIFIED FROM THE TRANSCRIPT · source
“Potentially, yeah, exactly. So the compiler has to reason about this, and this is where again it's experience building languages and not getting this right. So again, you get another chance to do it.”
2023-06-02 · Lex Fridman Podcast · #381 – Chris Lattner: Future of Programming and AI · IDENTIFIED FROM THE TRANSCRIPT · source
“Yeah, and it's all in the compiler, so it's not at runtime, which is also cool. And so. Yeah, and so, and this is actually non trivial because you have control flow. And so it gets complicated pretty quickly. And so Amstright was not.”
2023-06-02 · Lex Fridman Podcast · #381 – Chris Lattner: Future of Programming and AI · IDENTIFIED FROM THE TRANSCRIPT · source
“You mean it within It's, yeah, exactly. So you can only use something within its scope. And so then it doesn't wait until the end of the scope to delete it. It destroys it after the last use”
2023-06-02 · Lex Fridman Podcast · #381 – Chris Lattner: Future of Programming and AI · IDENTIFIED FROM THE TRANSCRIPT · source
“Yeah, well, I mean, it's generally trivial. It's after the last use of it. So if you define x as a string and then you have some use of x somewhere in your code,”
2023-06-02 · Lex Fridman Podcast · #381 – Chris Lattner: Future of Programming and AI · IDENTIFIED FROM THE TRANSCRIPT · source
“This has a bunch of different impacts on, you talk about reference counting optimizations and things like this, a bunch of very low-level things. And so what Mojo does is it has a different approach on that from any language I'm familiar with, where it destroys them as soon as possible. By doing that, you get better memory use, you get better predictability, you get tail calls that work, you get a bunch of other things, you get better ownership tracking, there's a bunch of these very simple things that are very fundamental, that are already built in there in Mojo today, that are the things that nobody talks about generally, but when they don't work right, you find out and you have to complain about.”
2023-06-02 · Lex Fridman Podcast · #381 – Chris Lattner: Future of Programming and AI · IDENTIFIED FROM THE TRANSCRIPT · source