Brought to You By: • Statsig - The unified platform for flags, analytics, experiments, and more. • Sonar - The makers of SonarQube, the industry standard for automated code review • WorkOS - Everything you need to make your app enterprise ready. - Andrey Breslav is the creator of Kotlin and the founder of CodeSpeak, a new programming language that aims to reduce boilerplate by replacing trivial code with concise, plain-English descriptions. He led Kotlin’s design at JetBrains through its early releases, shaping both the language and its compiler as Kotlin grew into a core part of the Android ecosystem. In this episode, we talk about what it takes to design and evolve a programming language in production. We discuss the influences behind Kotlin, the tradeoffs that shaped it, and why interoperability with Java became so central to its success. Andrey also explains why he is building CodeSpeak as a response to growing code complexity in an era of LLM agents, and why he believes keeping humans in control of the software development lifecycle will matter even more as AI becomes more capable. - Timestamps (00:00) Intro (01:02) Why Kotlin was created (06:26) Dynamic vs. static languages (09:27) Andrey joins the Kotlin project (14:26) Designing a new language (19:40) Frontend vs. Backend in language design (21:05) Why is it named Kotlin? (24:37) Kotlin vs. Java tradeoffs (28:32) Null safety (31:24) Kotlin’s influences (39:12) Smartcasts (40:42) Features Kotlin left out (44:54) Bidirectional Java interoperability (55:01) The Kotlin timeline (58:00) Kotlin’s development process (1:07:20) From Java to Android developers (1:12:12) How Android became Kotlin-first (1:18:20) CodeSpeak: a language for LLMs (1:24:07) LLMs and new languages (1:28:20) How software engineering is changing with AI (1:36:12) Developer tools of the future (1:39:00) Andrey’s advice for junior engineers and students (1:42:32) Rapid fire round - The Pragmatic Engineer deepdives relevant for this episode: • Cross-platform mobile development • How Swift was built - with Chris Lattner, the creator of the language • Building Reddit’s iOS and Android app • Notion: going native on iOS and Android • Is there a drop in native iOS and Android hiring at startups? - Production and marketing by https://penname.co/. For inquiries about sponsoring the podcast, email podcast@pragmaticengineer.com. Get full access to The Pragmatic Engineer at newsletter.pragmaticengineer.com/subscribe
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
Why would anyone create a new programming language today if AI can already write
SPEAKER_01most of your code? Andrey Bresla has an interesting answer. Andrey is the creator of Kotlin, a language that runs on billions of Android devices and is one of the fastest growing languages in the world. Today we cover... How Andrey designed Kotlin by deliberately borrowing ideas from Scala, C Sharp and Groovy, and why he considers leaving out the ternary operator one of his biggest regrets. Why making Kotlin interoperate seamlessly with Java was a gigantic undertaking, and what it took to get it done. How Kotlin adoption went through the roof after Google announced it making it the official language for Android,
SPEAKER_01in a move that even took Andrey and the Kotlin team by surprise. Andrey's new project Codespeak, a new programming language built on English, designed for an era where AI writes most of the code. If you're interested in the future of programming languages from someone who built one of the most loved languages of today, then this episode is for you. This episode is presented by Statsik, the unified platform for flags, analytics, experiments, and more. Check out the show notes to learn more about them and our other season sponsors, Sonar and WorkOS. Andrei, welcome to the podcast. Hello, thank you for having me.
It is not often that I meet someone who designed such an influential language
SPEAKER_01across mobile, across backend.
SPEAKER_03So let's start with how did it all start? Okay, so that was a little messy because I went to school back in St. Petersburg, studied computer science, and I didn't really know exactly what kind of programmer I wanted to become. I knew I wanted to be a programmer. And then, you know, at some point while I was still in the university, I started teaching programming in school. And, you know, it was a big passionate hobby of mine. And then at some point I got a job with Borland and worked in
some developer tools.
SPEAKER_03You know, that was awesome. Like Borland was a very big name. And, you know, they went under pretty soon after I joined. And I hope it's not because of me. Yeah, but I worked on the... It was at the tail end of the UML era, so we were doing some developer tools in the UML space. That was very interesting. I learned a lot, but then Borland went under, and I went back to teaching full-time, and then I started PhD school, and, you know, all that was kind of not really planned out.
SPEAKER_03And in my PhD, I was working on domain-specific languages, and generally I was interested in languages. It was... Something I was curious about and specifically typed languages were interesting. I was always curious about how these things worked, but never really serious. When I started looking into DSLs, it was slightly more serious, although my PhD was a mess and I never defended because of that. But at some point, you know, someone reached out. It was actually a person who was in charge of the Orleans office in St.
SPEAKER_03Petersburg. And by that time he was already at JetBrains. And he reached out to me while I was in Tartu in Estonia. I was there for a year on it because I was a visiting PhD student. It was a lovely time. So he reached out and invited me to when I next visit St. Petersburg to visit the JetBrains office there and talk about something about languages. What I thought was that it was about this project called MPS, Metaprogramming System, that JetBrains had.
SPEAKER_03I knew about it. It's about DSLs. I worked on DSLs. You know, it was generally something plausible that they would be interested in talking about something like that. But it turned out I was completely wrong. And what they wanted was to start a new programming link. And I was completely unprepared for that. Like, you know, I've never thought about doing something like this. And my first reaction was, you don't do new language. Like, you don't need it.
SPEAKER_03And the basic pitch was that the Java ecosystem needs a new language. Java is outdated, so on and so forth. We can talk a little more about this. It was 2010, I think. Yeah, 2010. Yeah, and I was like, but there are other languages. Like, everybody's doing fine. Why do you need to do that? And then this conversation was actually a very insightful one because the guys at Jabrains, they simply explained to me how the things actually were. And, you know, it was a big problem by that time.
SPEAKER_03So Java didn't really evolve and hadn't been for a long time.
SPEAKER_01What was the reason behind this? Can you take us back for those of us who are not in the ins and outs? Yeah, so the last major version of Java by 2010 was Java 5 that was released in 2004. Ooh, six-year-old language.
SPEAKER_03Yeah. And since then, there were updates. There was Java 6 that made no changes to the language at all. And then there was Java 7 that made minor changes. In parallel, there were things that were happening in other languages, especially C Sharp, was progressing very well. And by 2010, C Sharp had all the nice things. There already were lambdas, like hardware functions and all that nice stuff. There were getters and setters and many other things that made the language much nicer.
SPEAKER_03And Java felt like it was standing still. And there was a project to work on lambdas for Java, but that was in the works and had been in the works for a long time and only came out in 2014. So that was the situation. And, you know, the ecosystem didn't stand still in the sense that other people were building languages. There was Scala, there was Groovy. And, of course, people at JetBrains knew both Scala and Groovy. They built tools for them.
It's traditional to build your tools in the language you're building the tools for. So the Scala plugin was built in Scala, and there was a lot of Groovy used at JetBrains as well.
SPEAKER_03So they knew what the issues were with the language. And both languages are very interesting and very good in their own ways. But they saw an opportunity in the market because basically Groovy was too dynamic and too far from, you know, hardcore mainstream, large scale production. Because dynamic languages are not for that, basically.
SPEAKER_01What are dynamic languages for? What are their strengths and like best use cases?
SPEAKER_03So the trade-off, I guess, if you look at a statically type language like Java and Kotlin and Scala, for example, versus dynamic languages like Python and Ruby and JavaScript and Groovy, in dynamic languages, it's very easy to start and build something working very quickly because basically the language is not in your way as much. There's this saying that nothing limits the imagination of a programmer like a compiler.
SPEAKER_03And, you know, this may be changing nowadays a little bit. And this is in part what I'm working on now. But back in the day, it was completely true. You know, the whole art of making good language was to restrict the user in a good way. Yeah, but in any case, the situation with dynamic languages is that they are much more user-friendly in the beginning. But then when the project scales... you'll have trouble making large refactorings.
SPEAKER_03You have trouble making sure that everything works together. You need to do a lot more testing and rely on other things like that, as opposed to static languages where you have precise refactoring tools and other things that can make sure that at least a certain class of problems just doesn't happen. And this is why, at least in our mind back then, It was absolutely clear that if we're building a language for large projects, big teams, so on and so forth, it has to be a static language.
SPEAKER_01Static one, yes.
SPEAKER_03Yeah, so with Groovy, that was a big issue of performance as well because Groovy was building a dynamic language on top of a very static runtime, so there was quite a bit of tension there. So that wasn't the groovy side and the Scala side. Scala is a wonderful static language and incredibly powerful and with tons and tons of good ideas. But it had its own problems. It relied very heavily on implicits, for example. And I have a history of debugging one line of Scala for an hour to try and figure
SPEAKER_03out what it does. Just because, you know, it was... pretty complicated. And also the compiler was very slow and there were issues of stability and many, many things were just not accessible enough for a lot of engineers. So from the experience of using Scala JetBrains, my colleagues basically understood that it's not what's going to change the industry. Although Scala got a lot of adoption. And again, like Martin Andersky, he is a great language designer.
SPEAKER_01I think one of the biggest use cases was old Twitter. A lot of it was built on Scala and they scaled to, however, massive scale, et cetera.
SPEAKER_03And I think LinkedIn as well. Yeah, so in any case, these were, you know, it's always very nice when other languages kind of pioneer things, and then you can build on top of their successes and failures. And we were in that position, basically. So the argument that people at JetBrains were making was basically about... There is a window of opportunity. People need this language. We, JetBrains, are the company who can actually put out a language and make it
successful because
SPEAKER_03we have access to the users, we have their trust, we can make good tools. And it was another issue with Scala, for example. It was very difficult to build tools for Scala back then. Now Scala 3 is more tooling friendly. But back then it was a nightmare. Like I said that, you know, if you have a static language, you can't have precise refactorings. if the language is not too complex. And, you know, some languages are particularly challenging. So Scala back then and C++ were incredibly challenging to make precise tools for. So that was the basic pitch.
SPEAKER_03And I quickly understood that, yeah, they were right. And this was something... That was worth a shot in the sense that it was not completely hopeless, not completely dead in the water. I had no idea if we could pull it off. It was then when we actually sketched like some initial features on the whiteboard. Just because JetBrains is generally run by engineers. Hold that thought from Android on how JetBrains is genuinely run by engineers.
SPEAKER_01This is because I happen to know another company also run by engineers, Sonar, our seasoned sponsor. If there's a time when we need true engineers, it's now. As AI coding assistants change how we build software, code is generated faster than before. But entering basics remain important. We still need to verify all this new AI-generated code for quality, security, reliability, and maintainability. A question that is tricky to answer. How do we get the speed of AI without inheriting amounts of risk? Sonar, the makers of SonarCube, has a real clear way of framing this.
SPEAKER_01Vibe, then verify. The vibe part is about giving your teams the freedom to use these AI tools to innovate and build quickly. The verify part is the essential automated guardrail. It's the independent verification that checks all code, human and AI generated, against your quality and security standards. Helping developers and organizational leaders get the most out of AI while still keeping quality, security, and maintainably high is one of the main themes of the upcoming Sonar Summit. It's not just a user conference. It's where devs, platform engineers, and engineering leaders are coming together to share practical
strategies for this
SPEAKER_01new era. I'm excited to share that I'll be speaking there as well. If you're trying to figure out how to adopt AI without sacrificing code quality, join us at the Sonar Summit. To see the agenda and register for the event on March the 3rd, head to sonarsource.com slash pragmatic slash sonar summit. So everybody I talked with were deeply in the weeds with IDs and everything and new
SPEAKER_03programming languages very well. And, you know, we had a very technical discussion. So I don't remember exactly all of the features we're talking about, but the current syntax for extensions in Kotlin was already there. And I don't remember why exactly we focused on extensions, but it was there. So, you know, from day one, we're basically building on top of ideas from other languages, like extensions obviously came from C-sharp. Yeah, so it was a very exciting conversation.
But I didn't make a decision then because I was in Tartu and I needed to finish there.
SPEAKER_03And it took me a few months to finish. And then I came to St. Petersburg for one month because after that I had an internship scheduled with Microsoft Research. in Redmond so I was going to Seattle to stay there for like three and a half months and I was like okay guys so I have this month I can work in the office and we can try to sketch things but then I'll go into Microsoft and then I will decide whether I commit or not which in hindsight I mean Well, I made the right decision in the end.
SPEAKER_03I had a great time for this month or so. I worked with the guys in the office. It was mostly Max Schaffer who we were working with. And it was incredible. Like, we had such great discussions. And I actually saw Max this morning. And it was like, it was a great time. So then I went to Seattle, did something completely different. Their Microsoft researchers saw really great researchers working there,
actually was exposed to the top-notch level of academia for the first time,
SPEAKER_03was very insightful. But after that, I kind of realized what the question was, whether I want to sort of try to pursue an academic career, which, you know, I didn't feel like I was really built for that and was not sure whether I can be like a good researcher in my own or I'll have to follow in somebody else's footsteps versus like do a crazy thing and build my own language here. And I'm like, OK, I'm doing the crazy thing.
SPEAKER_01So for those of us engineers, which will be the majority, who have not built a language from scratch, how do you start with it? Like, you know, we know, speaking for myself, I know how to write code. I know how to open editor. I know how to write Hello World and a more complex app and even more complex one. How does a language start? In our case...
SPEAKER_03We basically talked a lot for a few months. So it's, I think not everyone is like that, but I think the best when I'm talking to people. And this was the ideal environment because we were basically discussing things with Macs constantly for many months. And there were a few presentations internal that I made at Jebrains and some of the slides survived. So I can see, including my spelling mistakes in the slides, my English wasn't as good then.
SPEAKER_03And you can see some of the evolution through those slides. And I think there's a recording of one of those presentations. So we were basically doing whiteboard design for some time. And the great thing about doing this at JetBrains was that there were a lot of people with opinions about not so much how to make a language, but what problems do programmers face and what they like and don't like in other languages. So I had tons and tons of input from other people and very good people.
SPEAKER_03So that helped. And I really, I don't think I realized how special that environment was back then. Like I was 26, to be clear. And I had no idea how things were done in general. But somehow these people just trusted me at I'm not sure it was very rational on their part. It worked out. But I'm not sure I would recommend anyone to do this.
SPEAKER_01And so in the first few months, I understand that you kind of whiteboarded and you kind of wrote down how you want this language to evolve. You kind of, you know, like, wrote out, like, we're going to have these features. Or how can we imagine?
SPEAKER_03I guess the easiest way to explain this would be like this. So it basically went off what the pains were with Java. And there were quite a few and there was a lot of experience of using Java across the community and inside JetBrains. And we kept making lists of things we wanted to fix and I came up with some ideas and some other people suggested other ideas about how things can be fixed and what is an actual problem and what we don't care about and so on and so forth. And for some time it was just,
SPEAKER_03you know, pieces of the puzzle basically laid out in a table without fitting together and then at some point we started fitting them together. And I was just doing a lot of that in my head, which is not the best way, but this is how I knew how to do it. There were also some crazy ideas that we thought were important back then. For example, I wanted to implement multiple inheritance, fully fledged multiple inheritance. Mm-hmm.
SPEAKER_01Which was a dumb idea. Multiple inherits, meaning that a class can inherit from like several classes. Multiple classes, yeah. And you have to take care of like conflict resolution and all sorts of edge cases.
SPEAKER_03Right, yeah. So the actual challenge is not so much conflict resolution in terms of methods, but initialization of state. Constructors are really hard. And it was actually someone outside of Gibbons who explained to me that was a very bad idea, and I'm very grateful to them. Yeah, so, you know, there were crazy ideas as well, and some of them just fall off. over time as we were discussing or prototyping. And I think I started writing code maybe six months in or something like that.
SPEAKER_03Maybe a little earlier than that. And I started with a parser and it was actually, it was also a very unique way to start a language because the idea was to start not with a compiler, but with an IDE plugin. I have it in the editor first. Which is, you know, an IDE plugin shares a lot with the front end of the compiler. So it's not absolutely crazy. But I was just relying a lot on the infrastructure that was available in IntelliJ IDEA. So all the parsing infrastructure. And it was awesome.
Like, parsing infrastructure in IntelliJ IDEA is better than anything else in the world.
SPEAKER_03Because it's the heart of the IDE. It has to be incredibly fast and very robust and so on and so forth. But then later, someone who knew the infrastructure a lot better than I do, had to factor that bit out to make the Kotlin compiler autonomous. And it was Dmitry Zemirov who did that. And he's an awesome engineer. Like, he's probably one of the best people to refactor a large code base and then, like, take this one bit out of something that was already 10-plus years old back then. So we started with this IDE plugin. I think Max wrote the scaffold and I actually plugged in the
parser and everything.
SPEAKER_03And that was an interesting start because it was very interactive. So I could show off the language as if it existed because it had some tooling, but I couldn't compile anything in the very beginning. And that was actually a very good way to experiment with the syntax. But then soon after I started working on a full-fledged frontend and on some translation and Dmitry and Alex Kachman were working on the backend, everybody was part-time.
SPEAKER_01When you say you work on frontend, they work on backend. In a language context, what does that mean?
SPEAKER_03It's slightly different in different languages, but basically the frontend is what deals with the syntax and with the checking and understanding what the program means. And the backend is what translates to the executable code. In our case, the frontend is like reading the text and parsing and doing types and all that. And the backend generates Java bytecode. And Kotlin has multiple backends for different target languages. Like we have Java backend, we have a native backend for our like iOS and other native
platforms and JavaScript
SPEAKER_03backend, Wasm backend. At that time, nobody was full-time working on this project. Even I was part-time a PhD student and part-time Kotlin developer. And it was like the very early days. And then at some point I gave up my PhD and focused 100%. Which was also like, isn't it a weird decision to start a new language part-time? Yeah. Looking back, I was young and stupid. Yeah.
SPEAKER_01There's a saying that we didn't do it because it was easy. We did it because we thought it was easy.
SPEAKER_03Absolutely that. I didn't realize how hard the problem was. I also had an unreasonable amount of hubris. I just thought I knew how to do everything. I didn't, but it worked out in the end.
SPEAKER_01So when the language started, what did you call it internally? There's always internal code names, right?
SPEAKER_03Right, yeah. So I don't think there was a discussion of this first name at all. It was generally understood that the language will be named Jet, and it was logical. So we had all the code base was using the name Jet. We had JetParser and JetEditor or whatever, JetHighlighter, something like that. And then someone realized that the name was trademarked by someone else. And it was actually people we know, they are in the Novosibirsk in Russia,
SPEAKER_03doing something, it's not a language, but it's a compiler. And we couldn't use it. And this is when we started looking for another name. It was very painful. Like looking for names, guys, this is so bad. It's one of the worst things because you never know what name will work unless you want to do like an extensive study. And then all the good names are taken, of course. And then some of the names that are not taken are not taken because they're not really Googleable. And,
you know, some people are just very brave, people who named their language Go. This is why people now call it Golang, because otherwise you can't identify it.
SPEAKER_03It's a verb in English, a very common way. Yeah, so we had weird options. And in one of my old presentations, I found a list of early names. And we had Robusta there as a flavor of coffee. And we had Up, for example, or G, or something else like that. and those weren't great. By that time, other languages were popping up, and one of the alternative languages was called Ceylon, and the logic was that Java was the island of coffee,
SPEAKER_03and Ceylon was an island of tea, and Dmitry Shemirov basically looked out of the window and said, okay, we have an island here in St. Petersburg. In the Gulf of Finland, there's a big island called Kotlin, and it's a good name in the sense that It's very Googleable. Nobody uses it for anything. It's very recognizable. It's not super smooth for many languages, but it's kind of okay. Nobody was in love with that name. And we were kind of hesitant. And, you know, kot means a bad thing in German.
SPEAKER_03And also there is like some negative connotation in Mandarin, I was told, or something like that. You know, it's always some language has some nasty association with any word. And we basically were super hesitant. So when we announced... And we had this deadline. So we were basically putting this off. When we announced, we were still not sure. So we decided it would be a codename. We called it Project Kotlin to have a wiggle room to later replace the name, but it stuck. The first thing we did,
we put out basically a confluence page with a description of a language. It was just a bunch of wiki pages and there was no compiler available, no nothing.
SPEAKER_03And there, you know, the word Kotlin appeared many, many times. And I was like, my God, this thing doesn't, like, I can't do search and replace and then change the name everywhere. So the workaround that I came up with was create an empty page called Kotlin. And so it has a name. And then everywhere else, you mention it as a page. And when you rename a page, it gets renamed everywhere. So this is why there was an empty page called Kotlin in that documentation. But yeah, the name stuck. And it turns out to be not a bad name.
So when it started, what were the main differences with Kotlin compared to Java?
SPEAKER_01Because Java was the big one. How did you explain to developers who initially started onboard or wanted to give it a go?
SPEAKER_03Yeah, I guess there were a few major selling points, and then there were other things on top of that. When we started, like in the very beginning, we didn't have null safety in mind. Null safety came a little later. After one of the internal presentations, it was Max Trafirov who invited Roman Yelizarov, who later was the project lead for Kotlin. and roman came and listened to the presentation gave some feedback and said like guys if you want to do something really big for enterprise developers figure out
null safety and we did and it took a while so in the very beginning it was the general idea of like what makes java feel so outdated and there were a bunch of
SPEAKER_03things lambdas were very big The general, like the general feeling from Java back then was it was very verbose. It was called the ceremony language. You know, a lot of people were grumpy about too many keywords like public static void main is something everybody was really grumpy about. But also, you know, there were getters and setters for every property. There were constructors and overloads and all that stuff that looks like boilerplate because it is.
SPEAKER_01Yeah. It's super annoying to type out. Yeah, and you know, the problem with boilerplate is, on the one hand, it's annoying to type out.
SPEAKER_03But tools can generate it for you and fold it and so on and so forth. But the bigger problem is always readability. So... Reading is more important. Reading code is more important than writing code. We do a lot more of that. And with boilerplate, it's terrible because if some tiny thing is different in the middle of completely standard boilerplate code, you'll miss it. You become blind to it and you can debug for days not seeing that. So, you know, that was the point of sort of modernizing Java,
making Java programs be more about what they do and less about the ceremony of
SPEAKER_03making the compiler happy, basically. And, you know, type inference was also a big thing because Java was repeating types a lot and many other things like that were like semicolons. You know, the modern languages of the time already got rid of semicolons.
SPEAKER_01And so in Kotlin you also got rid of it?
SPEAKER_03Yeah, yeah. So we got rid, basically in terms of syntax, we got rid of semicolons and duplicated types. And that was a lot of noise across the code.
SPEAKER_01What does it mean that Java had duplicated types?
SPEAKER_03Yeah, so in that version of Java, when you declare, say, a local variable, you say it's a list of string called strings equals new area list of string.
SPEAKER_01Oh, yes. I remember this one. Yes, yes. You need to type it out twice. And if you get one of them wrong, compiler, etc.
SPEAKER_03Right, so at best, you could omit the second mention of string by using a diamond operator, but that only came later, you know. Basically, it was very verbose, especially if your types are long. Like, if it's just a list of string, it's sort of not so bad, but if it's a map from something to a list of string, for example, that's already really long, and you don't want to read that. So, and a bunch of things like that were really annoying to a lot of people, especially compared to C Sharp or Scala.
SPEAKER_03So we did all of that. And then, you know, on top of that, there were other value add features and null safety was a big thing that we spent multiple years actually on implementing. And I think it's one of the main differentiating factors now for Kotlin alongside with extensions and other things. But null safety is one of the core features.
SPEAKER_01And can we just spell out why null safety is so big? I mean, just today I came across a bug. I couldn't send a package because in JavaScript, in the Dutch Post website, there's a null issue happening in production. But before Kotlin and a lot of languages, why is it such a big problem? It is.
SPEAKER_03Yeah, so dealing with null references is a big hassle in most languages. And I think it was... Tony Hoare, who called it the billion dollar mistake at some point, because like introducing, I think it was about introducing null pointers to C or something. So basically, when we look at all the runtime errors that we have in Java code, I think null pointer exceptions will be at the top.
SPEAKER_03You know, the type system of the language is supposed to protect you from those unexpected errors. So there are errors you're designed for and maybe errors that are not even your fault, like a file system error or something like that. But there are also errors that should be prevented by the compiler. So for example, class cast exception or missing method error, for example, are things that the compiler is trying to protect you for. It's trying to make sure that this never happens in your program unless you switch off the check by making an enforced cast or something.
SPEAKER_03Yeah. And with nulls, it's not a thing in Java. Like anything can be null. And if it's null, it will just fail.
SPEAKER_01It throws an exception and program dies.
SPEAKER_03It's a very common thing. So a lot of people are kind of used to it. And there are like different ways of being disciplined about it and so on and so forth. But basically, this is a plague across any code base. You know, there are different approaches to this. And in Kotlin, we took the approach of A, enforcing it in the type system, but also making it free at runtime.
SPEAKER_01What does that mean that you made it free? So one very common way of dealing with nulls is to use something like an option type where you have a box which might be empty or might have an object in it.
SPEAKER_03And that box is not free. Like you have to allocate it, you have to carry it around everywhere. And, you know, this easily creates a lot of objects in the old generation for the garbage collector. So it can be challenging. And what we did was just have a direct reference. At runtime, our nullable or not null reference is the same as Java's reference. All we do is compile time checking and some runtime checking when we cross the boundary. But that's a lot cheaper than allocating objects.
SPEAKER_03Although, you know, the runtime is getting better and they kind of can optimize some of those objects away. But still, it's an overhand. What are features that you took in from Kotlin that were inspired by other
SPEAKER_01languages that you admired?
SPEAKER_03A lot of them. I have an entire talk about this. It's called Shoulders of Giants. And we really learned from lots and lots of languages. And it was always the point. Andrei just mentioned how Kotlin was built on top of the shoulders of giants,
SPEAKER_01taking good ideas that existed, not reinventing them. This was one of the reasons Kotlin succeeded as much as it did. But jumping forward from 2010 to 2026, one thing that is totally different today is the speed of things. AI is allowing nimble teams to build faster than ever before. Companies that used to take years to move into the enterprise are doing it in months. This speed creates a new problem. Enterprise requirements, authentication, security, access controls show up almost immediately. This is where WorkOS, our seasoned sponsor, comes in.
WorkOS is the infrastructure layer that helps AI companies handle that complexity
SPEAKER_01without slowing down. SSO for enterprise buyers, MCP offer agenda workflows, even protection against free trial abuse with radar. Teams like OpenAI, Cursor, Perplexity, and Vercel rely on WorkOS to power identity and security as they scale. If you're building AI software and want to move fast and meet enterprise expectations, check out WorkOS.com. With this, let's get back to Andrei and how Coughlin was standing on the shoulders of giants.
SPEAKER_03So the slogan for Kotlin was pragmatic language for industry. And the pragmatic bit, which is a nice sort of nice rhyme with your podcast, the pragmatic bit was kind of coming from the experience with Scala being called an academic language and a lot of people having trouble getting their heads around a lot of the very smart tricks in the design. And so our idea was, like, we're not doing academic research here. We're not trying to invent anything. Like, if we don't get to invent anything, it's a good thing,
not a bad thing. And I think from the engineering perspective, it's generally a good idea to do this.
SPEAKER_03Usually you end up making something new. But most of what you're doing... shouldn't be very new because you want familiarity you want people to easily grasp what you're doing and this has to be familiar from other languages and also if you're taking you know building on top of the ideas of other languages you have the benefit of them having tried it and you can look at their designs and their community's reactions and all that and the implications all over the place and that gives you a huge benefit
SPEAKER_03So we did a lot of that. And I think the language that influenced Kotlin the most is, of course, Java, because, you know, the entire runtime of Kotlin is the JVM and we depend on that. But apart from that, Scala had a huge influence and we used so many ideas from Scala, from, you know, primary constructors and data classes and VALs and VARs and all these things, and to some interesting tricks about how generics work, for example, you know, variants,
SPEAKER_03declarations of variants, is a great idea of Martians. And it's a huge pity that it didn't make it into Java design. It was flipped at the very end of the design process to what Java has now. And it's definitely, the Martians idea was much better. We had to sort of, on the boundary, on the Java boundary, we had to fix the problem of Java having it different than figured that out there were like many many ideas we took from Scala and that was very helpful and we usually we transformed those ideas a little
bit to adapt to to our setting and to build on the knowledge of how it actually works in practice and we left some things out we simplified some things for example Scala had traits and
SPEAKER_03traits are a very powerful construct where it's it's it's like an interface and you can have method implementations uh in traits but also in scala traits you could have fields as well properties that what you couldn't have was constructor arguments like you have always have a default constructor and can initialize all your fields and it's not as bad as multiple inheritance and so plus plus But it's still a little complicated when it comes to in what
order you're calling
SPEAKER_03the constructors that we decided we don't want to deal with that. It's a complex algorithm. It's hard to explain. Let's just get rid of the state and interfaces and only have method bodies. I think it was a good compromise, especially given that Java ended up in the same place. It was easier to integrate. Yeah, so Scala was a big influence. C Sharp was a very big influence. Extensions, of course, and we learned quite a lot from how C Sharp compilers do things. There, there was also one particular trick that makes Kotlin syntax a lot nicer,
SPEAKER_03nicer than Java's and nicer than Scala's. that we'll learn from C-sharp. And it was actually my colleague who worked on the C-sharp ID who told me about this, which is basically a super pragmatic thing they do in C-sharp. There is like, when you call generic functions, you use angle brackets inside an expression. But the thing is that there is no such thing as angle brackets. There is less and greater. Yeah. Right? And the parser can easily get confused and think that this expression,
SPEAKER_03since we're not in type context, it's an expression context, this expression is a comparison. It's not an inequality, right? It's not a call. And this is mathematically unresolvable. It's, it's an ambiguous grammar. Yeah. Look, you can do anything about it. And, uh, the way other languages handle this is Java, for example, when you are passing, uh, type arguments to a call, it has to be after a dot. So you say collections dot angle bracket.
SPEAKER_01Yeah.
SPEAKER_03The function name. Really awkward. Yeah. And the way Scala deals with that, they use square brackets for types. And then arrays can't use square brackets, so they use round brackets. Which is unfamiliar. Like, it's not the end of the world. Scala is doing fine, but still. And C-sharp uses angle brackets because there's a hack in the parser that basically disambiguates ad hoc. And we did the same or something very similar.
SPEAKER_03And it just works. And the syntax is very familiar and very intuitive. And we're very happy about that.
SPEAKER_01Yeah, because when you read it, as a person, I never get confused. Like, this is not a smaller sign. Like, I know it's a genesis. Yeah.
SPEAKER_03Yeah, so most of the time it's not a practical problem. Yeah, and there is a way to disambiguate if you like. So C-sharp was a big influence. Groovy was a big influence as well. JetBrains used Groovy for build scripts. And there were incredibly useful patterns in the Groovy syntax that they call builders, which is not about building programs, but building objects. And this is what inspired... Something fairly novel that we did in Kotlin, which was types builders,
SPEAKER_03where we had the same syntactic flexibility or almost the same syntactic flexibility as Groovy, but it was all types and we could make sure that all the arguments matched and so on and so forth. So all that side basically was inspired by how groovy people did this and reworked into a typed setting. And this is why we have, for example, extension function types. And this is why we have dangling lambdas and other things that are actually very nice syntactic constructs. So yeah, many, many things came from different languages.
A less known language called Gosu, I think it was what inspired us to do smartcasts.
SPEAKER_01What are smartcasts?
SPEAKER_03Oh, yeah. So I think smartcasts are one of the nicest things a compiler can do to a developer because it's a very common situation when you say, if x is string, so you do an instance of check, basically, then do something with x. The annoying thing is that in a lot of languages, you have to cast X to string again.
SPEAKER_01Like you've done the check. After you've done the if, you know it's a string, but then you need to write it out again.
SPEAKER_03Yeah. So you've just done the check, but you have to say string again to make the compiler happy. So smart casts basically get rid of that. So that cast gets figured out automatically. If that's a string and then inside the bracket, you can now use it because it's a string.
SPEAKER_01Yeah.
SPEAKER_03Yeah, you can use it as a string. And isn't it an easy thing, right? So nice. Yeah, it's a very nice thing. Yeah, it's a pretty complicated algorithm. Because, you know, variables can change values and the check that you've just made can go stale. And, you know, there's a bunch of algorithmic trickery around this. And you can't do a smart guess on any expression. It has to be a certain type of expression that can't be stable enough. and so on and so forth but you know it's a very nice thing and you can get rid of so much noise in the code because like all the code in the
world is riddled with this instance of cast instance of cast we wanted to get rid of that and it worked and it was fun to implement what were things that you looked at other languages
SPEAKER_01you considered maybe we should bring it in. But you, after debate, you're like, no, let's just leave this out. Like not all of them, obviously, but some of the big ones that kind of came close. We had a design for pattern matching Kotlin that was inspired by functional
SPEAKER_03languages like Scala and Haskell and others. But at some point, it was early on when I was still working on the parser. I just realized that this is a huge feature. So when I was sketching it out on a piece of paper, it looked like a very useful thing, you know, and just another feature in the language. But then when I started working on the parser, I realized it's an entire language in size. Like you have to create a parallel universe in syntax for
pattern matching.
SPEAKER_03And I was like, okay, this will be a lot of work. Let's postpone it. And then later on, when we were doing review for 1.0 or maybe a little earlier than that, I just realized that smart casts plus we have something called destructuring, together they give us like 80% of all the good things pattern matching can do to normal developers. And then there is another group of developers that can be very vocal, which are mostly compiler developers. and people super into functional programming and they have a
point but that point is only relevant to them and there are not very many that we decided to not have pattern matching back then and you know maybe there comes a day that better matching gets added to kotlin and pattern matching is is it in in the case yeah it's uh so you can have like a lot nicer case statements a lot more expressive ones
SPEAKER_01right
SPEAKER_03Yeah, so generally, so Conlet has this compromise where you have our version of switch case, which is called when, and you can have smart costs there. So you can say like when my expression is a string and then use it as a string or it is a pair and then you can use it as a pair. so that kind of gives you a lot of the niceties of pattern matching but some things you can't express like and you know that was i think it was a good compromise because it's a really big feature it's hard to design well
there will would be a lot of work on the tooling side so you know but maybe it gets in the roadmap one day i'm not sure java is trying to get towards pattern matching so we'll see maybe
SPEAKER_03they kind of make it more mainstream
SPEAKER_01Why did you admit the infamous ternary operator, which is when you write out something, the question mark and the dot, and it confuses new developers every single time if you've not seen it before. Was it for readable reasons?
SPEAKER_03This is the saddest story, I think, in the design of Kotlin. I didn't realize how much people liked it. And yeah, so the reason was, so Kotlin used this principle from functional languages that everything we can make an expression is an expression. So if is not a statement and Kotlin is an expression. And the ternary operator is the sort of a patch on the design on C and other C-like languages that makes an if expression,
SPEAKER_03basically. And the logic was, okay, we have if as an expression already, can we just get rid of this extra syntax construct, especially given that it's using very precious characters? Like there is a question mark and a colon, and we might tag find some other use for that. So we decided to not have it. We used question marks for nullable things and the columns for types and so forth. But it turned out that if as an expression is pretty verbose, people don't like it.
SPEAKER_03And like I resisted for some time. And then by the time I agreed, it was too late because you can't retrofit the ternary operator and the current syntax in Kotlin because it just doesn't agree with how other operators have done.
SPEAKER_01So you're actually sad about it not being there a little bit.
SPEAKER_03I think in retrospect, it was a mistake because, you know, pragmatically, it's more use than harm to have it, but we just can't retrofit it. What are some other interesting features that you like about the language that you
SPEAKER_01added that we could just explain for those who are not familiar?
SPEAKER_03Okay, so the good ones, there's quite a lot of them. So one feature that is not a traditional kind of language feature is Java interoperability. That's probably the single thing we spent the most time on. And I always say that, you know, if someone offers you a job to create a system that interoperates transparently with another huge system you don't control, ask for a lot of money.
SPEAKER_03It's a very tricky deal to figure this out.
SPEAKER_01Interoperability means that from Kotlin, you can invoke Java and from Java, you can invoke Kotlin. And I mean, you do a bunch of work there, but it just works in the end as a developer. You don't need to think about it.
SPEAKER_03Yeah, so the idea is whenever you have a Java library somewhere in the world, you can always use it from Kotlin. And it was a big selling point. Because, you know, if you start as just a language in a vacuum and you don't have any libraries, that's not a good start. In this direction, definitely it was an absolute requirement for Kotlin. But also we had the requirement to go the other direction. In an existing project, you could just rewrite parts of your code from Java to Kotlin
and everything keeps
SPEAKER_03working. And some libraries actually did that. And many projects started using Kotlin bit by bit. You know, a lot of people started with just writing tests. But then, you know, you start adding things in Kotlin, new things, for example. And all the Java code around that has to transparently use the Kotlin code. So we put a lot of effort into that. And that was fun.
SPEAKER_01Can you explain to us as engineers, like, you know, it sounds like it was a friggin' big project. Yeah. What is the work, right? Because from the outside, again, I'm just being your average developer. We're like, all right, I'm invoking, okay, I'm invoking a Java class and things I can think of like, well, maybe, you know, Kotlin or Java doesn't support things in a certain way or maybe, but I mean, is it really that hard? What is hard? Tell me, tell me, I'm dying to know.
SPEAKER_03So one thing to note here is that we don't control the Java compiler. So we somehow need to make it work so that in your Java code, you make a call into something that only exists in the Kotlin source. And the Java compiler somehow agrees to call it to begin with. It's not a Java file. It doesn't know it exists. So the way it actually works is when we build a mixed project, what we do is we first compile all the Kotlin code and that can
depend on the Java
SPEAKER_03sources in the project. So we have a Java front end baked into the Kotlin compiler so we can resolve everything in the Java code. And then we produce class files, so binaries for the JVM that the Java compiler can read. So when Java compiles, it takes Kotlin sources as binaries. And this is how it works. So, you know, we would have to implement a Java compiler otherwise. Fortunately, Java has separate compilation.
this works so this trick means that you know whenever you have in your tooling like in in your id for example when you navigate from java sources to kotlin sources has to be a special trick so someone needs to go and teach the java world to know about kotlin well of course the id doesn't do the compilation to navigate but in in the compilation time we don't control the compiler so we we did our own id so we could do something about the java tooling but we couldn't do anything about the java
SPEAKER_03compiler So that's trick number one. And then, you know, when it comes to incremental compilation, it becomes even funnier because Java incremental compilation is a complex algorithm on its own. And now we are incrementally compiling two languages at once. And that's fun. And, you know, incremental compilation algorithms are generally a very messy, very complicated heuristic that you have. So, you know, there are tons of corner cases. So that's like one example. But then... You know, you start making interesting new things in Kotlin.
SPEAKER_03You need to expose them to Java. You need to make sure that whatever fancy thing you have, Java can actually interoperate with that. And one example there would be Kotlin. We figured out how to make Java collections nicer in Kotlin without rewriting the collections using the same library. So Java collections are what's called invariant because they're all read-write. So if you have a list, it always has a set method.
SPEAKER_00Yep. And that's a little bit of a problem because whenever you have a list of object,
SPEAKER_03you cannot assign a list of string to that. And that's a little annoying because, you know, you want to be able to represent a list of anything and you need to play with question marks, wildcards and stuff like that. It would be very nice if we had a read-only list interface that doesn't have a set method, and then there is no problem in assigning a list of SAP classes to a list of superclasses. But this interface doesn't exist at runtime, right? We can't just invent it. Or can we?
SPEAKER_03So we actually can. No. And so in the Kotlin compiler, we have this... layer of trickery, specifically for Java collections, where Kotlin always sees Java collections, like if they come from the Java world, they are read-write, mutable collections, we call them.
SPEAKER_01Mutable, right?
SPEAKER_03Yeah, so the Java collections are always mutable, or platform mutable, I'll talk about that later. But when you do it in Kotlin, you can actually distinguish between read-only mutable collections, and it's all very nice on the Kotlin side. But then when Java sees the Kotlin collections, they are normal again. Like when we expose them through binaries, the Java world always sees them as normal collections. They're mutable for Java, and it's all right.
SPEAKER_01Okay, I'm starting to see why you said you need a lot of money for this, because this is just one of many things, but this itself sounds like, I don't know how you solved that.
SPEAKER_03Yeah, so just to add a little bit of detail to this. So the nice thing about those read-only collections is that you can pass a list of string for a list of object, right? Wouldn't it be nice if a Kotlin method that takes a list of any could accept a list of string in Java? But aren't we erasing all the Kotlin nice stuff? We are, but we know that this list is actually what's called covariant.
So we can expose it to Java as a list of question mark extends and not just list of object.
SPEAKER_03So, you know, it becomes covariant for the Java world as well. And that's like one hack that makes it a little more transparent. And there's a bunch of them. So, you know, so that's another thing that we had to play with. But the biggest thing is, of course, nullable types. And actually, we handle nullable types and these things with collections kind of similarly, which makes the whole typing layer of the interop quite interesting. But basically, so Java doesn't know anything about nulls, right?
SPEAKER_01Well, it knows about nulls, but not about nullable types. It does not exist.
SPEAKER_03Yeah, Java doesn't know about nulls at compile time. So in terms of types, it's just not represented. So technically, every Java type is a nullable type. And this is where we started. We said, okay, so Kotlin types can be not null, and it's very convenient. And when you have a not null type, you can just call a method on it normally, right? But if something is nullable, you can't just dereference it. You have to first check for null and then use it, right? Or there is a save call operator, question mark, dot, well, just propagate null if null is on the left-hand side.
SPEAKER_03So we started with saying, okay, all Java types are nullable, which is a conservative, like very mathematical way of treating this is correct, right?
SPEAKER_01Yeah, you're not going to be wrong with that.
SPEAKER_03Yeah, and we implemented that and we started using it inside JetBrains. And the feedback was horrible. Like your code is plagued with those null checks and you know that they shouldn't be there because you can't express anything on the Java side the right way. And there were like, we had some annotations for the Java side. It was also brittle and not always worked because, you know, there can be long chains and stuff. And some libraries just don't have the annotations. And we struggled with that for a long time. And basically, we realized that this assumption that everything in Java has to
be treated as
SPEAKER_03nullable just doesn't work. This was a turning point where we sat down and reimagined the whole thing. And we worked with a great type theory, type practice, I would say, guy from, I think it was back then he was in Cornell, Ross State. So Ross helped me... figure out the sort of mathematical side of how you can represent those types that come from Java and should be, like, we should be aware that they are from Java and can possibly be nullable,
SPEAKER_03but we shouldn't treat them as nullable because it was very inconvenient. And Ross put together a very nice sort of calculus about those, and when we started implementing it, all the nice things are gone. The mathematical beauty is completely gone from all that. And I think we took the general idea of sort of splitting a type in two and everything else is just very messy industrial kind of thing.
SPEAKER_03That's not sound, but it works well. Okay, and interoperatively sounds like it was a journey, but a necessary one.
SPEAKER_01How long did it take? Can you give me just a sense of how many people working on it, how much? Because I think in traditional projects we can get a sense, but I have no idea with the language, how does this work? And how long did you think it would take versus how much it took?
SPEAKER_03Yeah, so let's start with that. So every time I was asked when we were going to release Kotlin, I would say one year from now. Yep. And, you know, this is not a plan. I had no idea. I had no idea. I also had the illusion that the initial version I was building was a prototype and we would write everything. And I'm sure a lot of people out there have been there. I think that prototype has been written more or less completely now, but it took six years,
SPEAKER_03something like that. Yeah. So maybe longer, actually. Yeah, so I had no idea. And I always said like, okay, a year from now feels far enough. We'll probably be done by then. In practice, we started in 2010. Yeah, autumn of 2010, basically. And we released in 2016, February 2016. So, you know, it was a long time, five-ish years. And that,
you know, in part was just because I didn't know how to manage projects.
SPEAKER_03And my initial team, the people who worked full time on the project, I looked up on GitHub to verify that. Everybody who... Almost everybody who joined JetBrains to work on Kotlin was a fresh graduate. Because I used to teach and I had some good students and I knew how to work with students. And so basically everybody on the team was a student apart from a few veterans from JetBrains who were helping,
SPEAKER_03not all of them even full time. So we started getting experienced engineers on the team a bit later. And, you know, to be fair, a lot of those people, you know, people who are following Kotlin know those names. People who are core contributors, who built out, like, absolutely foundational parts of Kotlin joined as fresh graduates. And they became great engineers. But I think I overdid it a little bit. So it's great to have, you know, younger people have no fear.
SPEAKER_03And that's wonderful. But, you know, the balance was not right. How big was the team initially and then towards the release? So we started out basically with four people part-time. And yeah, we went like that for maybe a year or something. So the initial prototype was But like that. And then people started joining in. By the time we released, I think it was around 25 people or something. And the team grew quite a bit. So by the time I left in 2020, it was about 100 people on the team,
70 of them engineers.
SPEAKER_03So it became a pretty big undertaking.
SPEAKER_01Can you tell us about the development process inside language? I think a lot of us are used to building, you know, like services, backend services or products or mobile apps, et cetera. They typically have a release process. How does this work inside a language? Like what is your release process and what is the, I guess, best practices? Like do you even do code reviews or, you know, like how can we imagine? Because again, it feels such a rare project. There are people building languages, but not many of them.
SPEAKER_03Yeah, so one peculiar thing about building languages is what's called bootstrapping when you write your compiler in your language. Oh, nice. Which means that, you know, to compile your code, you need a previous version of your compiler. And you better agree with your colleagues which version it is. It can be really tricky, especially when you do things about the binary format. And there is like quite a lot of bootstrapping magic going on. And I don't think you can reproduce the Kotlin builds from scratch.
SPEAKER_03Because, you know, if you just take a snapshot of the Kotlin repo, you can only build that with a Kotlin compiler. And I don't think we capped all the bootstrap versions. So it might not be really possible without a lot of manual intervention to rebuild all the sources from the very beginning and reproduce all the versions. Because sometimes we had to commit a hack into a branch and use that branch as a bootstrap compiler for the next build and then throw the branch away. So that was like a one-off compiler used to facilitate some
change in the binary
SPEAKER_03format or syntax or something. So that's a separate kind of fun. But generally, I mean, many, many practices are very similar, like had code reviews pretty early on. It's my personal quirk, again, that I like to talk to people. So in code reviews, I often just sat together with someone and either they reviewed my code or I reviewed theirs. But this is, you know, I can't argue that it's much better or worse. It's just how I prefer it because I like talking to people. So code reviews, yes. And of course, we had an issue tracker like everybody else.
SPEAKER_03Ours was always open. So everybody can submit bugs to the Kotlin bug tracker, which was very helpful. It's hard to manage because there will be like with usage, there will be a lot of bugs and a lot of feature requests and all kinds of stuff. But it's worth it. You have a communication channel. Release cadence is a very difficult thing to figure out for such projects. Because one big consideration you have for languages is backwards compatibility. In part,
this is what delayed 1.0 because we wanted to be reasonably sure we can maintain
SPEAKER_03compatibility as soon as we call it 1.0. In part, because it was the expectation, especially Java is incredibly stable and very good with that until Java 9 came about. And... also scala had a lot of trouble because they were breaking compatibility a lot and the community was struggling really so we really didn't want to repeat that but you know there turns out you can even break compatibility python 2 to python 3 and survive so you know barely barely survive they're doing very
well now they're doing
SPEAKER_01well yes
SPEAKER_03Yeah, so we were really serious about that. But basically what it means is you start doing interesting things like deprecation cycles. And so we actually invented an entire tool set for compatibility management. So before 1.0, we tried to help people migrate. So we had those milestone builds. Embarrassingly, we had 13 of those. Yeah. And when we broke the language in major ways, we tried to provide tools for automatic migration.
SPEAKER_01It was nice of you. Which was, I don't think it was a standard practice in industry back then.
SPEAKER_03Now people are doing it more. So I'm like very happy to have sort of popularized this idea. And then when we were preparing for 1.0, we did a major review of everything and took a year to sort of view all the design. And what we're doing is basically trying to anticipate what changes we might want to make or what new features will require and to basically prohibit things that might block that. So we tried to make sure that the changes that we were planning
were guarded well by compiler errors to make sure that users don't accidentally write anything that
SPEAKER_03looks like a new feature. And that was fun. Like we had design meetings, I think every day at some point. Basically working on that, like, okay, let's outlaw this, let's prohibit that. And we prohibited a lot of stuff correctly and some stuff incorrectly. But, you know, generally worked out. So this compatibility thing was a big deal. There's also a lot of stuff that we didn't anticipate. So we had to figure out ways to manage this. And there is something in Kotlin,
in the Kotlin compiler called message from the future.
SPEAKER_02Mm-hmm. which is basically when in a newer version of a compiler you introduce something
SPEAKER_03that the old compiler doesn't understand. We have different options and one option a lot of languages go for is the new kind of binary is completely unreadable for the old compiler. So the version is higher, I don't read it. That's it, I bail. But it's a little hard for people then to manage their versions because new libraries, new versions of libraries come with the new compiler expectations and you have to migrate your entire project to do that. It's a little annoying. And if what you're adding is like one method that basically
invalidates the whole
SPEAKER_03library for an old compiler, that's not great. So what we're doing A newer compiler can write something into the binary that tells the old compiler, okay, this method is what you can't understand, but everything else is fine.
SPEAKER_01Wow, that's smart.
SPEAKER_03Yeah. So we call this a message from the future and like it can provide some details. So there's that. And there's also the discipline of experimental features, which is incredibly helpful. And I am very happy to see other languages doing it now. And even Java does experimental features now, which is wonderful. Andrei just talked about experimental features in programming languages and how
SPEAKER_01that used to be rare back in the 2010s. What this reminded me is that running experiments and production used to also be rare, not because teams did not want to do it, but because doing it meant building a lot of internal tooling around it. Assignment, rollouts, measurements, dashboard, debugging, the whole thing. For a long time, only a handful of companies really pulled this off at scale, companies like Meta and Uber. Which brings me to Statsig. Statsig is our presenting partner for the season. Static gives engineering teams the tooling for experimentation and feature flagging that used to require years of internal work to build.
SPEAKER_01Here's what it looks in practice. You ship a change behind a feature gate and roll it out gradually, say to 1% or 10% of users at first. You watch what happens. Not just did it crash, but what did it do to the metrics you care about? Conversion, retention, error rates, latency. If something looks off, you turn it off quickly. If it's trending the right way, you keep rolling it forward. And the key is that the measurement is part of the workflow. You're not switching between three different tools and trying to match up segments and dashboards after the fact. Feature flags, experiments, and analytics are in one place,
SPEAKER_01using the same underlying user assignments and data. This is why Teams and companies like Notion, Brex, and Atlassian use Statsik. Statsik has a generous free tier to get started, and pro pricing for Teams starts at $150 per month. To learn more and get a 30-day enterprise trial, go to statsig.com slash pragmatic. And with this, let's get back to Andre and experimental features in Kotlin.
SPEAKER_03So we did quite a lot of work. You know, when you're doing something experimental, this is something that's supposed to break. And you want to emphasize this to make sure that the user is aware that, you know, this is something we are not promising to keep compatible. This is something we're going to break. And, you know, we used to put the word experimental in package names for people to understand that this is gonna be renamed. And, you know, warnings when you use language features and we require like
compiler keys to enable
SPEAKER_03language features and stuff like that. It kind of helps. So we did quite a lot of that. So all this is an extra layer. Unlike a SAS system, for example, a compiler leaves behind, not behind, but creates a lot of artifacts that pin down its history in the world. There is source out there and there are binaries out there and you're guaranteed to encounter them. Every time anyone hopes that, no, this is an obscure case, nobody will ever hit that.
SPEAKER_03With enough users, you hit every freaking case. And this is so surprising. And I discovered this fairly early on, I think before 1.0, when we had a few thousand users. I realized that if something's possible, some person out there will actually do it.
SPEAKER_01Now, you got 1.0 out. Can you tell me how... Kotlin grew in popularity. When you released it, what was your target audience? And then how did Android happen?
SPEAKER_03Okay, so that's a complicated story. Let's try to not get off track because this has a lot of sidetracks to it. So when we started Kotlin, we were not really very aware of Android. And I mean, we knew that there was a thing called Android. Kind of ironic.
SPEAKER_01Yeah. From now, message from the future.
SPEAKER_03Right. Yeah. So basically in 2010, we were focused on the majority of Java developers that was all about the server side. Yep. Yeah. Clear. Yeah. So the most money IntelliJ was making was on Spring users. And, you know, everybody knew that this was what the Java platform was about by then. So we were targeting server-side developers, basically, and also desktop developers because JetBrains had probably the
last desktop
SPEAKER_03application written in Java, or at least in swing. So that was the target. It was initially not even a plan to do Android. And Kotlin got some usage for the server side and, you know, it's still there and it's growing there, not as fast as on Android, but still has quite some representation on the server side. But then a few years in, some person on the internet asked us like whether Kotlin works
in Android.
SPEAKER_03And I was like, I heard Android uses Java, so Kotlin should work. We never tried, go and try. And I think it was either the same user or a different user came back and said, like, the tool chain crashes. And it wasn't even the common tool chain. It was the Android tool chain that crashed. And, you know, we looked into it and it turns out that it's some tool in the Android tool chain that's written in C that just fails with the core dump.
SPEAKER_03and it's not very clear what's going on. And we later figured it out. And it turned out that, you know, the Android developers and the people who built the Android platform, they actually read the spec of the JVM. Unlike the people who implemented the hotspot VM, because the hotspot VM, I suspect, came before the spec. So it was the reference implementation, but it was actually specified after it was built. So the hotspot VM was super lenient to weird things.
SPEAKER_03Like, there would be, like, if we put a flag on a class file that was not allowed for classes, hotspot wouldn't care. And we ran everything on hotspot, And so we thought everything was fine. But then the Android side, those were the people who actually read the spec.
SPEAKER_01And they actually implemented it.
SPEAKER_03Yeah, they would complain about everything. And this is why we used Android toolchain as a testing environment, basically. Because, you know, this is how we could get rid of stupid things in in our bytecode and they helped us a lot with validating everything but you know there were some gotchas there and some some legacy stuff nobody cares about in mainstream java just you know were faithfully implemented on the android android platform that was fun
SPEAKER_03So, you know, and at some point, pretty early on, I think, I had this realization that Android was a growing platform, which to me then, I don't think I had much of understanding of, you know, dynamics of markets then. But to me, it meant that there will be a lot of new applications. And it's much easier to start completely new with a new language. So I made sure at some point that we worked well on Android.
SPEAKER_03It was already after the lawsuit. So, you know, the big context to all this was that when Oracle acquired Sun Microsystems, they sued Google for billions of dollars for using Java. And I think that is settled.
SPEAKER_01It was settled in some way. Yeah. And then everyone could go on their own way.
SPEAKER_03Right, but it took years and years to settle. So back then, it was very much a thing. And, you know, so that dispute was somewhere in the background. But, yeah, so basically we saw that a lot of people on Android really liked Scotland.
SPEAKER_01They loved it. Yeah. As soon as it was stable, pretty much. I mean, I think for all the things that you mentioned, right, like it was just so much nicer than Java, easier to write, easier to read, lots of nice features. So, you know, you use Android as a way to actually, you know, make sure that Kotlin compiled correctly. And then why did it take off on Android?
SPEAKER_03Yeah, so the situation in Android was pretty interesting because unlike Java server side that, you know, is kind of under control of the teams that develop on it, in the case of Android, there are devices in the pockets of people, right? And when you have billions of those devices, and those devices don't always update the virtual machine. So people in Android were basically stuck with old Java. And even when Java started progressing,
SPEAKER_03and for example, Java 8 came out in 2014, it was very difficult to roll out this new version of Java across the entire Android ecosystem because it required updates to the virtual machine. And there were workarounds and Retro Lambda really helped and so on and so forth. But, you know, there was still a lot of people stuck with really old Java. So Java wasn't on par with Kotlin or C Sharp in 2014, but it still was much better,
SPEAKER_03like, and solved the major problem. But it was not available to the Android people. So there was a lot more frustration With Java in the Android community. And also, there was Swift on iOS. Oh, yeah. Where, you know, it was a real example of a big ecosystem transitioning from a really dated language to something really nice. Yep. And I think compounding these two things were like the major factors.
SPEAKER_03And also, I mean, we made sure that Kotlin worked well on Android. Also, very fortunately, at some point, Google switched the developer tooling from the Eclipse platform to the IntelliJ platform when IntelliJ was open sourced back in, I don't remember, 2013, I think, or something like that. So, you know, it was, we had a nice plugin because everything worked on the IntelliJ platform and the same plugin worked for Android and many other things like were just very smooth.
SPEAKER_03Well, very smooth. There were a lot of bugs, but reasonably smooth. So it felt like a very good match and a lot of people appreciated that. And we really wanted to somehow draw the attention of the team at Google to, you know, maybe talk about it or something and it just didn't happen. So we released in 2016 and there was, you know, we had some communication with Google in general, but there was no interest in that side. They're like, okay, we, I guess we'll just keep going.
as we do and some people were already building Android applications and well some people were building production applications in Kotlin before we released 1.0 and you know kudos to the brave people because they gave us invaluable feedback but you
SPEAKER_03guys are too brave Yeah, so, you know, it just grew organically. And when we started in the very beginning, I set this internal goal to myself that if we get to 100,000 users, it's a success. Like, I've done well enough if it gets to 100,000. And, of course, it's hard to tell how many users the language has, but, you know, you can kind of estimate that. And I think we were on track to get to 100,000 users during 2016.
SPEAKER_03Because it was growing. It was in the tens of thousands. It looked good. But then some people from Google reached out and said they wanted to chat. And it turned out they wanted to chat about announcing official support for Kotlin at Google I.O. 2017. that would be in like three months from the time of that conversation they were like yeah sure let's do it what do we need to do and it turned
out we had to figure out quite a few things but we managed and i think it was a heroic effort on the side of the google team they did amazing things impossible things there and i have
SPEAKER_03good friends um among them uh now and it was like it was really really close like we could have missed the deadline but we figured it out and yeah on our side also we had to make many things work and figure out how we now interoperate with Android Studio better and then you know how do we set up processes and everything But there was like a big legal thing around it. This is when the Kotlin Foundation was invented and we had to design the protocols for decision-making in the Kotlin Foundation.
And, you know, Google owned the trademark for Kotlin for one year because of legal things. It was basically a guarantee from the JetBrains side until the foundation gets set up.
SPEAKER_03So you can look up the public record. Google was in possession of the Kotlin trademark for a year. But then the foundation was set up and transferred to the foundation. So, you know, it was fun. It was pretty crazy time, but it was amazing to see how happy people were at Google I.O. when the announcement happened.
SPEAKER_01And then usage most of skyrocketed. You probably blew past 100,000 pretty quickly.
SPEAKER_03Yes, yes. I think we went, yeah, we probably got into millions that year. This is what was basically like the moment happening. And, you know, I knew many years before that, I knew that the easiest way for a language to succeed is to be part of a platform. And, you know, like C was part of Unix, basically, or C Sharp was part of Windows, or JavaScript was part of the web platform. And I knew that Kotlin had no platform. So it was supposed to be much tougher time for Kotlin than for
some other languages.
SPEAKER_03But yeah, the platform came along somehow.
SPEAKER_01Jumping forward to a lot more closer today, you left Kotlin in 2020. Later, you left JetBrains. What are you doing right now?
SPEAKER_03Yeah, so I'm also working on a language right now, but it's sort of a different kind of language because the times have changed. And, you know, you can look at it from a similar perspective. Like in Kotlin, we wanted to get rid of boilerplate. We wanted to make programs more to the point and less of a ceremony. And I think this is where we, today we have a great opportunity to do the same thing at a different level.
SPEAKER_01Because of AI, right? Because of AI. It's all because of AI.
SPEAKER_03Yes. AI is great because many things that are obvious to humans are obvious to LLMs as well, which closes this gap between what the machine can understand and what a human can understand quite a lot, which means we might not need to write dumb code anymore. That would be very nice. So on the one hand, you know, the entire history of programming languages is going from lower to higher levels of abstraction. We started with machine codes and assembly was a step up, actually.
SPEAKER_03Assembly language is a higher level language.
SPEAKER_01And then machine code. Okay, yeah.
SPEAKER_03Yeah, and then C was a high-level language back in the day. And then, of course, like managed languages like Java were a great step up and made programming a lot more accessible and like teams could grow and you didn't have to be a super competent programmer to build working software. And then, you know, things like Kotlin built on top of that success and we raised level instructions some more. But now, we can do even better in that app. So you can imagine like a normal program, some application code.
SPEAKER_03A lot of the things in this code are obvious to you and to me. So if you ask me to write this code, you don't spell everything out. You explain what the program needs to do and I can implement it. And it will work the way you want. There are, you know, it depends on how detailed the specification is, but you can tell me a lot less than you would have to tell a compiler.
SPEAKER_02Yeah.
SPEAKER_03Yeah, and so this is the point with Codespeak. We want to basically shrink the amount of information a programmer needs to tell the computer to make the program work. And from my current anecdotal experience, you can shrink a lot of the code about 10x Which means that, you know, a lot of projects out there can be a lot smaller and it will be a lot easier for humans to deal with that and a lot easier to read and reading
is the most important
SPEAKER_03bit and a lot easier to navigate. And it becomes, you know, the essence of software engineering when you are not like dealing with a stupid compiler. You're not restricted by that anymore. What you're expressing is what only you know about what needs to happen because everything else the machine knows as well. So can you tell me a bit more on what Codespeak is or what this language is?
SPEAKER_01Is it designing an actual kind of formal language, just simpler? Is it using, of course, we know that AI and LLMs and agents can do all the funky stuff. Where is this?
SPEAKER_03What is this? Yeah, so I'll try to explain this. So I think the best way of thinking about Codespeak is it's a programming language that based on English. It's not a formal language or not an entirely formal language, but it's a programming language. It's a language that's supposed to be used by engineers, but it uses LLMs heavily. And this is like the way new languages will be. Because, you know, you can think about the ultimate language of today as a normal
programming language
SPEAKER_03that uses an LLM as a library. You know, there was a time where NPM was wonderful because, you know, it's a huge repository of all kinds of JavaScript libraries. The node packet manager, one of the biggest packet managers in the world, right? Right, yeah. So you have a huge library out there that you can all, but now you have an even better NPM, the LLM, that has seen all the code in the world. And if you're inventive enough, you can fish this code out of the LLM.
SPEAKER_01Yeah, you need to know how to prompt.
SPEAKER_03Right. And the trick is, like, it would be really nice to have a programming language that has the entire LLM as a library or as a bag of libraries, right? The trick is to take anything out of an LLM, you have to use natural language. So the query language to this incredible database of all the knowledge is informal. And there is no way at least known today that you can make it formal. So inherently, this ultimate language of today has to be at least in part
informal.
SPEAKER_03And this is what we're working on. So it's still in the air, like how formal can we make it? And, you know, it's not the goal to make it super restricted, but the goal is to leverage all the power and support the user. You know, we need to rule out stupid mistakes and things like that. We're still working on that. But the basic idea is if you, instead of spelling out every line of code and every bit of your algorithm, you can basically communicate intent the same way I can
communicate it to you,
SPEAKER_03you will just get there much faster.
SPEAKER_01So one question that I asked Chris Lautner... was, which I'm going to ask you as well. You're talking about designing a language for software engineers to build software more efficiently, maybe more concise in a new way, and it sounds super exciting. But going to the other side, we have LLMs. Do you think there is a need to design a new type of programming language for LLMs to use more efficiently? That's a very interesting question, and I had a few discussions about this.
SPEAKER_03My position is it's probably misguided because of a number of things. So one, to get an LLM to understand some language well, you need a huge training set. And with the new language, that training set is not there. You can try to synthesize it and so on and so forth, but it's not going to be as good as other languages. Like, for example, right now, the newer languages... are just harder for llms than the more established ones like any llm writes python
better than it writes rust or even kotlin even the llms who that write java very well won't write kotlin as well because it's not as present in the training set because it's younger and you know there are ways around it and i think the later models like added some more kotlin into the rl sets and it's getting better but
SPEAKER_03still like It's pretty hard. And so that's challenge number one. Also challenge number two, I don't think there necessarily has to exist a language that makes it better because LLMs are trained on human language. Their knowledge of programming languages is part of that. Their power is in having been exposed to all the code in the world and its existing code. And inventing a new language for that, I don't know how promising that can be. You can do another thing, which is an interesting research project.
SPEAKER_03You can sort of extract a language from an LLM. Because, you know, internally, it has some intermediate representations of what's going on during inference. And maybe you can sort of extract the optimal prompting language. It's not guaranteed to be intelligible to humans. And there are some experiments that show that, you know, you can create completely unintelligible prompts that give the same results as normal human prompts, but they will be shorter.
SPEAKER_03Maybe you can do something like this. I don't know if it will help a lot. But what we're doing in Codespeak as part of working in this language, we need to really nail down this query language capacity. And what we're doing now is we're looking at existing code. And we're trying to find the shortest English descriptions for this code that can generate equivalent implementations, not necessarily character to character, but they have to work the same way.
And that's an interesting exercise because you need to figure out how to represent
SPEAKER_03the ideas in the code in a way that, A, you can generate the same kind of code, but the ideas you represented were a lot more compact. But also, this code you represent, it evolves over time, right? So you have a commit history on top of this version. And so going forward in time, you need to be able to represent all the changes in your Codespeak version. And you need to make sure that when it's a small change in the original code,
SPEAKER_03the change in the spec is smaller. That's an interesting challenge. So in this way, we're sort of discovering Codespeak as a language, or at least parts of it, and not really designing that bit of it. You know, it's a very new world in the sense that nowadays, if you work with AI, everything is a machine learning problem. And that means, you know, back in the day, if you had a very smart algorithm on paper, you could just implement it and make sure it works. nowadays whatever algorithms you have in mind you need the data
set first of all like if you don't know how to collect a data set don't even start and yeah this is what we're doing so just taking a look at you are using these tools day in day out i mean you're you're building with them how do you think programming as a whole or
SPEAKER_01soft i'll say software engineering is being changed by AI. And how do you think the future is starting to look? Especially thinking about software engineers. You're a software engineer yourself. You've written so much code in your life. And are you still writing code? Yeah, I'm writing some code. Sorry, typing or prompting?
SPEAKER_03I'm doing both. Sometimes I'm just typing. More often, I'm typing with cursor tab completion. I'm doing quite a lot of prompting as well. And, you know, that's a combination of all this. But cursor's completion is really a step up from traditional IDs. And I think the IntelliJ side has something similar now. So it's like a lot of coding, but in a very different kind of mindset and different tool set. Yeah, so in terms of what's happening to programming,
SPEAKER_03I think we are in the early days of the new era. So, you know, it's only last year that we figured out that coding agents are good. Cloud code and cursor agent and so on and so forth. And I think this is a very early step. Right now, we are in this phase where a lot of people are in love with agents and they can be very useful and I use them every day. But I think there are inherent problems with the model, with how you interact with a coding agent,
SPEAKER_03because it's a one-on-one chat. And as a human, I talk to the agent in human language. So I'm communicating my intent on a high level. And that intent gets translated into code. And it's the code that I commit to the repo. And it's the code that my teammates will see. So my chat history is lost.
SPEAKER_01Big problem.
SPEAKER_03Yeah, so it turns out I'm talking to a machine in a human language. But the way I communicate with my team is the machine language. That's kind of backwards. So, yeah, so what we're trying to do in Codespeak is to elevate everything to the human language level. So this is where we start. We say, okay, we have this incredible tool. We can prompt agents to implement code for us. And we are just picking it up. So I think a lot of teams haven't yet realized how difficult it
is to reveal the code. And I've talked to people who are like, maybe we can just not review this code.
SPEAKER_03I'm like, yeah, I mean, you can for a couple of days. And then it just collapses. And I think another big theme of today is that we'll be doing a lot of testing. And you may not need to review the code if your tests are really good.
SPEAKER_01You need to verify it, right? That's what you're saying is verifying might not mean reviewing. Right. Or it could not mean.
SPEAKER_03Yeah, depending on the domain, you might get by without reviewing the code as much, but being sure somehow either reviewing the tests or somehow else making sure that your tests are good. That's a trend and we are putting a lot of effort at Codespeak into automated testing and making sure the tests actually check the right things and that they check all the code and all that stuff. It's very interesting computer science. And also, it's now a question of, especially in the case of Codespeak,
SPEAKER_03and I think for other agents as well, like, yeah, reviewing code can be too much. But can we present the tests we generated to the user in a way that actually verifies that we did what was to be done? It's tricky. Some tests will be just very long and tedious to read. And, you know, we're working on that. And that's where we are. And I think we'll see a lot of development in terms of power of the models and we'll get some quote unquote obvious things implemented in agents.
SPEAKER_03For example, the agents are just starting to use like language servers and basically all the stuff that we've always had for code It's not very utilized. And, you know, if you compare like ID integrated agents like Cursor or Juni at JetBrains, you have a lot of like code navigation capability and, you know, databases of code is indexed and you can navigate it very quickly. You can find things very quickly.
When you run cloud code, for example, it might not have that and use grep. And it will be as successful, but take a lot longer and burn a lot more tokens.
SPEAKER_03So, you know, I'm sure this year all these tools come to most agents and will have a lot more sophisticated scaffolding around the models. So that's one thing. But then, you know, my question is always what's going to happen in the end game or in the further future? And there, it's very hard to predict. And we can assume that models will become much smarter. An important thing is that humans will not. So one thing I know about the future, and it's hard to know the future,
SPEAKER_03but this thing I do know about the future, humans will be as smart or as dumb as they are today. And if we have incredibly smart models, what we will be doing is constrained by how humans are. And this is one of the reasons why I'm working on Codespeak, because Codespeak is a tool for humans, not for models. And humans, I know, I can build a tool for them. I guess an important footnote is that many people will say things like, you know, if we have smart enough models,
they can review the code themselves and they can test the code themselves.
SPEAKER_03But then my question would be like, who's making the decisions here? You know, if all the software engineering work is done by models, it means humans don't have any say in that. And this has a name. It's called technological singularity. When humans are not making decisions, it means we're not in charge. Yep. So this is not the future I'm building Codespeak for. Nobody should build any projects for that future. In that future, we're gone. Your projects don't matter. So my assumption when I'm talking about the future is that the
technological
SPEAKER_03singularity is not happening. And so the basic assumption is humans are in charge. And if humans are in charge, it's their job to communicate intent. So we have to say what kind of software we need to build. And when we're talking about serious software, it's always complex. There's no way there's some very simple thing that will make a difference. And when we talk about this complexity, this is what our jobs will be, like dealing,
SPEAKER_03managing this complexity, figuring out what we actually need to do. And this is absolutely engineering. There is no way someone can tackle huge amounts of complexity without an engineering mindset. It can be called software engineering, can be called something else, but you will have to do it. You will have to navigate this complexity, organize this complexity, figure it out. And I'm not talking about the complexity of many, many layers of implementation, maybe not maybe that is what's called accidental complexity
something that happens uh like or arises from how we implement systems but there is also uh essential complexity how we wanted to behave is complex enough that we need to figure it out and this is why i believe there will be teams of engineers working on systems like today maybe they will be a lot more powerful teams maybe fewer people can deliver a
SPEAKER_03lot more software Yes, but still teams of people working on organizing complexity, and this is what Codespeak is for.
SPEAKER_01Going back to where we are today with what the models can do today, what do you see with developer tools? It feels a little bit of a wild, wild west right now, very much so. I mean, there's a lot of, you know, obviously with cloud code, with cursor, with others, but what are areas Are there areas that you think we will have to see new, different, better tools to actually just catch up with how we can generate? And what parts feel the most messy and the most interesting? Especially because at Kotlin, you have and the team has built so many tools for developers.
SPEAKER_03Right. So I think, as I already mentioned, this year will be the year of making developer tools available to agents. And there are some technical challenges, but you can figure it out. The people will be doing that. There's also... a surprising advantage to using a good UI for your agent. It's very nice to have everything in your terminal in one sense, but then you can have a lot better user experience if it's a dedicated environment.
SPEAKER_03And the terminal tools, especially Cloud Code, are amazing. And it's a complete breakthrough of what you can do in a terminal. But generally, you can do better in a specialized environment. So I think we'll see more of this integration into development environments or just new development environments built from the ground up. to work with agents primarily. So that is an important thing. Since we are putting a lot more emphasis on review, there should be new tools for review.
SPEAKER_03And I think we can do better than what we're doing now in many respects. I don't expect many breakthroughs in testing this year because it's hard. I'm doing it right now. It's hard. It's not going to happen this year. But maybe some advances will arrive this year. But generally, I think the big lesson of the last couple of years is that all the things that were, quote unquote, obviously needed. And, you know, the idea of connecting agents to developer tools was absolutely
the trivial thing
SPEAKER_03to think of two years ago. But they take a long time to happen because it's hard. And, you know, nobody in this industry is lazy. Everybody's working their asses. But it just takes time. You know, you need to figure out the basics before you can do advanced things. So, you know, all the straightforward ideas will get implemented at some point.
SPEAKER_01I think there's been this massive jump with AI, especially over the winter break where the coding agents, the CLIs have become a lot more capable. And I know so many developers who are actually just prompting most of their code, if not all of it. It's just a massive, massive jump. I don't think we've seen anything this fast. I see a lot of engineers scared. because it can shake you to the bone. You know, it took 10 years to get really good at coding and the writing the code part feels that it's kind of going out, you know, the trash can. You yourself have been coded for a longer time. What would your advice be for developers who are feeling like this,
SPEAKER_01that they're feeling, you know, it is scary. I think we, and I talk with some folks, a lot of people message me as well. How are you thinking about this specifically these last few months?
SPEAKER_03It's really hard to give advice. There are a few ideas I can share. So one thing is there's a lot of hype and a lot of it gets to the management and a lot of people make suboptimal decisions, but that will go away. So, you know, there's like more and more news about people not hiring junior developers, for example. This is dumb.
SPEAKER_01It's stupid.
SPEAKER_03This is dumb. This is not going to stay for long. I mean, it's hard to tell how long this can go on, but people will figure out that they need new people in the industry. And a lot of other things can be really stressful in the moment, but some of them will be rolled back. So that's one thing. Another thing, it's absolutely worth it to invest your time into learning these tools and getting good at it. There's a lot of skepticism around in the developer community
about how useful it actually is.
SPEAKER_03And, you know, I tried it on my project and it's no good. There is quite a bit of skill to using these tools. Unfortunately, it's not super formalizable. At least so far, nobody figured out a really good, clear way of communicating how to do it well. But there are people who can do it much better than others. They not always can articulate why their prompts work better, but you can learn it. You can get a lot better at it. And, you know, not necessarily believing everyone on Twitter,
SPEAKER_03you know, some people claim crazy things, but you can be very productive with these things when you use them well. And it's absolutely worth investing into that. And yeah, so as I mentioned before, in the future, it will still be engineers building complex systems. So keep that in mind. It's not like we all go to nothing.
SPEAKER_01And for new grads, people coming out of university, what would your advice be for them who are determined like, all right, I actually want to be a standout engineer. Maybe with these tools, I can do it faster. What would you advise them to focus on either skills or experiences to get?
SPEAKER_03I guess it's a matter of what your inclinations are. If you can just become incredibly productive and put out a lot of working code that is really robust and you can evolve it for a long time, get good at that. And there is a lot to be done there. If you can or like to do harder things... go into the most hardcore things you can and get good at that because it will be
your rare expertise it will be marketable even if that very thing goes away you will just become a lot smarter through that so you know generally like if you have
SPEAKER_03any inclination In looking under the hood and figuring out how things work, go as deep as you can. As a younger person, you have a lot of mental capacity for that. And this helps a lot. You become a very good expert in very wide fields just through, you know, drilling down on many things.
SPEAKER_01Let's close again. I just wanted to do some rapid questions. I just ask and you shoot what comes back. What is a favorite tool that you have? It can be digital. It doesn't have to be digital.
SPEAKER_03Well, I love my AirPods. They're incredibly convenient. They fit under my earmuffs. Well, another tool would be earmuffs.
SPEAKER_01Earmuffs.
SPEAKER_03Incredibly good.
SPEAKER_01Yeah, I saw you wearing it. I'll take that one earmuff. And what's a book recommendation that you recommend and why? There is this classic that's been recommended across the tech community for many years.
SPEAKER_03It's called Zen and the Art of Motorcycle Maintenance.
SPEAKER_01I heard that recommended.
SPEAKER_03Yeah, it's a very good book. I mean, there is a part of it that's about technology and how to deal with the real systems and others, but it's also a very good novel. I really like it.
SPEAKER_01Well, Andriy, thank you so much. This was very interesting and I think inspiring as well. Thank you very much. It was great to chat. It was great. Thank you. The thing that struck me with most from this conversation with Andre was his observation about how we work with AI coding agents today. You talk to an agent in plain English. It generates code. You commit the code. But that conversation, your actual intent, it disappears. You communicate with the machine in human language, but with your teammates in code in machine language.
SPEAKER_01Whether or not Codespeak becomes the answer, what is sure that we're missing an intent layer, and someone is going to figure out how to preserve it. If you enjoyed this episode, please do share it with a colleague who's been thinking about where programming is headed. And if you're not subscribed yet, now's a good time. We have more conversations like this one coming. Thank you, and see you in the next one.
Brought to You By: • turbopuffer - a vector and full-text search engine built on object storage. It’s fast, cheap, and extremely scalable. • Entire - The Git forge for agent-human collaboration. Built for the scale and...
Brought to You By: • turbopuffer - a vector and full-text search engine built on object storage. It’s fast, cheap, and extremely scalable. • Linear - the product development system for teams and agents. • WorkOS -...
Brought to You By: • Antithesis - verify your system’s correctness without human review or traditional integration tests - and avoid bugs or outages. • turbopuffer - a vector and full-text search engine built on object...
Brought to You By: • turbopuffer - a vector and full-text search engine built on object storage. It’s fast, cheap, and extremely scalable • Linear - the product development system for teams and agents • WorkOS -...
Brought to You By: • turbopuffer - a vector and full-text search engine built on object storage. It’s fast, cheap, and extremely scalable. • Entire - Git hosting, rebuilt for the agentic era. Every agent session, prompt...