WEBVTT

NOTE S13 E5: The Dynamic Compute Revolution: Eliminating Cache Invalidation with Julien Verlaguet, Founder & CEO of SkipLabs

1
00:00:00.000 --> 00:00:29.860
<v 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

2
00:00:30.000 --> 00:00:36.260
<v Julien Verlaguet>care about their use of it. And so the solution that they're going to propose is usually a really

3
00:00:36.260 --> 00:00:41.080
<v Julien Verlaguet>easy fix for what they want to do, but not necessarily a good fit. My name is Julien

4
00:00:41.080 --> 00:00:43.840
<v Julien Verlaguet>Verlaguet and I'm CEO of SkipLabs.

5
00:00:46.460 --> 00:00:51.240
<v Noah Labhart>This is Code Story, a podcast bringing you interviews with

6
00:00:51.240 --> 00:00:54.500
<v Noah Labhart>tech visionaries. Six months moonlighting. There's nothing

7
00:00:54.500 --> 00:00:55.260
<v Clip>on the back end.

8
00:00:55.500 --> 00:00:56.900
<v Noah Labhart>Who share what it takes

9
00:00:57.880 --> 00:01:00.260
<v Clip>I don't exactly know what to do next.

10
00:01:03.960 --> 00:01:06.140
<v Clip>A company is its people.

11
00:01:06.140 --> 00:01:07.520
<v Clip>The teams help each other achieve more.

12
00:01:07.520 --> 00:01:08.620
<v Clip>Most proud of our team.

13
00:01:08.960 --> 00:01:11.220
<v Noah Labhart>Keeping scalability top of mind.

14
00:01:11.500 --> 00:01:12.860
<v Clip>All that infrastructure was a pain.

15
00:01:12.860 --> 00:01:14.340
<v Clip>Yes, we've been fighting it as we've grown.

16
00:01:14.520 --> 00:01:15.320
<v Clip>Total waste of time.

17
00:01:15.540 --> 00:01:17.820
<v Noah Labhart>The stories you don't read in the headlines.

18
00:01:18.280 --> 00:01:20.040
<v Clip>It's not an easy thing to achieve, mind you.

19
00:01:20.060 --> 00:01:22.100
<v Clip>Took it off the shelf and dusted it off and tried it again.

20
00:01:22.480 --> 00:01:25.860
<v Noah Labhart>To ride the ups and downs of the startup life.

21
00:01:27.020 --> 00:01:28.980
<v Clip>It's not just about technology.

22
00:01:29.080 --> 00:01:31.040
<v Noah Labhart>All this and more on Code Story.

23
00:01:32.300 --> 00:01:33.900
<v Noah Labhart>I'm your host, Noah Labhart.

24
00:01:34.380 --> 00:01:39.400
<v Noah Labhart>And today, how Julien Verlaguet has turned declarative logic into streaming,

25
00:01:39.980 --> 00:01:43.600
<v Noah Labhart>keeping views fresh using Skip's incremental compute.

26
00:01:49.320 --> 00:01:54.660
<v Noah Labhart>Julien Verlaguet is a self-proclaimed French guy growing up in the south of France.

27
00:01:54.660 --> 00:01:58.120
<v Noah Labhart>He studied in Paris and moved to the U.S. when he was 27,

28
00:01:58.400 --> 00:02:01.960
<v Noah Labhart>spending 10 years in the Bay Area and 5 years in New York.

29
00:02:02.280 --> 00:02:06.940
<v Noah Labhart>He spent many years developing software, in particular, developing programming languages.

30
00:02:07.460 --> 00:02:10.080
<v Noah Labhart>Outside of tech, he is married to a Colombian woman

31
00:02:10.080 --> 00:02:13.120
<v Noah Labhart>and admits his Spanish isn't as good as it should be.

32
00:02:13.400 --> 00:02:17.760
<v Noah Labhart>He loves to play Pétanque, merely needing a flat surface to play on.

33
00:02:20.260 --> 00:02:23.520
<v Noah Labhart>Julien was a lead programming language designer at Facebook

34
00:02:24.660 --> 00:02:26.740
<v Noah Labhart>the open source release of a new language.

35
00:02:27.100 --> 00:02:30.020
<v Noah Labhart>What led to this was that he and his team noticed

36
00:02:30.020 --> 00:02:32.220
<v Noah Labhart>that front-end development was in a revolution

37
00:02:32.220 --> 00:02:33.740
<v Noah Labhart>with reactive paradigms,

38
00:02:33.820 --> 00:02:36.700
<v Noah Labhart>while backend architectures remained bogged down

39
00:02:36.700 --> 00:02:37.600
<v Noah Labhart>by manual steps.

40
00:02:38.080 --> 00:02:42.140
<v Noah Labhart>In 2022, he stepped out to create Meta-grade infrastructure,

41
00:02:42.560 --> 00:02:46.160
<v Noah Labhart>usable in everyday software based on this language.

42
00:02:48.480 --> 00:02:51.560
<v Noah Labhart>This is the creation story of SkipLabs.

43
00:02:58.640 --> 00:03:05.660
<v Julien Verlaguet>So, Skip Labs really, as the name indicates, it's the company that builds products based

44
00:03:05.660 --> 00:03:06.420
<v Julien Verlaguet>on Skip.

45
00:03:07.060 --> 00:03:13.260
<v Julien Verlaguet>We open sourced a programming language called Skip that was released by Facebook in 2018.

46
00:03:13.840 --> 00:03:17.160
<v Julien Verlaguet>So back then, that was a research project within Facebook.

47
00:03:17.660 --> 00:03:22.860
<v Julien Verlaguet>And then once Skip was released, a couple of years later, I decided to found Skip Labs.

48
00:03:24.660 --> 00:03:30.380
<v Julien Verlaguet>is to go after products where the programming language gives us an edge,

49
00:03:30.540 --> 00:03:34.280
<v Julien Verlaguet>especially when reactive programming gives us an edge.

50
00:03:34.440 --> 00:03:37.560
<v Julien Verlaguet>Because we didn't want to be in the business of setting a programming language.

51
00:03:38.040 --> 00:03:43.500
<v Julien Verlaguet>And that's just because I heard so many horror stories about anybody who tried that.

52
00:03:43.660 --> 00:03:50.740
<v Julien Verlaguet>That, yeah, we decided to build products where the technology that we have gives us an edge.

53
00:03:50.840 --> 00:03:53.640
<v Julien Verlaguet>And so right now, we built a product called Skipper.

54
00:03:54.660 --> 00:03:58.800
<v Julien Verlaguet>And Skipper is a coding agent that works in a closed loop.

55
00:03:59.220 --> 00:04:02.020
<v Julien Verlaguet>So think of it, you can think of it a little bit,

56
00:04:02.060 --> 00:04:03.840
<v Julien Verlaguet>you can use it a little bit like a compiler.

57
00:04:04.360 --> 00:04:07.920
<v Julien Verlaguet>So you give a spec that you want to dig into the

58
00:04:07.920 --> 00:04:08.420
<v Julien Verlaguet>process

59
00:04:08.300 --> 00:04:10.560
<v Julien Verlaguet>and then you let Skipper iterate on that

60
00:04:10.560 --> 00:04:11.580
<v Julien Verlaguet>and it will produce something

61
00:04:11.580 --> 00:04:12.600
<v Julien Verlaguet>that works.

62
00:04:21.800 --> 00:04:26.960
<v Julien Verlaguet>Yeah, so we have also built development environments for JavaScript.

63
00:04:27.320 --> 00:04:28.840
<v Julien Verlaguet>You can check it out.

64
00:04:28.900 --> 00:04:30.740
<v Julien Verlaguet>It's skiplabs.io.

65
00:04:31.140 --> 00:04:36.220
<v Julien Verlaguet>And that's for anybody who wants to use reactive programming from JavaScript.

66
00:04:36.480 --> 00:04:40.460
<v Julien Verlaguet>And then we also built a clone of SQLite.

67
00:04:40.460 --> 00:04:47.460
<v Julien Verlaguet>So it's a database that works like SQLite, but that is also reactive so we can listen to queries.

68
00:04:47.800 --> 00:04:50.300
<v Julien Verlaguet>But we've shelved this project for now.

69
00:04:50.480 --> 00:04:58.280
<v Julien Verlaguet>So we kept a lot of the underlying technology in our stack, but the SQL engine itself, we've shelved it for now.

70
00:05:00.860 --> 00:05:06.280
<v Noah Labhart>Let's dive into the MVP for SkipLabs, but then also for Skipper.

71
00:05:06.280 --> 00:05:09.080
<v Noah Labhart>but I'm curious about how you went about building that.

72
00:05:09.200 --> 00:05:10.560
<v Noah Labhart>What sort of tools you're using?

73
00:05:10.680 --> 00:05:12.760
<v Noah Labhart>And obviously, probably Skip is at the root of that.

74
00:05:12.900 --> 00:05:15.740
<v Noah Labhart>But what kind of tools you're using to bring it to life?

75
00:05:15.860 --> 00:05:17.440
<v Noah Labhart>And how long did it take you to spin up?

76
00:05:18.980 --> 00:05:23.060
<v Julien Verlaguet>What we're trying to do with Skip is really two different things.

77
00:05:23.200 --> 00:05:29.380
<v Julien Verlaguet>So first, we realized that basically coding agents are a reactive system.

78
00:05:30.020 --> 00:05:32.520
<v Julien Verlaguet>First of all, let's define what a reactive system is,

79
00:05:32.620 --> 00:05:35.980
<v Julien Verlaguet>because otherwise I think a lot of people are going to be confused.

80
00:05:36.280 --> 00:05:39.200
<v Julien Verlaguet>Reactive is a term that is a little bit loaded.

81
00:05:39.660 --> 00:05:42.580
<v Julien Verlaguet>Depending who you're talking to, it can mean different things.

82
00:05:42.840 --> 00:05:45.200
<v Julien Verlaguet>So to some people, it means streaming.

83
00:05:45.340 --> 00:05:48.200
<v Julien Verlaguet>And to some others, it means spreadsheet semantics.

84
00:05:48.520 --> 00:05:50.220
<v Julien Verlaguet>I don't mean streaming.

85
00:05:50.440 --> 00:05:53.420
<v Julien Verlaguet>So when I'm reactive programming, I don't mean streams.

86
00:05:53.880 --> 00:05:56.780
<v Julien Verlaguet>I mean something that works like a spreadsheet.

87
00:05:57.080 --> 00:06:01.380
<v Julien Verlaguet>So you change something and then the rest of the sheet updates.

88
00:06:01.720 --> 00:06:04.260
<v Julien Verlaguet>So for me, that's reactive programming.

89
00:06:04.460 --> 00:06:05.980
<v Julien Verlaguet>And so that's what Skip is for.

90
00:06:06.280 --> 00:06:15.440
<v Julien Verlaguet>Skip is a programming language that basically generalizes the way Excel works or the way ReactJS works this way too.

91
00:06:15.600 --> 00:06:21.980
<v Julien Verlaguet>So ReactJS, you pretend that the app that you're trying to build doesn't change.

92
00:06:22.180 --> 00:06:24.200
<v Julien Verlaguet>So that's how React works, right?

93
00:06:24.360 --> 00:06:30.900
<v Julien Verlaguet>Your job as a developer is to develop your app as if it was in a frozen state and not think about updates.

94
00:06:30.900 --> 00:06:37.520
<v Julien Verlaguet>And then when you change something, it's the role of the framework to make the update for you, right?

95
00:06:37.700 --> 00:06:45.980
<v Julien Verlaguet>So you are the one defining the dependencies, but you're not explicitly saying what should happen when a change occurs.

96
00:06:46.300 --> 00:06:47.980
<v Julien Verlaguet>That is the job of the framework.

97
00:06:48.260 --> 00:06:51.060
<v Julien Verlaguet>So that's what I call reactive programming.

98
00:06:51.480 --> 00:06:58.920
<v Julien Verlaguet>And Skip is basically a whole development environment slash programming language designed specifically for that.

99
00:07:00.900 --> 00:07:08.060
<v Julien Verlaguet>defined reactive programming, but turns out that a coding agent has very many cases where

100
00:07:08.060 --> 00:07:16.200
<v Julien Verlaguet>reactive programming is really a good fit. Think about it. Basically, what a coding agent does is

101
00:07:16.200 --> 00:07:22.220
<v Julien Verlaguet>that it makes changes. And once those changes are made, it needs to go and update its state

102
00:07:22.220 --> 00:07:28.600
<v Julien Verlaguet>and knowledge about what is left to be done in the system, right? And that is exactly what

103
00:07:28.600 --> 00:07:30.340
<v Julien Verlaguet>what reactive programming is for.

104
00:07:30.520 --> 00:07:33.920
<v Julien Verlaguet>So if you try to write it by hand, which you can,

105
00:07:34.100 --> 00:07:36.040
<v Julien Verlaguet>meaning you can write reactive systems

106
00:07:36.040 --> 00:07:38.820
<v Julien Verlaguet>without a reactive programming language,

107
00:07:39.180 --> 00:07:41.220
<v Julien Verlaguet>but if you do, what you'll end up doing

108
00:07:41.220 --> 00:07:43.440
<v Julien Verlaguet>is maintaining a bunch of caches by hand.

109
00:07:43.900 --> 00:07:45.580
<v Julien Verlaguet>And when you do that,

110
00:07:45.700 --> 00:07:49.180
<v Julien Verlaguet>trying to do your cache invalidation by hand,

111
00:07:49.220 --> 00:07:50.720
<v Julien Verlaguet>it's going to lead to a bunch of bugs

112
00:07:50.720 --> 00:07:52.880
<v Julien Verlaguet>and you're probably gonna get it wrong.

113
00:07:53.140 --> 00:07:56.160
<v Julien Verlaguet>So skip is a good way of getting this right.

114
00:07:56.160 --> 00:07:57.680
<v Julien Verlaguet>So that's for the harness.

115
00:07:58.300 --> 00:08:05.760
<v Julien Verlaguet>The second part of the story is that we've built a bunch of tools to help the coding agent produce better code.

116
00:08:06.420 --> 00:08:14.500
<v Julien Verlaguet>And one of them is a reimplementation of TypeScript that we've written from scratch that is both sound and incremental.

117
00:08:15.340 --> 00:08:19.220
<v Julien Verlaguet>And then we've built a bunch of tools on top of that implementation.

118
00:08:19.720 --> 00:08:25.540
<v Julien Verlaguet>But the idea here is you have an AI that's going to produce a lot of code.

119
00:08:26.360 --> 00:08:35.980
<v Julien Verlaguet>and you want a harness that a really constrained development environment to provide feedback to this AI.

120
00:08:36.240 --> 00:08:44.140
<v Julien Verlaguet>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.

121
00:08:44.560 --> 00:08:52.040
<v Julien Verlaguet>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.

122
00:08:52.180 --> 00:08:53.880
<v Julien Verlaguet>And that's where Skip comes in.

123
00:08:53.880 --> 00:08:57.860
<v Julien Verlaguet>To get back what got us into Skipper, two dimensions.

124
00:08:58.200 --> 00:09:03.380
<v Julien Verlaguet>One, that is that reactive programming is just a good bit to write to harness.

125
00:09:03.860 --> 00:09:11.140
<v Julien Verlaguet>Two, we had a bunch of tools in mind where we knew we could help an AI produce better code.

126
00:09:11.380 --> 00:09:15.100
<v Julien Verlaguet>And we just coupled them together and that gave birth to Skipper.

127
00:09:16.720 --> 00:09:20.740
<v Noah Labhart>You've got Skipper then. How are you progressing and maturing it?

128
00:09:20.740 --> 00:09:29.440
<v Noah Labhart>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?

129
00:09:29.580 --> 00:09:36.800
<v Noah Labhart>But how do you go about deciding that, OK, this is the next most important thing to create, address or build for Skipper?

130
00:09:38.120 --> 00:09:39.620
<v Julien Verlaguet>So there's two separate ways.

131
00:09:39.780 --> 00:09:45.920
<v Julien Verlaguet>There's one that is more vision driven, where you have something in mind.

132
00:09:45.940 --> 00:09:48.140
<v Julien Verlaguet>And that's when I say you, it's not necessarily me.

133
00:09:48.220 --> 00:09:49.800
<v Julien Verlaguet>It could be somebody else on the team.

134
00:09:50.740 --> 00:09:52.480
<v Julien Verlaguet>somebody on the team could come to me,

135
00:09:52.520 --> 00:09:54.020
<v Julien Verlaguet>which is actually what happened with Skipper.

136
00:09:55.140 --> 00:09:57.120
<v Julien Verlaguet>Somebody on the team could come to me and say,

137
00:09:57.220 --> 00:09:59.760
<v Julien Verlaguet>hey, I really think I can build this thing.

138
00:09:59.880 --> 00:10:01.900
<v Julien Verlaguet>I think it's a game changer, et cetera, et cetera.

139
00:10:02.380 --> 00:10:04.540
<v Julien Verlaguet>So that's why I would call more vision-driven.

140
00:10:04.620 --> 00:10:06.240
<v Julien Verlaguet>And it's typically what you're going to do

141
00:10:06.240 --> 00:10:08.480
<v Julien Verlaguet>when you're going from zero to one,

142
00:10:08.580 --> 00:10:10.580
<v Julien Verlaguet>when basically there's really not much there.

143
00:10:10.960 --> 00:10:14.680
<v Julien Verlaguet>You need a vision to drive what you're going after.

144
00:10:15.100 --> 00:10:17.780
<v Julien Verlaguet>And the goal of the person who is driving the vision

145
00:10:17.780 --> 00:10:19.260
<v Julien Verlaguet>is to convince the rest of the team

146
00:10:20.900 --> 00:10:27.700
<v Julien Verlaguet>take. The other way is just more natural and I would say easier is once you have something then

147
00:10:28.180 --> 00:10:33.580
<v Julien Verlaguet>it's more like feedback driven. So the one thing though and that's I guess my experience with

148
00:10:33.580 --> 00:10:41.020
<v Julien Verlaguet>programming languages is I tend to listen to people's problems but very little to people's

149
00:10:41.020 --> 00:10:46.980
<v Julien Verlaguet>solutions. I've worked on programming languages for a long time and so they've had I've had a lot

150
00:10:46.980 --> 00:10:53.940
<v Julien Verlaguet>of people coming back with feedback for me and usually they know what the source of the pain is

151
00:10:54.400 --> 00:11:00.780
<v Julien Verlaguet>but usually users have a very poor sense of what a good solution is and that's because

152
00:11:01.260 --> 00:11:06.980
<v Julien Verlaguet>they don't care about the rest of the product they only care about their use of it and so the

153
00:11:06.980 --> 00:11:12.600
<v Julien Verlaguet>solution that they're going to propose is usually a really easy fix for what they want to do but not

154
00:11:12.600 --> 00:11:15.640
<v Julien Verlaguet>not necessarily a good fit for how the product should work.

155
00:11:15.840 --> 00:11:18.080
<v Julien Verlaguet>So yeah, two ways to go about it.

156
00:11:18.140 --> 00:11:19.480
<v Julien Verlaguet>One that is more vision driven,

157
00:11:19.640 --> 00:11:21.620
<v Julien Verlaguet>the other one that's more feedback driven.

158
00:11:22.020 --> 00:11:23.680
<v Noah Labhart>Yeah, no, that makes sense.

159
00:11:23.780 --> 00:11:26.180
<v Noah Labhart>And it feels a little different than what I normally hear

160
00:11:26.180 --> 00:11:28.080
<v Noah Labhart>with building just a normal product

161
00:11:28.080 --> 00:11:29.580
<v Noah Labhart>and building a language,

162
00:11:29.660 --> 00:11:32.020
<v Noah Labhart>building something that's built around the skip language.

163
00:11:32.180 --> 00:11:35.600
<v Noah Labhart>Seems like you have to lean more on that vision

164
00:11:35.600 --> 00:11:37.180
<v Noah Labhart>than user feedback.

165
00:11:37.380 --> 00:11:38.540
<v Noah Labhart>Am I hearing that correctly?

166
00:11:38.840 --> 00:11:39.460
<v Julien Verlaguet>Yeah, it

167
00:11:39.460 --> 00:11:41.660
<v Julien Verlaguet>really depends on where we are

168
00:11:42.600 --> 00:11:47.160
<v Julien Verlaguet>time of the product but when you're building a company that is built around the technology

169
00:11:48.060 --> 00:11:54.440
<v Julien Verlaguet>you will have to take shots like that where you will have to try to build something based on that

170
00:11:54.440 --> 00:12:00.360
<v Julien Verlaguet>technology and see if it sticks right so imagine for example a company that has been very successful

171
00:12:00.360 --> 00:12:09.700
<v Julien Verlaguet>at that is Temporal, right? So Temporal, the goal of the company was to build a framework for durable

172
00:12:09.700 --> 00:12:14.100
<v Julien Verlaguet>execution at a time where durable execution didn't exist, right?

173
00:12:14.300 --> 00:12:21.380
<v Julien Verlaguet>And so they couldn't go around and ask, hey, do you think durable execution would be something

174
00:12:21.380 --> 00:12:24.580
<v Julien Verlaguet>you would use or want to do some kind of market study, right?

175
00:12:24.660 --> 00:12:30.180
<v Julien Verlaguet>Because if you do that, then basically asking people's opinion on something that doesn't

176
00:12:30.180 --> 00:12:31.400
<v Julien Verlaguet>exist is not going to work.

177
00:12:31.680 --> 00:12:36.200
<v Julien Verlaguet>So they needed to have that vision and drive that vision.

178
00:12:36.200 --> 00:12:43.060
<v Julien Verlaguet>and if it works and once it picks up, then it's a huge reward, but it's also very risky

179
00:12:43.060 --> 00:12:49.260
<v Julien Verlaguet>because you will know very late if your vision is going to turn into a viable company.

180
00:12:49.920 --> 00:12:55.960
<v Julien Verlaguet>But I think that's not how every company operates and that's not how every company should operate.

181
00:12:56.300 --> 00:13:00.480
<v Julien Verlaguet>But for a company that's based on a vision, on a technology,

182
00:13:00.680 --> 00:13:04.880
<v Julien Verlaguet>then this vision-based approach is really what I think you should strive for.

183
00:13:06.560 --> 00:13:20.040
<v 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.

184
00:13:20.960 --> 00:13:30.440
<v 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.

185
00:13:30.680 --> 00:13:33.140
<v Julien Verlaguet>So I have a good network of people.

186
00:13:33.480 --> 00:13:40.700
<v Julien Verlaguet>And usually the people who I hire, those are people who I used to work with in the past.

187
00:13:40.780 --> 00:13:46.100
<v Julien Verlaguet>And we agreed that it was really fun to work together and we wanted to work together again.

188
00:13:46.100 --> 00:13:55.300
<v Julien Verlaguet>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.

189
00:13:55.480 --> 00:14:06.560
<v Julien Verlaguet>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.

190
00:14:06.780 --> 00:14:14.740
<v Julien Verlaguet>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.

191
00:14:17.980 --> 00:14:20.540
<v Noah Labhart>Okay, Julien, let's move into scalability.

192
00:14:20.780 --> 00:14:21.960
<v Noah Labhart>This will be interesting.

193
00:14:22.740 --> 00:14:33.800
<v Noah Labhart>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.

194
00:14:34.080 --> 00:14:35.700
<v Noah Labhart>I think both are interesting topics.

195
00:14:35.840 --> 00:14:41.380
<v Noah Labhart>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.

196
00:14:42.380 --> 00:14:50.460
<v Julien Verlaguet>So far, no. I would say we haven't had big scaling issues so far with the product.

197
00:14:50.740 --> 00:14:58.500
<v Julien Verlaguet>I'd say I had scaling issues when I was back at Meta. But right now, the architecture that we have

198
00:14:58.500 --> 00:15:05.560
<v Julien Verlaguet>in place is relatively straightforward to scale. A couple of sharding here and there, load balances,

199
00:15:05.560 --> 00:15:08.560
<v Julien Verlaguet>but nothing too complex from a technical perspective.

200
00:15:08.880 --> 00:15:12.280
<v Julien Verlaguet>And scaling the team, we're a team of 10.

201
00:15:12.440 --> 00:15:14.680
<v Julien Verlaguet>So far, we don't really have scaling issues.

202
00:15:15.020 --> 00:15:21.560
<v Julien Verlaguet>So I wouldn't say I have any interesting scaling war stories with SkipLabs so far.

203
00:15:23.000 --> 00:15:30.340
<v 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,

204
00:15:30.600 --> 00:15:32.120
<v Noah Labhart>what are you most proud of?

205
00:15:32.840 --> 00:15:39.780
<v Julien Verlaguet>I'll definitely skip the programming language, Skip. I'm most known for Hack because Hack had a

206
00:15:39.780 --> 00:15:46.900
<v Julien Verlaguet>big impact at Meta. I think it's still the language they use the most at Meta. Maybe not these days,

207
00:15:46.940 --> 00:15:51.680
<v Julien Verlaguet>I don't know. For their business logic, for sure. In general, I don't know. But yeah,

208
00:15:51.760 --> 00:15:58.280
<v Julien Verlaguet>most people would know me for the work I did on Hack. But for me, Skip was really the most

209
00:15:58.280 --> 00:16:05.540
<v Julien Verlaguet>difficult technical challenge I ever undertook. And I don't think I'll build something more

210
00:16:05.540 --> 00:16:10.980
<v Julien Verlaguet>complex in my career. So I think that was the defining moment for my career, for sure.

211
00:16:12.820 --> 00:16:18.240
<v Noah Labhart>Okay, Julien, let's flip the script a little bit. Tell me about a mistake you made and how

212
00:16:18.240 --> 00:16:19.540
<v Noah Labhart>you and your team responded to it.

213
00:16:20.500 --> 00:16:26.740
<v Julien Verlaguet>I was working on Skip. And one of the things that we wanted for

214
00:16:28.280 --> 00:16:35.620
<v Julien Verlaguet>pilot to WebAssembly. And the reason is we back then had a bunch of ideas of why WebAssembly

215
00:16:35.620 --> 00:16:40.860
<v Julien Verlaguet>would be a good target and I can get into the details. But back then I was being very

216
00:16:40.860 --> 00:16:47.580
<v Julien Verlaguet>naive about it and I thought that because our runtime was written in C++, we could compile

217
00:16:47.920 --> 00:16:55.180
<v Julien Verlaguet>that C++ to WebAssembly. And I was very naive about it because I heard of Emscripten, I

218
00:16:55.180 --> 00:16:57.060
<v Julien Verlaguet>I heard, oh yeah, they have a compiler.

219
00:16:57.380 --> 00:17:00.180
<v Julien Verlaguet>But so I thought, yeah, how hard could it be, right?

220
00:17:00.260 --> 00:17:03.960
<v Julien Verlaguet>We can take our C++ and compile it to WebAssembly.

221
00:17:04.080 --> 00:17:06.200
<v Julien Verlaguet>I didn't expect it to work from the get-go.

222
00:17:06.440 --> 00:17:09.320
<v Julien Verlaguet>I knew that would probably be a couple of fixes

223
00:17:09.320 --> 00:17:10.320
<v Julien Verlaguet>to do here and there,

224
00:17:10.480 --> 00:17:13.200
<v Julien Verlaguet>but I didn't realize how far it was.

225
00:17:13.420 --> 00:17:14.540
<v Julien Verlaguet>It's absolutely impossible

226
00:17:14.900 --> 00:17:17.260
<v Julien Verlaguet>to just take a modern C++ code base

227
00:17:17.720 --> 00:17:20.140
<v Julien Verlaguet>and compile it to WebAssembly through Emscripten.

228
00:17:20.240 --> 00:17:21.900
<v Julien Verlaguet>That's just impossible.

229
00:17:21.900 --> 00:17:29.180
<v Julien Verlaguet>possible. You can use C++ if that's a decision that you made from the get-go, but you're not

230
00:17:29.180 --> 00:17:35.060
<v Julien Verlaguet>going to adapt a C++ project and compile it to WebAssembly and just work. Because there are just

231
00:17:35.060 --> 00:17:40.460
<v Julien Verlaguet>so many things that aren't supported, so many things that don't work. Like very simple things

232
00:17:40.460 --> 00:17:45.820
<v Julien Verlaguet>like exceptions are not supported. At least if you want them supported, you have to turn on an option

233
00:17:45.820 --> 00:17:49.920
<v Julien Verlaguet>and that option basically uses a shadow stack

234
00:17:49.920 --> 00:17:53.000
<v Julien Verlaguet>and then your program is 15x slower.

235
00:17:53.180 --> 00:17:54.160
<v Julien Verlaguet>So that's never going to work.

236
00:17:54.380 --> 00:17:56.520
<v Julien Verlaguet>So here I am with my skip runtime

237
00:17:57.140 --> 00:17:59.020
<v Julien Verlaguet>and all written in C++.

238
00:17:59.180 --> 00:18:00.920
<v Julien Verlaguet>I try to compile it.

239
00:18:01.080 --> 00:18:03.800
<v Julien Verlaguet>I try to shake it as much as I could

240
00:18:03.800 --> 00:18:05.360
<v Julien Verlaguet>to make it work with Emscripten.

241
00:18:05.580 --> 00:18:06.560
<v Julien Verlaguet>Nothing is working.

242
00:18:06.820 --> 00:18:07.900
<v Julien Verlaguet>So I'm like, okay, fine.

243
00:18:08.080 --> 00:18:09.700
<v Julien Verlaguet>I'll rewrite the runtime in C

244
00:18:10.380 --> 00:18:14.160
<v Julien Verlaguet>and it was a very bad version of C

245
00:18:15.820 --> 00:18:18.020
<v Julien Verlaguet>library does not compile to WebAssembly.

246
00:18:18.300 --> 00:18:20.920
<v Julien Verlaguet>So it was C without a standard library.

247
00:18:21.120 --> 00:18:25.480
<v Julien Verlaguet>So C without malloc, C without pretty much anything that you

248
00:18:25.480 --> 00:18:27.400
<v Julien Verlaguet>would need to make C bearable.

249
00:18:27.520 --> 00:18:29.840
<v Julien Verlaguet>So it was super low level C.

250
00:18:29.980 --> 00:18:33.140
<v Julien Verlaguet>So some people in the audience are gonna, are gonna ask themselves,

251
00:18:33.320 --> 00:18:34.620
<v Julien Verlaguet>why didn't he just use Rust?

252
00:18:34.820 --> 00:18:35.540
<v Julien Verlaguet>Two reasons.

253
00:18:35.720 --> 00:18:39.120
<v Julien Verlaguet>One, I didn't know Rust very well at the time.

254
00:18:39.320 --> 00:18:42.840
<v Julien Verlaguet>Two, the kind of stuff that I had to do was very nasty.

255
00:18:42.840 --> 00:18:47.440
<v Julien Verlaguet>So it's a garbage collector and to write a garbage collector, you need to...

256
00:18:47.440 --> 00:18:54.300
<v Julien Verlaguet>There is a bunch of tricks that you have to use in the runtime and steal bits and do all sorts of unsafe things.

257
00:18:54.520 --> 00:18:57.400
<v Julien Verlaguet>So I don't know that Rust would have gained me that much.

258
00:18:57.540 --> 00:18:58.720
<v Julien Verlaguet>So that's why I chose C.

259
00:18:59.140 --> 00:19:05.460
<v Julien Verlaguet>So here I am writing a runtime in C, in a version of C that doesn't have a standard library.

260
00:19:05.980 --> 00:19:08.300
<v Julien Verlaguet>And I need basic things, right?

261
00:19:08.300 --> 00:19:21.280
<v Julien Verlaguet>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.

262
00:19:21.460 --> 00:19:27.420
<v Julien Verlaguet>So I need basic things like sorting and binary search and this kind of stuff to work.

263
00:19:27.600 --> 00:19:33.700
<v Julien Verlaguet>So I need a sort and of course I don't want to write my own sorting function.

264
00:19:33.700 --> 00:19:39.320
<v Julien Verlaguet>function. So I go on the internet and I pick the first Quicksort implementation that I find.

265
00:19:39.760 --> 00:19:45.880
<v Julien Verlaguet>So I take this function, write a few tests for it, and it works. And then I keep on using it for the

266
00:19:45.880 --> 00:19:53.000
<v Julien Verlaguet>rest of the runtime. Everything works great. But then I hit a stack overflow and I realized by

267
00:19:53.000 --> 00:19:58.040
<v Julien Verlaguet>looking at the implementation that they had a very naive version of Quicksort where

268
00:19:58.040 --> 00:20:02.340
<v Julien Verlaguet>where the pivot that they were choosing was always the first element.

269
00:20:02.620 --> 00:20:05.900
<v Julien Verlaguet>And I realized that I was like, yeah, that's a weird choice.

270
00:20:05.980 --> 00:20:11.140
<v Julien Verlaguet>So I just adjust the algorithm so that it chooses a different pivot.

271
00:20:11.220 --> 00:20:13.300
<v Julien Verlaguet>And I fixed my stack overflow problem.

272
00:20:13.540 --> 00:20:14.120
<v Julien Verlaguet>All right, great.

273
00:20:14.540 --> 00:20:21.640
<v Julien Verlaguet>The problem is it was one of those versions of C that is completely unreadable,

274
00:20:21.700 --> 00:20:25.620
<v Julien Verlaguet>where you have an expression with plus plus, minus minus everywhere.

275
00:20:25.860 --> 00:20:27.340
<v Julien Verlaguet>And it's very compact.

276
00:20:28.040 --> 00:20:35.800
<v Julien Verlaguet>And I didn't pay attention, but in fact, that version of quicksort only worked if the pivot was the first element.

277
00:20:36.040 --> 00:20:41.560
<v Julien Verlaguet>So me changing the pivot to another element, I in fact broke that algorithm.

278
00:20:41.940 --> 00:20:46.280
<v Julien Verlaguet>But I broke it in a very subtle way and it was working most of the time.

279
00:20:46.560 --> 00:20:57.260
<v Julien Verlaguet>And so here I am with a version of quicksort that passes all my tests, actually sorts almost always, but doesn't read.

280
00:20:58.040 --> 00:21:05.640
<v Julien Verlaguet>And I end up with a bug down the road that was like, I was looking up a pointer in a bunch of pages.

281
00:21:06.080 --> 00:21:14.840
<v Julien Verlaguet>And because those pages were not properly sorted, the binary search would say that the pointer was not in those pages.

282
00:21:14.940 --> 00:21:18.220
<v Julien Verlaguet>So it would treat that pointer as if it was reference counted.

283
00:21:18.840 --> 00:21:27.360
<v Julien Verlaguet>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.

284
00:21:28.040 --> 00:21:33.860
<v Julien Verlaguet>it was doing and in fact was corrupting the data from the objects that were just before

285
00:21:34.320 --> 00:21:40.940
<v Julien Verlaguet>and it took me forever to fix it so the hardest bug i had to deal with in my life was

286
00:21:40.940 --> 00:21:46.660
<v Julien Verlaguet>non-deterministic bugs so bugs that come from you know race conditions especially at scale so these

287
00:21:46.660 --> 00:21:52.900
<v Julien Verlaguet>are definitely the hardest one but this was the hardest deterministic bug that i had to chase

288
00:21:52.900 --> 00:21:56.340
<v Julien Verlaguet>And God, I was banging my head against the walls.

289
00:21:56.420 --> 00:22:00.980
<v Julien Verlaguet>I will never copy paste code from the internet ever, ever, ever again.

290
00:22:05.080 --> 00:22:06.820
<v Noah Labhart>Okay, so let's move forward then.

291
00:22:06.900 --> 00:22:09.720
<v Noah Labhart>What does the future look like for Skip Labs?

292
00:22:09.980 --> 00:22:13.720
<v Noah Labhart>For what you're offering for Skipper, for other products you're thinking about building,

293
00:22:13.940 --> 00:22:15.820
<v Noah Labhart>for where the industry is going, all the things.

294
00:22:15.980 --> 00:22:17.400
<v Noah Labhart>Tell me about what the future looks like.

295
00:22:17.400 --> 00:22:18.600
<v Julien Verlaguet>I

296
00:22:18.600 --> 00:22:22.840
<v Julien Verlaguet>think the future is going to be very exciting for people who are building tools.

297
00:22:23.220 --> 00:22:30.880
<v Julien Verlaguet>And Skip is uniquely positioned to build tools that both scale and are incremental,

298
00:22:31.690 --> 00:22:36.960
<v Julien Verlaguet>because that's really what we're good at. And so let's imagine the future with two companies.

299
00:22:37.180 --> 00:22:43.560
<v Julien Verlaguet>So let's assume that both companies are actually shipping code using AI, right? And of course,

300
00:22:43.560 --> 00:22:49.720
<v Julien Verlaguet>not 100% of it, but a good bunch of the diffs that they produce, let's say in five, 10 years from now

301
00:22:49.720 --> 00:22:57.180
<v Julien Verlaguet>will be written by AI. So if company A, in company A, you have an AI that's producing changes. And

302
00:22:57.180 --> 00:23:01.740
<v Julien Verlaguet>every time there's a change that occurs, it's let's say a 1 million line code base,

303
00:23:02.020 --> 00:23:08.720
<v Julien Verlaguet>you have to rerun all the tests, you have to run CircleCI and whatnot, and then you have to deploy

304
00:23:08.720 --> 00:23:11.200
<v Julien Verlaguet>deploy and that takes maybe an hour, right?

305
00:23:11.280 --> 00:23:14.340
<v Julien Verlaguet>Company B, the whole tool chain is incremental.

306
00:23:15.200 --> 00:23:19.400
<v Julien Verlaguet>The code itself is also reactive slash incremental.

307
00:23:19.920 --> 00:23:22.300
<v Julien Verlaguet>So when a diff comes in,

308
00:23:22.440 --> 00:23:25.840
<v Julien Verlaguet>you can take it in less than a second

309
00:23:26.140 --> 00:23:28.980
<v Julien Verlaguet>and deploy the change also in less than a second.

310
00:23:29.220 --> 00:23:31.040
<v Julien Verlaguet>If those two companies are competing,

311
00:23:31.260 --> 00:23:33.880
<v Julien Verlaguet>which one do you think is going to win, right?

312
00:23:34.440 --> 00:23:37.580
<v Julien Verlaguet>So that's a rhetorical question, obviously.

313
00:23:38.720 --> 00:23:46.060
<v Julien Verlaguet>I think given that AI is now in the mix, the bottleneck is going to switch to tooling very soon.

314
00:23:46.320 --> 00:23:53.740
<v Julien Verlaguet>It hasn't happened yet because the tokens are still too slow to be generated, but it's only a matter of time.

315
00:23:54.020 --> 00:24:01.700
<v Julien Verlaguet>We are investing a ton of money into making those models smaller and faster and also in hardware.

316
00:24:02.140 --> 00:24:07.520
<v Julien Verlaguet>The amount of money spent on this kind of stuff is unprecedented, I think, in human history.

317
00:24:08.720 --> 00:24:10.160
<v Julien Verlaguet>These models are going to get faster.

318
00:24:10.840 --> 00:24:16.720
<v Julien Verlaguet>Once they get, let's say, 10, 100, 1,000 times faster, the bottleneck is going to become

319
00:24:16.720 --> 00:24:17.220
<v Julien Verlaguet>the tooling.

320
00:24:17.420 --> 00:24:23.280
<v Julien Verlaguet>They will produce a ton of code, and we won't have the infrastructure to take into account

321
00:24:23.280 --> 00:24:24.920
<v Julien Verlaguet>that code, to take that code in.

322
00:24:25.240 --> 00:24:29.340
<v Julien Verlaguet>And that's where reactive programming kicks in, and that's where I think skip labs can

323
00:24:29.340 --> 00:24:29.860
<v Julien Verlaguet>really shine.

324
00:24:32.600 --> 00:24:33.780
<v Noah Labhart>Let's switch to you, Julien.

325
00:24:33.900 --> 00:24:35.660
<v Noah Labhart>Who influences the way that you work?

326
00:24:35.860 --> 00:24:37.980
<v Noah Labhart>Name a person or many persons or something.

327
00:24:38.720 --> 00:24:39.220
<v Noah Labhart>and why.

328
00:24:40.200 --> 00:24:45.960
<v Julien Verlaguet>There are people who I worked with in my career, but most people wouldn't know them.

329
00:24:46.500 --> 00:24:53.660
<v Julien Verlaguet>My personal hero when it comes to programming is Fabrice Bellard. So he programmed FFmpeg.

330
00:24:54.060 --> 00:25:01.860
<v Julien Verlaguet>He's written QEMU. He's written all sorts of things. Everything he writes is everything I

331
00:25:01.860 --> 00:25:08.500
<v Julien Verlaguet>like. It works very fast. It's well put together, very useful to a lot of people. So yeah, he's a

332
00:25:08.720 --> 00:25:14.500
<v Julien Verlaguet>personal hero of mine. Outside of him, oh yeah, there's Xavier Leroy. So he's the creator

333
00:25:14.500 --> 00:25:21.180
<v Julien Verlaguet>of OCaml. And he also now has, he's driving CompCert. I don't know if he's still doing

334
00:25:21.180 --> 00:25:27.940
<v Julien Verlaguet>that, but he was back in the days. So he's written a C compiler that is proven to be

335
00:25:27.940 --> 00:25:34.860
<v Julien Verlaguet>correct formally, but his first project was OCaml. So he was, he also had a lot of influence

336
00:25:34.860 --> 00:25:46.740
<v Julien Verlaguet>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.

337
00:25:47.100 --> 00:25:55.620
<v Julien Verlaguet>So I like when somebody has been educated on theory, they understand whatever theory it is they're working on.

338
00:25:55.700 --> 00:25:57.920
<v Julien Verlaguet>So it could be algorithmics, if that's what they do.

339
00:25:58.040 --> 00:26:02.200
<v Julien Verlaguet>It could be programming languages, could be logic, could be distributed systems.

340
00:26:02.200 --> 00:26:09.040
<v Julien Verlaguet>It doesn't really matter, but I like the fact that people have had a formal education on certain things.

341
00:26:09.160 --> 00:26:21.060
<v Julien Verlaguet>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.

342
00:26:22.900 --> 00:26:24.040
<v Noah Labhart>Julien, last question.

343
00:26:24.320 --> 00:26:28.920
<v Noah Labhart>So you're getting on a plane and you're sitting next to a young entrepreneur who's built the next big thing.

344
00:26:29.120 --> 00:26:30.440
<v Noah Labhart>They're jazzed about it.

345
00:26:32.200 --> 00:26:33.620
<v Noah Labhart>can we show it off to you right there on the plane?

346
00:26:33.980 --> 00:26:36.740
<v Noah Labhart>What advice do you give that person having gone down this road a bit?

347
00:26:37.960 --> 00:26:39.860
<v Julien Verlaguet>A lot of it is not technical.

348
00:26:40.060 --> 00:26:44.280
<v Julien Verlaguet>So that's the advice I would give myself if I were to engage on that path.

349
00:26:44.600 --> 00:26:46.780
<v Julien Verlaguet>When you are a technical person,

350
00:26:46.940 --> 00:26:51.200
<v Julien Verlaguet>you have a tendency to think that you can treat everything like a technical problem.

351
00:26:51.640 --> 00:26:53.260
<v Julien Verlaguet>And it's true to some extent.

352
00:26:53.380 --> 00:26:56.220
<v Julien Verlaguet>And in fact, when that works, it's great.

353
00:26:56.360 --> 00:26:59.960
<v Julien Verlaguet>So for example, when you want to deal with both.

354
00:26:59.960 --> 00:27:03.260
<v Julien Verlaguet>So let's say you want to think about the growth of your company.

355
00:27:03.400 --> 00:27:07.260
<v Julien Verlaguet>If you think about it like an engineering problem, that's probably going to give you an edge.

356
00:27:07.420 --> 00:27:10.340
<v Julien Verlaguet>So you should approach that like an engineering problem.

357
00:27:10.600 --> 00:27:20.140
<v Julien Verlaguet>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.

358
00:27:20.320 --> 00:27:27.180
<v Julien Verlaguet>A lot of it is going to be convincing investors that you are the right company to invest in.

359
00:27:27.180 --> 00:27:30.300
<v Julien Verlaguet>and that is all going to be about narrative.

360
00:27:30.520 --> 00:27:33.980
<v Julien Verlaguet>And if you are a very technical person,

361
00:27:34.160 --> 00:27:35.180
<v Julien Verlaguet>if you are an engineer,

362
00:27:35.380 --> 00:27:37.840
<v Julien Verlaguet>maybe you just want to show

363
00:27:37.840 --> 00:27:39.660
<v Julien Verlaguet>that you have the fastest product

364
00:27:39.660 --> 00:27:41.800
<v Julien Verlaguet>that can ship the most code

365
00:27:41.800 --> 00:27:44.060
<v Julien Verlaguet>or whatever metric that you're very proud about.

366
00:27:44.820 --> 00:27:46.520
<v Julien Verlaguet>It's not going to be about that.

367
00:27:46.620 --> 00:27:48.720
<v Julien Verlaguet>It's going to be broader narratives.

368
00:27:49.040 --> 00:27:51.740
<v Julien Verlaguet>So the advice I would give that person on the plane

369
00:27:51.740 --> 00:27:54.180
<v Julien Verlaguet>is make sure you understand

370
00:27:54.180 --> 00:27:56.640
<v Julien Verlaguet>that building a company is a lot more

371
00:27:57.180 --> 00:27:59.940
<v Julien Verlaguet>just building a cool technical product.

372
00:28:00.240 --> 00:28:03.820
<v Julien Verlaguet>And there are people who've built amazing things

373
00:28:03.820 --> 00:28:05.800
<v Julien Verlaguet>who've ended up nowhere

374
00:28:05.800 --> 00:28:08.040
<v Julien Verlaguet>because they did not listen to that advice.

375
00:28:08.320 --> 00:28:10.240
<v Noah Labhart>That's fantastic advice to point out.

376
00:28:10.300 --> 00:28:12.300
<v Noah Labhart>Julien, thank you for being on the show today.

377
00:28:12.480 --> 00:28:14.940
<v Noah Labhart>Thank you for telling the creation story of SkipLabs.

378
00:28:15.320 --> 00:28:16.960
<v Julien Verlaguet>Thank you. Thank you for having me.

379
00:28:18.820 --> 00:28:21.600
<v Noah Labhart>And this concludes another chapter of Code Story.

380
00:28:30.640 --> 00:28:36.960
<v Noah Labhart>Code Story is hosted and produced by Noah Labhart be sure to subscribe on apple podcast spotify or

381
00:28:36.960 --> 00:28:42.860
<v Noah Labhart>the podcasting app of your choice and when you get a chance leave us a review both things help

382
00:28:42.860 --> 00:28:48.140
<v Noah Labhart>us out tremendously and thanks again for listening
