S13 E5: The Dynamic Compute Revolution: Eliminating Cache Invalidation with Julien Verlaguet, Founder & CEO of SkipLabs [0:00:00] Julien Verlaguet: That's, I guess, my experience with programming languages is I tend to listen to people's problems, but very little to people's solutions. I've worked on programming languages for a long time. I've had a lot of people coming back with feedback for me. Usually they know what the source of the pain is, but usually users have a very poor sense of what a good solution is. And that's because they don't care about the rest of the product. They only care about their use of it. And so the solution that they're going to propose is usually a really easy fix for what they want to do, but not necessarily a good fit. My name is Julien Verlaguet and I'm CEO of SkipLabs. [0:00:46] Noah Labhart: This is Code Story, a podcast bringing you interviews with tech visionaries. Six months moonlighting. There's nothing [0:00:54] Clip: on the back end. [0:00:55] Noah Labhart: Who share what it takes [0:00:57] Clip: I don't exactly know what to do next. A company is its people. The teams help each other achieve more. Most proud of our team. [0:01:08] Noah Labhart: Keeping scalability top of mind. [0:01:11] Clip: All that infrastructure was a pain. Yes, we've been fighting it as we've grown. Total waste of time. [0:01:15] Noah Labhart: The stories you don't read in the headlines. [0:01:18] Clip: It's not an easy thing to achieve, mind you. Took it off the shelf and dusted it off and tried it again. [0:01:22] Noah Labhart: To ride the ups and downs of the startup life. [0:01:27] Clip: It's not just about technology. [0:01:29] Noah Labhart: All this and more on Code Story. I'm your host, Noah Labhart. And today, how Julien Verlaguet has turned declarative logic into streaming, keeping views fresh using Skip's incremental compute. Julien Verlaguet is a self-proclaimed French guy growing up in the south of France. He studied in Paris and moved to the U.S. when he was 27, spending 10 years in the Bay Area and 5 years in New York. He spent many years developing software, in particular, developing programming languages. Outside of tech, he is married to a Colombian woman and admits his Spanish isn't as good as it should be. He loves to play Pétanque, merely needing a flat surface to play on. Julien was a lead programming language designer at Facebook the open source release of a new language. What led to this was that he and his team noticed that front-end development was in a revolution with reactive paradigms, while backend architectures remained bogged down by manual steps. In 2022, he stepped out to create Meta-grade infrastructure, usable in everyday software based on this language. This is the creation story of SkipLabs. [0:02:58] Julien Verlaguet: So, Skip Labs really, as the name indicates, it's the company that builds products based on Skip. We open sourced a programming language called Skip that was released by Facebook in 2018. So back then, that was a research project within Facebook. And then once Skip was released, a couple of years later, I decided to found Skip Labs. is to go after products where the programming language gives us an edge, especially when reactive programming gives us an edge. Because we didn't want to be in the business of setting a programming language. And that's just because I heard so many horror stories about anybody who tried that. That, yeah, we decided to build products where the technology that we have gives us an edge. And so right now, we built a product called Skipper. And Skipper is a coding agent that works in a closed loop. So think of it, you can think of it a little bit, you can use it a little bit like a compiler. So you give a spec that you want to dig into the process and then you let Skipper iterate on that and it will produce something that works. Yeah, so we have also built development environments for JavaScript. You can check it out. It's skiplabs.io. And that's for anybody who wants to use reactive programming from JavaScript. And then we also built a clone of SQLite. So it's a database that works like SQLite, but that is also reactive so we can listen to queries. But we've shelved this project for now. So we kept a lot of the underlying technology in our stack, but the SQL engine itself, we've shelved it for now. [0:05:00] Noah Labhart: Let's dive into the MVP for SkipLabs, but then also for Skipper. but I'm curious about how you went about building that. What sort of tools you're using? And obviously, probably Skip is at the root of that. But what kind of tools you're using to bring it to life? And how long did it take you to spin up? [0:05:18] Julien Verlaguet: What we're trying to do with Skip is really two different things. So first, we realized that basically coding agents are a reactive system. First of all, let's define what a reactive system is, because otherwise I think a lot of people are going to be confused. Reactive is a term that is a little bit loaded. Depending who you're talking to, it can mean different things. So to some people, it means streaming. And to some others, it means spreadsheet semantics. I don't mean streaming. So when I'm reactive programming, I don't mean streams. I mean something that works like a spreadsheet. So you change something and then the rest of the sheet updates. So for me, that's reactive programming. And so that's what Skip is for. Skip is a programming language that basically generalizes the way Excel works or the way ReactJS works this way too. So ReactJS, you pretend that the app that you're trying to build doesn't change. So that's how React works, right? Your job as a developer is to develop your app as if it was in a frozen state and not think about updates. And then when you change something, it's the role of the framework to make the update for you, right? So you are the one defining the dependencies, but you're not explicitly saying what should happen when a change occurs. That is the job of the framework. So that's what I call reactive programming. And Skip is basically a whole development environment slash programming language designed specifically for that. defined reactive programming, but turns out that a coding agent has very many cases where reactive programming is really a good fit. Think about it. Basically, what a coding agent does is that it makes changes. And once those changes are made, it needs to go and update its state and knowledge about what is left to be done in the system, right? And that is exactly what what reactive programming is for. So if you try to write it by hand, which you can, meaning you can write reactive systems without a reactive programming language, but if you do, what you'll end up doing is maintaining a bunch of caches by hand. And when you do that, trying to do your cache invalidation by hand, it's going to lead to a bunch of bugs and you're probably gonna get it wrong. So skip is a good way of getting this right. So that's for the harness. The second part of the story is that we've built a bunch of tools to help the coding agent produce better code. And one of them is a reimplementation of TypeScript that we've written from scratch that is both sound and incremental. And then we've built a bunch of tools on top of that implementation. But the idea here is you have an AI that's going to produce a lot of code. and you want a harness that a really constrained development environment to provide feedback to this AI. And the only way this is going to work well is if the tooling that you provide is very fast, has a very low latency. And to build this kind of tooling, the only way to make that work at scale is to have an incremental implementation of your tools. And that's where Skip comes in. To get back what got us into Skipper, two dimensions. One, that is that reactive programming is just a good bit to write to harness. Two, we had a bunch of tools in mind where we knew we could help an AI produce better code. And we just coupled them together and that gave birth to Skipper. [0:09:16] Noah Labhart: You've got Skipper then. How are you progressing and maturing it? And I think to wrap it in a box a little bit, what I'm looking for is how do you build your roadmap for Skipper or really for any of the products you build at SkipLabs? But how do you go about deciding that, OK, this is the next most important thing to create, address or build for Skipper? [0:09:38] Julien Verlaguet: So there's two separate ways. There's one that is more vision driven, where you have something in mind. And that's when I say you, it's not necessarily me. It could be somebody else on the team. somebody on the team could come to me, which is actually what happened with Skipper. Somebody on the team could come to me and say, hey, I really think I can build this thing. I think it's a game changer, et cetera, et cetera. So that's why I would call more vision-driven. And it's typically what you're going to do when you're going from zero to one, when basically there's really not much there. You need a vision to drive what you're going after. And the goal of the person who is driving the vision is to convince the rest of the team take. The other way is just more natural and I would say easier is once you have something then it's more like feedback driven. So the one thing though and that's I guess my experience with programming languages is I tend to listen to people's problems but very little to people's solutions. I've worked on programming languages for a long time and so they've had I've had a lot of people coming back with feedback for me and usually they know what the source of the pain is but usually users have a very poor sense of what a good solution is and that's because they don't care about the rest of the product they only care about their use of it and so the solution that they're going to propose is usually a really easy fix for what they want to do but not not necessarily a good fit for how the product should work. So yeah, two ways to go about it. One that is more vision driven, the other one that's more feedback driven. [0:11:22] Noah Labhart: Yeah, no, that makes sense. And it feels a little different than what I normally hear with building just a normal product and building a language, building something that's built around the skip language. Seems like you have to lean more on that vision than user feedback. Am I hearing that correctly? [0:11:38] Julien Verlaguet: Yeah, it really depends on where we are time of the product but when you're building a company that is built around the technology you will have to take shots like that where you will have to try to build something based on that technology and see if it sticks right so imagine for example a company that has been very successful at that is Temporal, right? So Temporal, the goal of the company was to build a framework for durable execution at a time where durable execution didn't exist, right? And so they couldn't go around and ask, hey, do you think durable execution would be something you would use or want to do some kind of market study, right? Because if you do that, then basically asking people's opinion on something that doesn't exist is not going to work. So they needed to have that vision and drive that vision. and if it works and once it picks up, then it's a huge reward, but it's also very risky because you will know very late if your vision is going to turn into a viable company. But I think that's not how every company operates and that's not how every company should operate. But for a company that's based on a vision, on a technology, then this vision-based approach is really what I think you should strive for. [0:13:06] Noah Labhart: Okay, so I'm curious about team, right? How do you go about building your team for the people at Skip Labs that are building these products? You got to have the right people at the helm. I'm curious about what you look for in those people to determine that they're the winning horses to join you. [0:13:20] Julien Verlaguet: So for me, I've been really blessed in that regard because I basically only worked with people who I used to work with. So I have a good network of people. And usually the people who I hire, those are people who I used to work with in the past. And we agreed that it was really fun to work together and we wanted to work together again. And so 100% of the people who I hired so far are people who I've worked with in the past and I wanted to work with them again. But if you don't have that luxury, then I really wouldn't know how to go about it because that's 100% of my recruiting is through my network. So I don't think I have much insight here to bring to someone who's trying to put a kick-ass team together if they don't have a network. [0:14:17] Noah Labhart: Okay, Julien, let's move into scalability. This will be interesting. Scalability could be technical scalability for products, for Skipper, for all the things you're building at SkipLabs, but it could also be scalability for SkipLabs itself. I think both are interesting topics. I'm curious about how you approach those and if there's been interesting areas where you've had to fight scale as you've grown. [0:14:42] Julien Verlaguet: So far, no. I would say we haven't had big scaling issues so far with the product. I'd say I had scaling issues when I was back at Meta. But right now, the architecture that we have in place is relatively straightforward to scale. A couple of sharding here and there, load balances, but nothing too complex from a technical perspective. And scaling the team, we're a team of 10. So far, we don't really have scaling issues. So I wouldn't say I have any interesting scaling war stories with SkipLabs so far. [0:15:23] Noah Labhart: Julien, as you step out on the balcony and you look across all that you've built thus far with SkipLabs and even beyond, what are you most proud of? [0:15:32] Julien Verlaguet: I'll definitely skip the programming language, Skip. I'm most known for Hack because Hack had a big impact at Meta. I think it's still the language they use the most at Meta. Maybe not these days, I don't know. For their business logic, for sure. In general, I don't know. But yeah, most people would know me for the work I did on Hack. But for me, Skip was really the most difficult technical challenge I ever undertook. And I don't think I'll build something more complex in my career. So I think that was the defining moment for my career, for sure. [0:16:12] Noah Labhart: Okay, Julien, let's flip the script a little bit. Tell me about a mistake you made and how you and your team responded to it. [0:16:20] Julien Verlaguet: I was working on Skip. And one of the things that we wanted for pilot to WebAssembly. And the reason is we back then had a bunch of ideas of why WebAssembly would be a good target and I can get into the details. But back then I was being very naive about it and I thought that because our runtime was written in C++, we could compile that C++ to WebAssembly. And I was very naive about it because I heard of Emscripten, I I heard, oh yeah, they have a compiler. But so I thought, yeah, how hard could it be, right? We can take our C++ and compile it to WebAssembly. I didn't expect it to work from the get-go. I knew that would probably be a couple of fixes to do here and there, but I didn't realize how far it was. It's absolutely impossible to just take a modern C++ code base and compile it to WebAssembly through Emscripten. That's just impossible. possible. You can use C++ if that's a decision that you made from the get-go, but you're not going to adapt a C++ project and compile it to WebAssembly and just work. Because there are just so many things that aren't supported, so many things that don't work. Like very simple things like exceptions are not supported. At least if you want them supported, you have to turn on an option and that option basically uses a shadow stack and then your program is 15x slower. So that's never going to work. So here I am with my skip runtime and all written in C++. I try to compile it. I try to shake it as much as I could to make it work with Emscripten. Nothing is working. So I'm like, okay, fine. I'll rewrite the runtime in C and it was a very bad version of C library does not compile to WebAssembly. So it was C without a standard library. So C without malloc, C without pretty much anything that you would need to make C bearable. So it was super low level C. So some people in the audience are gonna, are gonna ask themselves, why didn't he just use Rust? Two reasons. One, I didn't know Rust very well at the time. Two, the kind of stuff that I had to do was very nasty. So it's a garbage collector and to write a garbage collector, you need to... There is a bunch of tricks that you have to use in the runtime and steal bits and do all sorts of unsafe things. So I don't know that Rust would have gained me that much. So that's why I chose C. So here I am writing a runtime in C, in a version of C that doesn't have a standard library. And I need basic things, right? So I need to, so since I'm writing a runtime, I'm manipulating pages and I need to figure out if a pointer is part of this region or that region or these pages and that group of pages. So I need basic things like sorting and binary search and this kind of stuff to work. So I need a sort and of course I don't want to write my own sorting function. function. So I go on the internet and I pick the first Quicksort implementation that I find. So I take this function, write a few tests for it, and it works. And then I keep on using it for the rest of the runtime. Everything works great. But then I hit a stack overflow and I realized by looking at the implementation that they had a very naive version of Quicksort where where the pivot that they were choosing was always the first element. And I realized that I was like, yeah, that's a weird choice. So I just adjust the algorithm so that it chooses a different pivot. And I fixed my stack overflow problem. All right, great. The problem is it was one of those versions of C that is completely unreadable, where you have an expression with plus plus, minus minus everywhere. And it's very compact. And I didn't pay attention, but in fact, that version of quicksort only worked if the pivot was the first element. So me changing the pivot to another element, I in fact broke that algorithm. But I broke it in a very subtle way and it was working most of the time. And so here I am with a version of quicksort that passes all my tests, actually sorts almost always, but doesn't read. And I end up with a bug down the road that was like, I was looking up a pointer in a bunch of pages. And because those pages were not properly sorted, the binary search would say that the pointer was not in those pages. So it would treat that pointer as if it was reference counted. And if it was reference counted, then you were supposed to have some memory area right before the pointer where you had to increment a reference count. it was doing and in fact was corrupting the data from the objects that were just before and it took me forever to fix it so the hardest bug i had to deal with in my life was non-deterministic bugs so bugs that come from you know race conditions especially at scale so these are definitely the hardest one but this was the hardest deterministic bug that i had to chase And God, I was banging my head against the walls. I will never copy paste code from the internet ever, ever, ever again. [0:22:05] Noah Labhart: Okay, so let's move forward then. What does the future look like for Skip Labs? For what you're offering for Skipper, for other products you're thinking about building, for where the industry is going, all the things. Tell me about what the future looks like. [0:22:17] Julien Verlaguet: I think the future is going to be very exciting for people who are building tools. And Skip is uniquely positioned to build tools that both scale and are incremental, because that's really what we're good at. And so let's imagine the future with two companies. So let's assume that both companies are actually shipping code using AI, right? And of course, not 100% of it, but a good bunch of the diffs that they produce, let's say in five, 10 years from now will be written by AI. So if company A, in company A, you have an AI that's producing changes. And every time there's a change that occurs, it's let's say a 1 million line code base, you have to rerun all the tests, you have to run CircleCI and whatnot, and then you have to deploy deploy and that takes maybe an hour, right? Company B, the whole tool chain is incremental. The code itself is also reactive slash incremental. So when a diff comes in, you can take it in less than a second and deploy the change also in less than a second. If those two companies are competing, which one do you think is going to win, right? So that's a rhetorical question, obviously. I think given that AI is now in the mix, the bottleneck is going to switch to tooling very soon. It hasn't happened yet because the tokens are still too slow to be generated, but it's only a matter of time. We are investing a ton of money into making those models smaller and faster and also in hardware. The amount of money spent on this kind of stuff is unprecedented, I think, in human history. These models are going to get faster. Once they get, let's say, 10, 100, 1,000 times faster, the bottleneck is going to become the tooling. They will produce a ton of code, and we won't have the infrastructure to take into account that code, to take that code in. And that's where reactive programming kicks in, and that's where I think skip labs can really shine. [0:24:32] Noah Labhart: Let's switch to you, Julien. Who influences the way that you work? Name a person or many persons or something. and why. [0:24:40] Julien Verlaguet: There are people who I worked with in my career, but most people wouldn't know them. My personal hero when it comes to programming is Fabrice Bellard. So he programmed FFmpeg. He's written QEMU. He's written all sorts of things. Everything he writes is everything I like. It works very fast. It's well put together, very useful to a lot of people. So yeah, he's a personal hero of mine. Outside of him, oh yeah, there's Xavier Leroy. So he's the creator of OCaml. And he also now has, he's driving CompCert. I don't know if he's still doing that, but he was back in the days. So he's written a C compiler that is proven to be correct formally, but his first project was OCaml. So he was, he also had a lot of influence And what they both have in common, which I think is what I like the most in programmers, is when a programmer is both good at theory and practice. So I like when somebody has been educated on theory, they understand whatever theory it is they're working on. So it could be algorithmics, if that's what they do. It could be programming languages, could be logic, could be distributed systems. It doesn't really matter, but I like the fact that people have had a formal education on certain things. And then when those same people are also extremely pragmatic and just love to ship stuff that actually works, that is something that just makes my eyes sparkle. [0:26:22] Noah Labhart: Julien, last question. So you're getting on a plane and you're sitting next to a young entrepreneur who's built the next big thing. They're jazzed about it. can we show it off to you right there on the plane? What advice do you give that person having gone down this road a bit? [0:26:37] Julien Verlaguet: A lot of it is not technical. So that's the advice I would give myself if I were to engage on that path. When you are a technical person, you have a tendency to think that you can treat everything like a technical problem. And it's true to some extent. And in fact, when that works, it's great. So for example, when you want to deal with both. So let's say you want to think about the growth of your company. If you think about it like an engineering problem, that's probably going to give you an edge. So you should approach that like an engineering problem. But most of the problems you're going to face when you start a company will have nothing to do with how good your product is or how technical you are. A lot of it is going to be convincing investors that you are the right company to invest in. and that is all going to be about narrative. And if you are a very technical person, if you are an engineer, maybe you just want to show that you have the fastest product that can ship the most code or whatever metric that you're very proud about. It's not going to be about that. It's going to be broader narratives. So the advice I would give that person on the plane is make sure you understand that building a company is a lot more just building a cool technical product. And there are people who've built amazing things who've ended up nowhere because they did not listen to that advice. [0:28:08] Noah Labhart: That's fantastic advice to point out. Julien, thank you for being on the show today. Thank you for telling the creation story of SkipLabs. [0:28:15] Julien Verlaguet: Thank you. Thank you for having me. [0:28:18] Noah Labhart: And this concludes another chapter of Code Story. Code Story is hosted and produced by Noah Labhart be sure to subscribe on apple podcast spotify or the podcasting app of your choice and when you get a chance leave us a review both things help us out tremendously and thanks again for listening