In this episode of the Elixir Mentor Podcast, I chat with Chris Nelson, co-founder and principal engineer at Launch Scout, about leveraging AI tools for Elixir development and how these technologies are transforming developer workflows. Chris brings over a decade of Elixir experience to the conversation, sharing valuable insights on how consultancies can integrate AI to dramatically increase productivity. Chris discusses the inflection point where AI tools became truly valuable for production work, highlighting how features like Claude AI and Cursor's agent mode with test-driven capabilities transformed his team's approach to development. We explore the unpredictable nature of large language models, structured approaches to AI-assisted coding, and how Launch Scout measured a 4x productivity increase on a real client project using these tools effectively. The conversation includes practical examples of how experienced developers can guide AI to create robust, production-ready code while maintaining critical thinking skills. Our discussion extends to Web Assembly components and Chris's work on the WASM library, which enables Elixir developers to securely run code written in various languages within their applications. Chris explains how WASM leverages OTP supervision for resilient system design and opens up new possibilities for customizable platforms. We also explore the advantages of Elixir and LiveView for rapid application development, comparing it to microservices approaches and reflecting on the remarkable stability of Elixir applications in production. Whether you're curious about integrating AI into your development workflow or exploring the cutting edge of Elixir's ecosystem, this conversation offers practical insights and real-world experiences from years of professional Elixir development at scale. Resources Mentioned: - Launch Scout:https://launchscout.com/ - Cursor:https://cursor.sh/ - Claude AI:https://anthropic.com/claude - WASMEx:https://github.com/tessi/wasmex - LiveState:https://hexdocs.pm/live_state/readme.html Connect with Chris: - X:https://x.com/superchris - LinkedIn:https://www.linkedin.com/in/chris-nelson-038875/ - Website:https://launchscout.com/ - GitHub:https://github.com/superchris SUPPORT ELIXIR MENTOR - Elixir Mentor:https://elixirmentor.com
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.
Secure your Elixir apps with paraxial IO. From code analysis and bot defense to dependency checks, they've got you covered. Elixir first design with GitHub integration. Elevate your security at paraxial dot IO testing. What's up? I'm Jacob Blitzo, your Elixir mentor and welcome to another exciting episode of the Elixir Mentor podcast. This is where we discuss everything related to Elixir, from interviews with enthusiasts, pioneers in the
community to innovative projects and libraries shaping Elixir's future. Today I'm welcoming Chris Nelson, Co founder and principal engineer at Launch Scout, and I'm excited to have you on. Thank you so much for joining me, Chris. I I usually like to start these off with like a little background of like where you come from and what you do. Sure. So man, I've been doing software development for a very, very
long time. I think I've been doing Elixir for probably 10 years now. I think some of our early Elixir code goes back to like 2015 and stuff. So it's been a minute. So yeah, yeah, Launch Scout started under a different name and like a lot of folks, we were doing Ruby on Rails when we started back like 2009 or something like that. And then like, you know, the mid
twenty 10s or before, we kind of saw like, you know, large Ruby on Rails projects hit like certain bottlenecks where, you know, they do things like I remember Groupon, which was like this huge successful Rails project at the time, they said like, OK, we're going to like do this micro services thing and rewrite everything because we, you know, we can't do the scaling. And so that led us to look around for like, OK, what's going to come after Ruby on Rails? And at first we decided it was
going to be closure, but then one of our developers was really excited about Elixir. And like, he sort of organically pulled us in like 1 at a time because it was just like, you know, we'd see it and we'd be like, oh man, this is like really fun. And like, I already know how to do everything here. The syntax is so similar. And Phoenix is so easy to pick up if you'd done Rails that it was just like, it was easy and fun and like, it just caught on naturally. And we've been sort of like
gradually adopting it for more and more things over time. And I would say like for several years now it's been our default choice anytime we get to choose for a stack to use for custom development, it's it's Elixir and it's been great. Nice. I love that. I feel like it's like it's a great choice just to, especially for like consultancies. You can have less engineers and you can pretty much, I'm guessing like most of your back ends are always just going to be Elixir because usually customers
don't care too much about that unless they come in with a tech heavy person. But. Yeah, Yeah, that's true. Yeah. For the the companies or for the the clients that don't have an opinion in advance, Yeah, it's, it's a great choice. The other thing that's been huge is like before a live view, even our early Elixir projects, we were doing like, you know, we used to have this, we, we called it rule 0 and it was like at the
beginning of the project, just choose which JavaScript framework you're going to use because you're going to have to have one. And so we would, and what we, you know, when we were originally doing Rails, we were like so fast at building custom web apps. And then when the whole, you know, JavaScript framework train came along, we got so much slower for building the same apps that it was just like really terrible. I'm going to take off my sweatshirt.
Give me like one second if you could. Sorry. All the excitement, all the excitement about talking about elixir, you know. Yeah, yeah, yeah. This room just got like really warm as soon as I closed the door so. Oh well, yeah. But so, yeah, you know, when we
started working with I think it was Backbone and then React, you know, like everybody expected to build these lovely, you know, spa like experiences, of course, but the fact that it cost twice as long now or it took twice as long to build an app, like they just hate it, of course. Right, right. Who wouldn't? And then when live you became mature, all of a sudden we got like back to the levels of productivity we used to have with Rails, but we could still
give them this amazing experience. I mean, that's been such a huge win for us because like the rest of the industry is still like, yeah, of course you're going to do React and, you know, that's yeah. I mean, I think there's still a lot of elixir shops that are like still doing like React front ends and things, but that's been a huge competitive advantage as far as like moving really fast. Yeah, I mean, if you can use live view and just keep everything tied together, I feel
like you can get so much done with one or two devs. It's amazing. It's almost. Magic, yeah. For sure. So the main, the main topic that we're going to be talking about today, and I've been kind of obsessing with this and talking to a lot of engineers that I know and last week. Why am I blinking? Like me dude for for real?
I have to write everything down now and it's pathetic. Sorry. Sorry, Daniel, I blanked on your name, but I had Daniel on last week and he was talking about his kind of his development experience and how he is using windsurf and clawed and like how he's tying things together. And so I've been talking to a lot of people about this and I feel like maybe your, your business partner, one of you posted about how AI workflows are just exponentially just
making you guys so much more productive at, at launch Scout and. Yeah, yeah, that was Tim, I'm sure. But yeah. Tim Yeah, that's who it was. Yep. Yeah, yeah. That's been like, really, really fascinating. And like, you know, what's the Chinese proverb? May you live in interesting times. And it's actually like a curse, you know? And like, this is where we are, like, right. We are absolutely in solidly interesting times. It is, we see people vibe coding
and then we see, we see smart engineers actually leveraging AI in like really good ways to just make their workflows more productive instead of just blindly trusting outputs, right? So I'm like, I'm curious, 'cause you're a consultancy, so you see a lot of projects. So I feel like, you know, workflows, workflows need to be dialed in to just make you guys productive and, you know, able to be just more profitable, right? Right, right.
And you know, we, I would say like at the beginning of this year, we were all pretty much solidly in the AI skeptic camp. Like frankly, we all pretty much had the same experience of like trying out, well, it's GitHub copilot, sorry to pick on it, but you know, like we all had the same experience where like occasionally it would generate something brilliant, but the rest of the time it would generate so much noise that it
was like I'm spending more time reading the garbage than I am getting anything useful out of it. And so we just turn it back off and sometime it feels like around January, I mean, we got exposed through a client that was leaning into to cursor pretty heavily. And specifically with the Cloud 35 model, it just it like tip just passed the line from it's most garbage to mostly useful.
Like there's this weird tipping point where it's like, it's not that it didn't generate noise and you'd get frustrated. It was that it was worth it. All of a sudden became worth the effort to like to use it because the amount of time it could actually do something useful was was significantly higher. The other thing that I think was that made the tipping point possible was when Cursor added the agent mode and it could run
the tests and use the tests to fix its own hallucinations. For me, I think that was the moment it was like, OK, this is actually a useful tool instead of just like a cool shiny toy. And then you could take it on actual real projects and go like, OK, I need you to build this feature and you need to write tests for it and you need to make those tests pass. And still not great. Like I've seen a lot of like,
OK, if you just set up the best cursor rules file, you can get it to follow a good process and it will do great things. And the reality is like kinda I haven't had like the, the thing that we've seen with LLMS is finding like the perfect workflow. It's really, really hard because like, you know, I wish there was a more emphatic word for non
deterministics because that doesn't do it justice. The amount of crazy variability that you get from these tools is frankly like it it's hard to get my mind around because like it will constantly be like amazing. You know, it'll like this morning Tim showed me this. He basically vibe coded a membrane web RTC Elixir podcast recording app last night just
because he was annoyed with what was out there. And so it will do things like that sometimes. Wait, did it actually compile and work? Not only did the compile and work like he showed it to me and it had like you could start talking and it had like a lovely like equalizer visualization. It were record and playback. I hadn't pushed, I hadn't pushed the code, but I haven't had a chance to look at it. But it was completely amazing.
What is Tim's background? Is he a developer or? Oh yeah, yeah, yeah. To. Also like an extremely experienced Elixir developer. OK, OK, so it wasn't like someone who didn't know what they were doing. No, not at all, not at all. So he was like guiding it, but the fact that it, you know, he didn't hand write any of that code. OK. And wow, that's. Impressive, yeah, and that's like amazing, but it like. But you have to keep it. You know, the thing that hurts
my brain is like, it will do that, but then the next day I'll go like, please move this field over here and it'll be like, I think I'm going to delete half the form for you instead, You know, it'll just like fail simplest thing and that happened. That's like routine. So it's like so unbelievably unpredictable that it's really hard to know. Like you know, you'll, you'll get used to it working well and then you'll start to like trust
it and then it'll bite you so. Hard and. Then you'll be like, OK, well, I need to trust it with little tiny things. And then you'll forget that like, well, it can sometimes be successful with like unbelievably big chunks. So like embracing the variability, I think is like one of the bigger challenges because if you can embrace the variability, you know, all you have to do is like, if you have a long enough window, like a couple weeks, the law of averages kicks in.
And then you get like, you get a win, even though like you've seen it fall on the face, fall on its face on simple things on Tuesday and then succeed at something amazing on Thursday. If you can, if you can average it out and like embrace the crazy town, then you can. Can be successful. I've been one of my Co workers has been playing with like the agent workflow stuff using and I started adopting this and it
does seem to work pretty well. We'll, we'll, he'll create like Markdown files with like a, a prompt and checklists, right? And then like notes that, you know, Claude has learned and constantly has it like returned back to that Markdown file to keep track of its progress and then also put notes about the project that it's learning when it makes mistakes. And I feel like it's a really solid way to approach problem solving. Yeah. We have a couple of our developers that have like taken
that approach and been successful with it. I'm probably a little bit less structured than that in terms of how I work with it. So yeah, I don't know if that I can personally speak to the times that I've tried the like, OK, generate a markdown of exactly how you plan to approach this problem and then like, you know, started a new session and I'll use that as the prompt. OK, here's the document for what what our plan is. Just do step one and show me how
it goes. So I, I tried that approach on like a kind of decent sized feature. I was like taking a code base where I'd started it and it was time to convert all the fields active money because they were, you know, integers or floats or stupid, you know, And it even with the, the, the markdown prompt approach it still it failed pretty hard. And I had to just get back to like, OK, I'm going to take the steering wheel and do a little
bit of it and then, you know, I'll just basically prompt you to do the next. Little time. So you you like to prompt in like small bites, but you're manually kind of prompt in and got in. Yeah, yeah, yeah, yeah. The best, I don't know from, I think we're, I mean, obviously everybody's figuring this out together and it's so new, but I think there's still going to be a lot of like an individual's going to have to find what works best for them. The thing that I find far and
away the most important is to keep it on track as far as like writing and running tests. If I can get it to do that, the chance of it being successful and productive is a lot higher. And the other thing is like once you have those in place, like insisting that the first code that it writes, which is almost always going to be like pretty nasty. Yes, yeah. But you can tell it like, yeah,
that's not cool. You know, doing an ecto change set, get fields in the view template like, no, you can't do that. That's not cool. And you can give it a little prompt and it'll like it'll clean it up in fairly decent ways at this point. And that's, you know, that's so recent. Like I saw a big jump just between 3 five and three seven thinking in terms of the models, the Claude models, like it made
it made a jump from like I could give it a refactoring suggestion. It would do something good versus before that it would do something different, you know? Yeah, yeah. But it would be silly in a different way do. You find Claude to be the best model for Elixir at least. Yeah, and I would say that's probably like not just Elixir, I've tried it for other things, which is also fascinating. I don't know if you've tried these tools on across languages, but we have.
And it's been really fascinating. I think one of the things that made me an AI skeptic, I mean, it's all fear, of course, but I had fears that both like, oh man, I'm not going to be replaced entirely. And of course, like that's not really realistic. But the other fear that at. Least not yet, right? Not yet. And I mean, unless AGI, Yeah. Unless AGI were to become a thing. I just. Yeah. I don't. I don't.
It's really hard for me to ever envision a time where people who have our skills in terms of really knowing how to build software well aren't going to have a useful and vital way to contribute. You know what I mean? I'm. Curious not to like completely sidetrack, We'll get back. How do you feel? Like I think I am super lucky to have like 10 years under my belt before AI has stepped in because it made me go through a lot of
hard learning curves where you're forced to learn things go a little deeper than you would what Like, how do you think it's going to affect people learning now and junior developers like actually grasping the harder subjects? Yeah, that is a great question. And for years and years when the market was really strong, one of our core things was our apprenticeship program that we had and we've taken like, you
know, 2530 developers over the five years we were running the program and like taking them from like brand new to like productive. I love that. That's awesome. And that was like my favorite thing that probably I've ever done in my career. I, I loved it very much. And I don't think it's just the AI. In fact, I, I know it's not. But like wind, you know, when the interest rates went up and dried up all the VC money, like the, you know, we saw the developer market do what it did and the market for like bringing
in new talent has like gone to 0. And that's been really painful. And I think the AI has contributed also to like the market for new junior developers is like super difficult right now. And one of my fears is like. You know, AI is making a senior developers wildly more productive and that's awesome and it's good and like we got to get on board with that for sure. But like does that, you know, if we have no way to bring junior
developers into the field, like where do people think senior developers are come from, you know? Well, I, that's always been my big thing. Like you see all these job postings out there and they only want seniors, only want seniors when like I get it, I get it from like a company standpoint, but if we don't let, if we don't mentor juniors and new developers by seniors, we're going to run out of senior devs. Yeah, like Mentoring's apartment. It's almost like it's in the name of your podcast or something. Well, yeah, I mean, like you said that like bringing on
people and mentoring them and doing that was like probably your favorite thing. My YouTube channel by far is one of my favorite things to do is just cause like, even if, you know, I'm burned out and I don't feel like making videos, you get like one comment that was like, thank you so much for this. And it, like, makes it all worth it, you know? Yeah. But back to your question though, about like how does this change people who, how does it change the experience of people who are just learning the code?
And it's a really great question. I think one of the struggles that I have also as an experienced developer is when the AI is successfully writing the code for you, it's so hard to keep the critical thinking part of your brain engaged enough even when you know that you're supposed to, even when you're trying. It's so easy to like, you know, read something kind of half
assed and and not realize that like, oh, there's this like subtle bug here that you didn't catch. And so like as a new developer, like, how much harder is it to like really achieve the level of understanding that you, that you have to have to be, you know, a senior level developer? Right. I compare it to, yeah, I compare it to like PR fatigue. If you're doing too long of PR or too many PRS, you start to not give it critical thought and
you scan code versus actually read the code. Yeah, plus plus one. Yeah, yeah. And I like, I'm so guilty of PR fatigue, like I'll catch, I'll catch myself and be like, I have to come back to this, 'cause I'm starting to not, I'm starting to not read it. Yeah, yeah. So like, yeah, that's a struggle for us. And how much more so it is for a new developer who's who's at the early end of their career, I don't know yet, But you know, the other side of it is like it.
It's also really good at explaining code and telling you what it's doing. It will lie and make stuff up though sometimes. But I think it's getting better at that. I think it's getting more accurate over time. So I feel like, you know, having it help you by explaining the code that it's doing, but you still have to combine it with like, OK, and now I got to test what it told me and make sure that it's actually telling me
the truth. I've used it to explain some macros to me that I've like dug around. I always have trouble reading macros when they're written by other people. Like I even struggle when I write my own sometimes if I go back to them. But like it's it's amazing at like breaking down code and explaining things to you. You do the explain it to me like I'm five. Yeah. And you're good to go. Yeah, yeah, yeah.
But yeah. So it's like a double edged sword. Yeah. We've talked about we haven't figured out like what the right cadence is to implement it. But like, I think what we probably need to do is have some amount of like forced, you know, Thursday's no AI code help day, you know, like I think there's probably some level of like you have to like force yourself to keep those skills up somehow. Like right now it's not a problem because like cursor struggles hard enough or
probably whatever tool you're using, it'll have like such good days and bad days that occasionally just be like, OK, time to hand code today. And so like we're we, we get enough reps that way just because the thing's so unpredictable. But I think it's eventually going to be the case as they smooth things out that I think we're going to have to find, you know, as a company, but probably as a community. Like how do we make sure that we're, you know, forcing ourselves to keep the skills up?
But yeah, I don't know what you've. Yeah, for me, I found that like having a day where it's like it's not working today, time to go back to code is actually kind of refreshing and fun 'cause it's like, yeah, I actually like, like writing code. It can when it's too successful for too much of the time, it can feel like I'm just like, yeah, I'm just doing PR reviews all the time now and that's my job and that's not really. Well, like honestly, like.
It's fun, but it's not. With with my day job, like the code base is so large it's hard to leverage it. Like obviously I can have it work on small pieces, but I'll usually have it like I'll write a module and then have it make unit tests for me. But like for the most part it's hard to have it write too much code because normally I'm bouncing all over the project to track down bugs and all their actions that I've. I don't know how to do it with at least like cursor or anything.
I feel like it's quite difficult for it to get like a full grasp of how things are connected and work, but. Yeah, 1. Thing that impressed me, I have like a little small side project that I putz around with. It's like a Chrome extension and like basic, basic like web scraping. And I wrote it all in just vanilla JavaScript. And I was like, OK, I want to turn this into a spelt project and I don't know anything about Svelte. Like I know basics, right?
And so I wrote up a little Markdown file explaining the steps and I wanted it to look at, you know, specific files one at a time and rewrite them into Svelte components. It did phenomenally well. Like I had to do some hand holding and like corrections, but overall I was, I'm pretty impressed by it. Yeah, yeah, it's, it's great at that kind of thing a lot of the time, you know, like doing a lot of the grunt work to convert, you know, decent sized code base
from one thing to another. A lot of times it'll do a great job at. Yeah, we've also found like it's really great if you have an example to give it to. Yeah, for sure. You know, if you just tell it to, to do the thing and it hasn't seen the thing before, especially if it's something like kind of inherently confusing for humans, it will really struggle. Like one of the the things that I've notoriously seen it fail at is with live view when you're doing like kind of like a what
is it inputs for with like ecto change set and the like drop params and like sort params. That whole business of like you're having like multiple of a thing in a nested form. It's just AI mean. I don't want to I don't want to cachet or anything, but it it is the the way it works right now live view. I don't think it's super intuitive. I don't think anybody would say that it is. It's just kind of like you just kind of got to learn how it works and then like once you learn how it works, it works really great.
And it's super easy to build forms like that. But like man, telling Claude to do it, if it hadn't seen it before, it would just like generate so much non stuff. It was terrible. But. As soon as you hand coded 1 you could say like do it like this and then it would be like great. Yeah, that's like one of my favorite things with unit tests. I'll like give it an example of a unit test that is basically the same thing for a different module. And then it, you know, it copies, it mocks data the same way, sets, sets up and tears
down the same way. And it's it's really nice. And 90% of the time, I'd say the test coverage is pretty good. Yeah, yeah. It's, it's pretty good at that. And yeah, it can almost, you know, we've talked about like, OK, it's, it's good at like writing lots of tests. I have found that like if I'm not careful, it'll write so many tests that like even just reading and making all that test
code is like, that's a, that's a thing that isn't free free, right? And so like making sure I go back and have it refactor the test code so that it's, you know, as easy to understand and look at and not overly duplicate. Yeah, you got to be careful too that it doesn't just write a test to make it pass to. I've had that where? Oh, sure. Like no, we don't want to. Like it'll always want to correct the condition. Like if I found a bug or
something that I'm trying to fix, I'll always write a test to prove that the bug exists. And it's so badly wants to just fix the test to work with the bug instead of yeah moving on. So I just had to stop it and then go find the code and fix it myself. Oh yeah, I seem to do the opposite where it'll be like, OK, well I'm going to change the implementation of the thing to be wrong to make the test make. The test pass, yeah. I think I'll just like, you
know, yeah. I was fighting with it like an hour ago over that, yeah. So are there are there specific tools that you are using on a daily basis that you also have your other developers use or is it kind of like you kind of are learning from each other and you have your own work flows going or do you have a company wide thing yet? We I would say organically, we're definitely kind of all on the the cursor with three seven thinking train at this point.
We're definitely kind of trying out the workflow of, you know, first produce a plan and don't write any code and generate a document and then, you know, go step by step like that whole approach. I think we're still trying out and figuring out what works internally. We're small enough shop though that like we tend to just all get on the same Discord channel and, you know, organically spread knowledge that way rather than like we're not far enough
along that we have like an official launch get way to do it yet. Yeah. And that's not really how we work anyway. We're very much like an organic, learn from each other kind of kind of shop. Yeah, that's always, it's always best. And I feel like, like I'm impressed by the open dialogue that you see just around AI and like workflows versus people being like, I don't need AI and then they secretly are using it 'cause I think it, it, it benefits everyone to like approach tool sets properly.
Like for a long time I thought it was the dumbest thing ever 'cause I just, it, it doesn't work well for just writing code, especially if you're using it wrong. But like I would say as you kind of implement strategies with like markdown files or cut like real config files and things like that, you can kind of dial it in to work nicely. And I found myself, I'm using cursor a lot. I did start messing around with Klein, which is AVS code
extension, but I would say they're, they're very similar. They work the same way. They have the agent workflows where they can kind of iterate over their own mistakes, which is cool. And I love 1. You can see it run the tests and be like, oh, this test path or failed. Now it it goes back and tries to fix it. And I I love that little loop. Yeah. Yeah, that was literally the that was to to be cliche. That was the game changer for me. It's like, OK, when I saw it do
that, then I was like, yeah, I could see myself using this thing and actually being productive. It was that moment. Yeah, because I was like just singly prompting things and not using anything properly, you know, and you're just like trying to do that same thing but manually, and it just ends up being very frustrating. Oh, yeah, yeah. I mean, those were the first I, I think. Yeah, the first attempts I had were like, please build this application for me. And even when it could, you know, with that approach, it
would it would fail so quickly after that that it was just like, you know, clearly not a net positive at all. It really took the, you know, when it could actually do some, some at least mimicry of Test driven Development that that became interesting. Do you think it's taking away productivity from developers at all right now? Like do you think you like, do you find yourself trying to battle prompts versus just writing code?
And then you're like, what am I doing? I know how to do this. I mean, I think, yeah, I think it's within the last couple months where I've seen it go from go across the net positive line. OK, that's yeah, I, I think it was beef previously to about January. It was, even though it could occasionally do amazing work. My experience with what it was that it was a net negative developer for sure.
Yeah. And so it didn't matter like it, even though it could occasionally do brilliant things. If it's overall net negative then you shouldn't use it, right? I think it was with the agent mode and TDD, and specifically it was for For me, it was cursor and cloud 35 sonnet. I saw it go from it's, it's in a, you know, we, we have actually done some measurement and I'll, I'll, I'll get to that
in a second. But my my subjective experience was this is a a net positive developer and cloud 35 sonnet like it felt like I was pairing with a very enthusiastic apprentice that was kind of average, like they they might they might be OK. And then with three seven
thinking, the subjective experience for me became like I'm pairing with an apprentice who's new, but actually a fairly high potential. And, you know, that felt different. And so we, you know, I think we probably had some discussion before this podcast about like the experiments that we've been running. But like after kind of like that subjective.
Yeah, this feels like a win. We decided to do some like pretty intentional experiments. And one of them that we did is like with an existing client that was interested in this stuff as well. He found us a project where, you know, there is off the shelf software to do this thing that he wants to do. It's a manufacturing company. And right now I'm managing all this stuff myself. He's managing all the stuff himself in the spreadsheet.
Let's build an application to to manage this process for us. And it's a non trivial but not huge application. And so we took a two week time box of me and a front end designer and she wasn't even full time. And this two week time box and can we build this whole working system and put it in production? And we were able to do that and
the, the, we leaned on cursor as much as we could, but we're not like trying to specifically constrain ourselves to like not handwriting code. It was basically just like use the thing when it goes off the rails, just step in and you know, right hand code, you know, of course, and what we observed at the end of it. We we when we estimate projects, we don't, we tend to just count cards. You know, everybody has their own thing, but what we find is
like if we just try to break things down into about the same size stories and just count them up, that's as accurate as we can get really. And we typically have for a typical teams on most projects, we kind of guess that like you know with the cards that we come up with when we're at the very beginning of a project, you know those will grow and change over times. But like if we kind of guessed that we can do about four or five a week, that's more that's
about as accurate as we can get. When we got to the end of this project, we had shipped 40 cards in those two weeks. So it was roughly 4X in terms of the productivity. Gain though and how many people were involved in the two week that was single project? Me and a designer part time. So you are the full time developer. Yeah. Wow, that's awesome.
Yeah, yeah. And I mean, Martin Fowler writes about you can't measure developer productivity. And I completely agree with him. I agree with him about most things. But like, it's still, even though it's not perfect data, I, I don't think it's worthless either because you know, we use this process to guess in terms of estimating projects and it's usually, we're pretty decent at it. We usually come in, yeah, we're
usually able to to pick a decent sized budget and and hit it. That's awesome. That's a very hard skill to have. For a while I was running a consultancy and it's very difficult. Yeah, yeah. And I would say like that's, I think live views really made a material difference in terms of us getting better at that than we used to be.
Like before when we were doing things where we had the whole front end stack and the whole back end stack. I feel like our our estimates were much worse. The more projects that you have or the more different frameworks involved, it just yeah, it complicates everything. Yeah, yeah. And the more code bases you have because like whenever you start having apps and things, it's just a multiplier, right? Like if you're making a native iOS app or even if you're doing like React Native for both
Android and Apple, it's still, it's another code base. It slows you down. Oh yeah, yeah. And sometimes you legitimately need that. And that's that's just is what it is. But yes, when we're able to build a web app with live view, we've also had pretty good success with like just doing a thin native wrapper around live view apps, which I don't hear people talking about too much, but we have like a couple like apps in app stores that take that approach.
It actually works. Yeah, I feel like you should. You got to write A blog post or something about it. Probably. So you're probably right, but yeah, one of our apps has been in production a couple years that way and. That's awesome. Very cool. I like so anyway, yeah. Yeah. Is that usually the route you go? Like if you're not, if there's like there's very, it's rarely needed that you need like the top features of an iPhone or Android phone, right? Most of the time it's it's you just need APWA with some
notifications. Yep, Yeah, yeah. And so that's what we've done when we can get away with it. And it's it's bricks. Brian Carter. Carter, I always butcher his name. He says hi, he's in the comments, he's listening. Oh, nice. Hey, Brian, what's up? Brian is an awesome dude. Yep, I always enjoy having him on too. But yeah the rapper idea is cool. I would like to see some blog posts I like. I rarely do front end developing
and when I do I I I was pretty good at design work, all the front end stuff so. Yeah, that's the other thing. That was, yeah, that was the other thing. Actually, this project that I, I didn't have a chance to to talk about that was really awesome. So before that I'd done like a couple other like smaller experiments where it was like just me and cursor. And so like it could do a user interface and it can definitely, you know, do tailwind stuff and
make it look OK, but it's not the same as having like the same way that like it can write code and it's OK having an actual like a designer with like, you know, at least my level of coding skill, but on the design side on that project. And then she was also levering cursor, leveraging cursor to do what would have been grunt work for her. Having that combination was really amazing because we also
had like the level of high quality UI Polish that we expect on our projects as part of this whole deal. And that was was really, really cool too. And the other thing that we did as we went along is like our designers tend to start with like canned sketches a lot of the time of like, OK, let's like, let's just do a sketch of what the screen should look like. We were able to like start with like the nonsense that I came up with as a developer. She would hands hand draw like,
hey, let's like make the screen. This would be a lot better if we made the screen look like this. We could just like take a picture of that sketch and tell cursor like please reorganize the screen to look like this and it would like do it. That's that's cool. Yeah, that's impressive. I will like I like from the the the design aspect. I don't think you'll like the same with developers. You can't replace talent like because you can't replace like the way UX works, right. And I feel like you still need
people for creating good UX, especially with like mobile apps And like, like I'm talking strictly from like just like a landing page design where I have zero skill, it can do pretty good. But as far as like user experience, like moving a mobile app or even a web application that's a little more complicated than a landing page, I don't think it's there. Oh, yeah, it, and I mean, it's, it's like yours. It's never going to replace.
Well, I don't know about. I just, I do not yet envision a scenario where it can replace experienced people. And that's not like if you look back at the history of innovations like this, that's not what happens anyway. It just like it makes us radically more productive, right? And as. Developers that will do that, as designers that does that too, and that was really cool to see. Yeah. The way I like to look at it is I, I feel like you can have like a very large scale product application with like two or
three people with really good skill sets from like maybe like UX field, engineering field and then marketing and sales. And I think you can, you can scale a lot with that team of people. Yeah, yeah. And that's we think so as well. And and that's sort of the next thing we're trying to figure out is like, OK, what does this change about like custom software development generally?
Like if we can, you know, if we can be like an order of magnitude more productive in terms of how fast we ship high quality software, What does that unlock in terms of like, like there's lots of organizations who could benefit from custom software development that definitely could not have afforded it before. And like what does it unlock in terms of like a potential market that couldn't have, that could
benefit, that couldn't have afforded it? And I, I think there's a lot out there. We we think that there's a lot of opportunity out there. I. Think we have to? Just prepare to change what we do. Yeah, we have to. We have to prepare ourselves to be annoyed by this. This vibe coding trend though, I think that's gonna drive us nuts for a very long time. Yeah, yeah. I mean, you know, I, I was talking at the beginning of the podcast about like, you know,
vibe coding apps like that's a thing you can do as an experienced developer and it's kind of fun. But yeah, it's not like a yeah, it's not like a real way to to build. Yeah, last last week I busted out. I busted out my aviators and now they're my vibe coding glasses, you know? Nice, yeah. I mean, I feel like it can be fun and it would be fun to mess around. Like I can't remember who it was now, but they reached out and
they were joking. But like it would also be kind of fun. They're like, what are we going to build on a live stream? Just vibe coding. And I think it'd be fun. It would be a fun little way to mess around. Like get like 4 Elixir developers on a live stream and we can build a project together, push to git and like actually produce something. Yeah, yeah, I'm going to steal from Tim. Like at the very beginning of all of this, he like introduced cursor to me as like, what if we, like, essentially approached
it. This was before Vibe coding the thermos card that he said like coding, like coding with cursor as improv comedy is how he put it. Like what if we approached it as like, OK, we're going to like work with somebody and take their ID and feed it to Cursor and see what happens. And it's probably just going to be hilarious. You know, we're not going to expect anything useful to come out at all. If it does, like, hey, that's great. But if not, like we're just going to have a good time. And like, I think if you approach it that way, it is, it
is kind of fun and interesting. And yeah, I think the whole like the improv comedy aspect of it is, is is interesting. Andre in the comments that sign me up like I think it'd be fun. Well that we should get like we should get. We should pull Brian in. You could do it Daniel, and we can we can vibe code 0. Yeah, yeah, I think so too. Make a We can even let we can let Claude come up with the project too and like just start completely from scratch on the
stream. Oh yeah, yeah, I think it could be fun. It would be fun And then just like strictly live view and keep it at least simple into like one text stack and then yeah, see where it goes. Yeah, yeah. And like if we can have a working production, obviously not production, but if we can have a project that compiles and does something in like 2 hours or less, that would be pretty cool.
Yeah, yeah. I mean it can like do a decent job like especially with something like fly it'll like deploy OK too. Oh yeah, there we go. No, I've told it like, OK, now it's time to write a GitHub action for this thing and run all the tests and deploy to fly and they'll be like, cool, I got you we. We deploy to fly and then whoever was watching our stream, they see like a vulnerability and we immediately get hacked. Sure, sure. But it would be fun. It would be fun. I see all these tweets out there
of like people building SAS products and things and then they're like, yeah, I vibe coded all of this. And then you'll see that they get like hacked or attacked, like DD DOST, whatever it may be. And I'm always wondering, do you think they're all real or do you think most of them are like satire 'cause you never know On XI? Feel like people love to troll. Yeah, I don't know. I haven't tried to investigate
any of the things. It seems really plausible that at least some portion of the time, especially if you're just like, if you're not afraid to throw away multiple attempts, you could absolutely vibe code a SAS product. And if you weren't capable of reading what it had produced, I'm sure it would have all sorts of like garbage code and security vulnerability. Seems like completely plausible. But like, both seem plausible to me.
Yes, you could actually probably get it to build an actual thing. Yeah, and get it deployed and collect money like, which is wildly scary to me. I think it's plausible, yeah. To use Mythbusters, I think I would declare that it's plausible. Plausible. I can't confirm it myself until I run an experiment, but it sounds plausible. Yeah, it does. I agree. But it goes all, it goes back to like it's really disturbingly easy to turn your brain off when
you're using one of these LLMS. And that's the default. Like it's much harder to keep your brain on than it is for it to for it to turn off. And so that's why it's like, yeah, critical to to do all the practices that help us be successful as developers now become even more essential. And I think so that's my favorite thing about this whole experience is like I came in being really afraid. Like the things that I value about software development
wouldn't matter anymore. And what I found is like, they're even more important. I was going to say it matters even more. It matters even more. And the two things for me were like Test driven Development, which is still the best, the best way I know how to build software. And the other thing was language choice. I was like, OK, well it's just not going to matter because the LM can write everything. So I guess we're going to all write Python or something now it, it doesn't OK job with Python. But what's interesting is like languages that are really,
really productive for us as developers are also productive for the LLM for the same reason. I think Elixir having first of all, approachable, intuitive syntax means the LLM can guess and be right more of the time. And the other thing, I'm, I, I, I haven't tested this well enough, so it's still just a hypothesis, but I really kind of believe that like functional
programming is, is better for us humans because it eliminates so much of the context that's like outside of like we can't see, you know? Dude I've said this so much too. It's constrained to just like, OK, I know this function like what comes in and what comes out is all there is and. No global state to be messed with. And also like I feel like I've I've said this over and over. Like if I learned on a functional immutable language, I
think I would have picked up the skill of programming much faster. We've got a chance to actually try that in in real life, and it's been really, really cool 'cause like our latest generation of apprentices, multiple of them have just come in to Elixir as their like first production language. That's wild. That's cool. Yeah. They've been really successful at it and it's been really cool because, yeah, Elixir has this reputation of like, it's for experienced developers only or something.
I don't think so. I think it's great for new developers. Yeah, I agree. And I just always tell people stay away from the shiny objects until you actually understand what you're doing. Like jenservers and you know, supervisors like yeah, sure, use Phoenix in live view, let them use it under the hood the right way. But if you start using Genservers too soon, you're going to just introduce like global state problems and have the same race conditions we have in object oriented languages. Oh yeah, yeah.
Did you see that video? The it's really, really old now, but the OOP library that they, there's a video of somebody writing like it's a joke, but like they write this whole object oriented programming library in Elixir and like use it behind the scenes as like macros and Gen. servers and stuff. But they like add more and more features as they go along, to the point where they have like multiple inheritance and. It's just like, that's funny, I
have not seen that. Do you know what it's called? I'll go find it. I think it's just like I think the library is just OOP, but you know, that's. Hilarious. OK, cool. Yeah, that sounds. That sounds funny. Yeah. But yeah, I just, I remember just, you know, I will like my first language was pretty much like Objective C and Java. And then I moved into Swift when
it came out and that's what like made me actually really enjoy programming. I think that was the first syntax I really enjoyed writing. But like so many things with object oriented programming that just like it, it, it makes you, it makes it hard to like if you have like an engineering mind, you're already used to breaking things down. And I feel like doing all these magical objects and mutability complicates so much that you don't really realize.
Yeah, I, I actually, yeah, I did object oriented programming for a long time. And you know, I in college there was, I guess there was some C++, but like Java was just brand new when I was coming into the field. So I actually really enjoyed coding in Java for a lot of years and got to the point where I like, I felt like I was really good at object oriented design. You're the only. Person I've ever met that said they liked Java.
I mean, so before I was writing Java, I was trying to build web apps in Pearl. And if you do that, you might find that Java's actually an improvement. That's funny. There are actually things worse than Java in the world. So anyway, yeah, I, I liked Java. I actually, yeah, I did a lot of Java, talked to Java conferences and things. So and then I switched to Ruby, which I, I, I really, really
loved. And of course, it is an object oriented language and I struggled initially to transition to functional programming, even though like people were talking about it a lot. I had lots of really smart people that I trusted suggesting that like it was the way forward, but it didn't quite click in my mind because I kept thinking like, OK, well an actual application does have state like otherwise it can't do
anything right? Like state is a thing that exists and like it, my brain couldn't figure out like where where it went. But when I saw Elixir and I saw OTP, even though in reality you don't want to use jenservers that much, the fact that they were there all of a sudden like made it OK because I knew where like where I knew where the state could go. It like gotten over the hump to
like actually like dig in hard enough to get good at functional programming somehow. It's like a containerized version of state, you know? Yeah, yeah, there's something about it. Or it's like, as soon as I understood where state would go when I needed it, then everything else you know started to make sense to me. Yeah, well, and like, I feel like, like I was writing Elixir for a year before I even started using Genservers and like a real project that I was building and I just didn't, I'm, I'm glad I
didn't dive into it because I didn't have a need until I had a need. And then I figured it out, you know? I did the opposite of that. Still, I came to Elixir like first. I was like, I was intrigued by it and I think I was like talking about Elixir and like evangelizing Elixir before I was writing that much production code. So I was like writing jenservers for conference talks and things like that before. Like I was actually, and this
was like it had to be before 2015. Like pretty early on. I remember giving a talk at the O'Reilly Open Source convention. About how Elixir and OTP like more correctly implemented the original vision for object oriented program. Like if you really, if you go back to like Alan Kay and the original ideas that became OOP, it was all about like message passing. And so if you look at OTP under the covers, it's it's all about
like tiny things that, you know, just pass messages and know global mutable state. And so anyway, I was like talking about it and like getting those ideas on writing Gen. servers way before like I started writing real Phoenix apps in production and things. We don't really need that many Gen. servers. It is more, it is more fun, like when you write your first Gen. server and it clicks, you're like, this is the coolest thing ever. And then when you start like doing dynamic Gen. servers and
dynamic supervisors, you're like, Oh my gosh. Yeah. It's fun like I recently like within like a couple months ago made like a really small like Peggle game server. Like it was just a very small like Peggle style game, you know, drop the ball, hits pegs on the way down. But it was it's like multiplayer where high score wins and it was cool. So I made like a Genserver for the game, the game state, and
then each player got their own like user state, Genserver. And it was fun. It was really fun. Like spinning that up and playing with it 'cause like I was like, I have a reason to use Genservers and I'm going to do it. Yeah, yeah. And yeah, they're fun. And then, yeah, message passing and just, and then like if you're an observer, I had a live view where we create a little UI of like profile heads that would
like move like a race depending on their score. So it was. It was a fun project. Yeah, that sounds cool. Yeah, but yeah, I want to. I feel like we had a list of things that we could 'cause I feel like AII think we hit it, but I feel like there's there's a lot that where is that? I had a list of topics that you suggested and now I just have to find it.
Yeah, I don't know. Oh, your web assembly components and stuff. That's a fun subject. I think so so yeah, web assembly is a really interesting space and like for years it it's been cool and you can like do great things with it. I mean, obviously you look at things like Figma and you know, Adobe and, and those guys and
you know, taking these huge EC plus plus code bases and implementing them browser and you know, you can do great things with it, but it's really pretty low level if you look into web assembly itself. So like web assembly, the initial versions of it basically are constrained to, if you're calling, you know, if you're calling into a web assembly function, basically the types that you can pass are pretty
much like numbers and vectors of numbers and that's it. And if you want to do anything more interesting than that, you also can like have a patch of shared memory that both the caller and the callee can interact with. And that's fine. But if it means you want to do something as simple as like hello world in classic web assembly, you're like, OK, here's this offset to memory and
OK, we should figure out what encoding we want to use. It's like incredibly like ridiculously low level to do anything at all. And so with web assembly components, this came out of the work really on the server side of web assembly, there's something called the Web Assembly System interface, which was basically like if I want to write server side web assembly, one of the things I need is like
how do I get to the surrounding environment? And essentially like early versions of Wazi were basically like kind of similar to POSIX in terms of like a low level C API for interacting with like file systems and networks and things like that. And that community realize that like what we really need is like a high level way for web
assembly modules and web assembly, you know, to interact with its surrounding environment. And web assembly components are a layer over top of what they call core web assembly modules or like the original, you know, low level web assembly modules that bring to web assembly a high level language and agnostic type system.
And so basically now you can have interaction between a environment that's kind of hosting a web assembly module and a language that's implementing the web assembly module. And they can interact in in much more high level expressive types. So you can pass in, you know, the kind of types that you would
expect that you can pass them across the language boundary. So it's really kind of makes Web Assembly way more practical than it used to be. And So what I've been working on lately is implementing the Web Assembly Components spec in a library called Wazemex, which is an Elixir library that wraps Wazem Time, which is one of the the more prominent web assembly
runtimes. But it's really interesting in terms of like, if you're, if you're say, building this and hosting a SAS platform and Elixir and you want to let users to be able to customize what's going on in your system right now. The way that we do that is, you know, OK, well you can have a web hook that it calls out to and maybe an API that like if you're a customer, you can call
back. But with web assembly components, your customers can now provide you written in whatever language that you'd like. You know, with high level types, they could provide you like code that you can safely execute inside of your own platform. Because web assembly, the other thing that it gives you is like it's secure sandbox 0 privilege by default.
And so, you know, I don't know, like the example that I've been to kind of playing around with those. Like, let's say you're like an e-commerce platform and you'd like your customers to be able to, to write their own discount logic. Well, now you can like define a high level interface for what an order looks like. And the customer could write in any language if they want, you know, C# go, Python, JavaScript, whatever. They can basically just write a function which conforms to the
discount calculator interface, compile it into a web assembly components and just like uploaded under your platform. And you know that like that code can't do anything in terms of like talking to the file system of the network. All it can do is like return the value that you say that you want. And you know, you can use that as you know what you would have had to do with like web hooks and API calls and asynchronous stuff calling back and forth.
You can now just like do that on a much, much easier high level in line way so that like discount logic can execute like right when the orders being computed rather than having this whole asynchronous back and forth. So that's, I don't know, it's it's hard to like talk through all this without like looking through code examples. So I hope some of that made sense. But that's the reason that I've been excited about Web Assembly
components and being able to interact with them from Elixir. No, yeah, that's. That's what I was talking about in Barcelona. Yeah, Yeah. That's really cool because it basically doesn't it prevent us from interact like Web Assembly is vastly widely used and then it doesn't restrict us to like our own DS, LS or anything like that. Oh yeah, Kind of bundle it up and make it work with any platform at that point. Yeah, yeah, yeah. I think it'll let us, well, it
will let us do things like, you know, the the whole effort with Python X to bring Python into Elixir is awesome. I'm more excited about like, well, what if we could do that with anything, You know, what if we could just like run, what if we get to leverage a library from Rust just as easily or from Go or from C#? And that's the other promise of web Assembly components that that get me excited. Yeah, Now I have the GitHub repository pulled up and I like,
I've never done anything with Web Assembly or or Nifs for that, for that. But when you start writing like Rust and like compile like when you write like a NIF, are you compiling Rust like directly in the project at that point? Or how does that work? So let me let me clarify the question a little bit. If you're talking about, if
you're talking about using Rust and Elixir together, let's talk about the scenario where we're using web assembly components. At that point, what you would do is like for your Rust, you'd have a target that would be like, you know, the right, I think it's like Wazim Wazzy P2 or something. It's a specific target where you say I want to compile this Rus code into a web assembly component.
And so it's not an if at all. It's. Yeah, it's a wazim file. It's a binary file. It's a web assembly binary file. That is not no native code at all. And then Wazemex, basically what Wazemex can do is it can load that web assembly component as its own process. And then from Elixir, you're just like communicating with it and it's a super, but you're,
you're just like hauling into it. So the other thing that it will do is like you can, it's got macros so that essentially you can spin up a Genserver that gives you like a high level Elixir module to interact with. That's kind of the the the that that is implemented by that Web Assembly component. That's real. OK, That's really cool. That's really cool. So yeah, it's just an elixir process.
It's supervised as part of your supervision tree. Or it can be and to you it just looks like elixir. And then how, how it's handling, how does how does it handle like failures and crashes and things like that, like. Yeah, it will. Yeah, this is actually what I did. So I'll hopefully my, I don't know, I take a few more days for my video from Barcelona to be online, but that's what I actually was demoing in Barcelona. Oh cool. Super. So this was conference was just
a web assembly conference and the talk was about like supervising your web assembly components with Elixir. And so I was introducing that community to OT PS and supervision and how all of it works. And so web assembly components, when you call in and let's let's say like I, what I did is I wrote some JavaScript that just like raises an exception if you call it with a certain parameter. And so you can see like in the console, the process will just crash because like it'll, you
know, it'll hit that line and give you a web assembly garbage error, but the process, it'll just get supervised. It'll just like get restarted to like any other. Whatever. However your strategy is set, it'll do whatever. That's really cool. Yeah, you'll have to. If it's not out already, make sure you share that video link with me and I'll make sure to add it to the show notes for people too because. Yeah, yeah. Because that'll be, that's really cool. Yeah, I think, I think OTP is such a great thing and I don't think like the rest of the world
really knows enough about how awesome OTP is. Well, I feel like once you like understand how to use supervisors and just everything from that point, like it's just so powerful, like. Yeah, no, I was literally having the conversation where somebody was referencing like the Joe Armstrong quote about like any sufficiently complicated distributed system is going to have like half of a bug written implementation of Erlang in it. And yeah, I think there's some truth to that. For sure.
Yeah, yeah, like what's my, I have a like an introductory course that I'm like trickle releasing on YouTube right now. And my favorite sections by far, the ones that are just coming out right now, it's just like OTP, so you know, from agents, tasks, Gen. servers and then supervisors. And I think they're just like, once you kind of like start to grasp the power you have with just being able to spin up
processes to do all these different things and one crashing and failing doesn't affect anything else like and then node, node clustering is also really cool, right? Like. Oh yeah. So yeah, I think like we're really lucky because you can learn Elixir and not really understand anything about the BEAM VM. But then when you start slowly getting more and more into the Erlang side of things, it's
pretty you're pretty much unstoppable, I think. I think it's the perfect back end technology you can choose for any project. Yeah, yeah, it's so easy to like accidentally build very resilient systems without you just by kind of following the the golden path of, of, of OTP, you know, I. Accidentally built a scalable product. Sorry, guys. Well, I, I think like, and I'm, I'm sure I've talked about this
before, so sorry listeners, but I think the problem with a lot of start-ups too is they picked the popular choice versus the best choice. And if like you don't have to worry about scaling and like distributed systems when you only have a couple 1000 users at the at the start, right? But once you start having, you know, a couple million records in your database and then you start having, you know, you
start getting closer to like 50 thousand 100,000 users, You start running into really interesting problems that you can really only scale with money because you're just spinning up more and more servers to to run your application when I think the efficiency behind like an Elixir back end. Yeah, yeah. It's amazing. Yeah. So yeah, we still do. We do Elixir, but we also still have some Rails projects going
on as well. And a colleague of mine was relaying a conversation they're having where, you know, that they have start up in production that's that's running Rails and and they're doing just fine. And so they, you know, they were talking to somebody on the VC tech advisor side and this person was like from a, a big enterprise company and they were like questioning the choice of rails. And they were advocating like, well, you know, when you hit
scalability, what are you going to do? You should have started with micro services and done this whole like, you know, micro services, Lambda, whatever, whatever approach. And the answer to that was correctly like, you know, I've tried that approach. The problem is like I can build the perfect micro services thing, but but that time I'm done. Like it's taken so long to build it or I've built slightly the wrong thing and I can't evolve it quick enough that like I never get those millions of customers because like I never got the product far enough along with the money I have to be any
good with rails. I can build the thing and get into production and then maybe if I'm lucky, I'll have like the scale to hit those kind of problems. But the advantage we have with Elixir is we can we can build every bit as fast as we can in rails, but we're never going to hit those scalability walls. We're going to be able to scale at least as well as like the micro services kids, but like we're also going to be able to go just as fast. And I well no one discusses the black hole of micro services too
you. You get so tightly coupled and then your AWS is little bitch. Yeah. Oh, we might have. We might have lost you slightly. Oh, am I still here? Oh, you're back, I think, Yeah, I think just a little bit of lag hit. But yeah, you you end up getting so tightly coupled and then it's hard to leave. And that's another thing, right? Like even if you have a lot of money coming in, if most of your
profit is going towards yours. Your microservices and servers that that sucks too. Oh yeah, yeah. Now 1 project I'm really curious that I haven't played around with at all. Have you ever checked out like Flame or? I've, I haven't had a chance to try it out yet. It looks really, really interesting and I've definitely like, you know, kind of been following it. But no, I haven't had a.
Yeah, it's the same. It's it's like on my list of things to check out too 'cause I think like the concept is so cool because it kind of gives you the microservice Lambda power, right? But you still are keeping everything under your control. Yeah, for sure, for sure. And like when projects start to scale and get big enough you it is sometimes you do have to consider breaking things up into other projects if you have like heavily used services for specific pieces too so. Yeah, yeah, yeah, yeah.
We've gotten some pretty decent sized code bases. We haven't like had found it necessary to do the whole like you know umbrella thing or not. I don't know where you where you planned with that, but that's another, you know, interesting approach. What do we do when our code bases get large enough? Yeah, yeah. Well, like I've never experienced it either. I've always been on like small startup teams where you don't have to worry about a lot of those things. But then like at my current position at Collects, we're, you
know, we have like 300,000 active daily users and you know, where you have like billions of records in our database and you start running into where pieces of your project are so heavily trafficked. You kind of have to like, like the topic came up where we had to like consider breaking things up so we can scale, you know, pieces of our back end differently than, you know, low traffic areas. And it's cool, like I've never experienced it.
So it's like cool to be in a position where I am learning this stuff. Yeah, yeah, yeah. That also makes me think of things like, you know, OTP features that I feel like are really, really amazing. But I've never heard of anybody use in production like hot code reloading to like actually transition state between one version of an transition, the migrate the in memory state of a process from one version to another. I remember first learning about that and being like amazed, but
I haven't actually needed that. And I'm always curious, like to hear from people who are doing that in production for real. Yeah, yeah, yeah, I need to. I'm not super involved in the deployment process, but yeah, one of these days. For sure it's. But when you go from, I don't know, it's just such a rude awakening when you when you have to worry about like how many database queries you have and the performance of them and all the like the low level stuff
that you don't have to think about when you only have 1000 users. Oh, yeah, yeah, definitely, definitely. Yeah. That's the other thing that I always like. The bottlenecks that you actually hit for real are never like, you know, the Elixir code is too slow. It's always like that Postgres query sucks, you know? Yeah, yeah, it's your Postgres or like your database pool or
like it's always something but like, and then as you scale one part, you break another part and then, yeah. Yeah. But it's never like, OK, we actually need. Well, for for us at least, I don't think it's ever been like, you know, Elixir is too slow and now we need more servers because we have some. Yeah, it's rare, right? When you like, are you usually the maintainer of your projects too when you build them?
Or do you usually hand them off? It's a mix of both. We we have clients where like we're continuing to maintain an application that we built. Actually you know, we have an application that we still work on in production now that we maintain from 2015 believe in the Elixir application. Yeah. Oh wow, which? Is pretty awesome. I mean it's not huge at all, but it hums along and makes money. And so, you know, this company
will come back to us when they need us, but a lot of times they don't, which is really, really cool because Elixir is such a rock solid application that like, it's not like it needs day-to-day care and feeding. Yeah, I have a like a really small like project from my consultancy days where, I mean, I still like work on it 'cause I think it's really cool. But I built like a basically a web hosting service. So like hosts multiple projects inside of a Phoenix app and it's really cool. And I have like dynamic routing
and like all this cool stuff. That thing is just up and running. I I'll check in on it out of paranoia and everything's just cooking along. Yeah, yeah. That's, yeah, we've had that too, where it's like applications that we'll put in production and kind of forget about and they'll just be like running along years later. It's like if something crashed, it just got restarted by the supervisor, right? Yep. Yeah, it's wild. Yeah. But I love that. Yeah. And we have other applications like to your to your question that we've we started and then,
you know, put in production for them and then it was successful enough that they would grow and hire their own teams to take. Oh nice, that's very cool. And you want to see that too, like. That. Yeah, absolutely. Yeah. I still check in with like an application that I built for them back in 2020 where, you know, it's a, they're kind of like Uber for package delivery. I don't think I'd, they'd mind me sharing the name Freight FRAYT.
And so we helped them build the initial version of it and Elixir. And it was like replacing a no code platform that they're using before that. And yeah, they, they went to production on no code platform to figure out like, yeah, there's actually a market for what they're doing. But then they like hit some scalability bottlenecks on that thing. And so we, we helped them build the system on Elixir. And it was kind of wild because like the front end, they had
like existing mobile apps in, in React native calling in, you know, using a graph QLAPI. And so we kept those things entirely the same and just like replaced with an Elixir back end and there was no other way to do it. But like on the weekend, we just basically cut over the thing where we like turned off the no code side, brought up the Elixir side and things kept working. That's it was like that's.
Always pretty nerve wracking part, right? I know I was like, there's no way this is ever going to possibly work. But you just ripped out the engine and it just worked when you replaced it. We replaced the engines flying through the air. It was. That's awesome. Very cool. And so they are still humming along in production with their own team a few years later, and they still check in with them and. Very cool. Most importantly, they're still really happy that we guided them towards elixir because it was the the right choice. And I always point to them as
like, there's also this myth, myth that elixir developers are going to be hard to hire, and they've hired their own team and they've had no trouble. Yeah, I feel like there's a big need for elixir jobs. Everyone wants 1 you. Know yeah, people want to do elixir. That's what we see. Yep. So we can we can start to wrap this up. We've been going on for a while, but what is your least favorite tech stack to go back to and maintain that you've built?
That isn't bad building new, but it sucks to go back to. This specifically stinks to go back to. Yeah. Do you have or inheriting code bases? Is there any like specific tech that is inherently worse than the other? I mean, like, I many years ago, I did some PHP work just because
I wanted to see what all the hype was about. I love that. Yeah. Yeah. Like, it's one of the only tech stack languages where I really have trouble, like, seeing like, what is the actual legitimate good way to use this thing? Like there are other technology. Projects with PHP I won't do it. Yeah, there are other technologies where it's like you just don't want to use it for the wrong thing.
Like for instance, I mean, I've written some Rust here lately, especially as part of the Wazmex project. I've written a fair amount of Rust and it's, it's just not as productive a language as Elixir. But for doing certain things, it's still like it's a systems language, right? If you're doing systems programming, it's a good choice. If you're doing high level business applications, it's just not the right choice for that. I.
Feel the same way about Go. You know, people are using it for business applications. I just wouldn't. But if I was doing AI, was doing ACLI or a network utility, yeah, that might be a decent choice for that. Whereas with PHPI could find no decent choice for it other than there's a lot of PHP out there. There is a lot of PHP out there. I always will make fun of it. And I actually have a buddy that's a PHP developer and I was just like, dude, I don't know how you do it. Yeah, and it's like a banking
app. There's a lot of like. There's a ton. Corporate. Yeah, there's a lot of corporate projects on PHP, which is crazy to me. Yeah, yeah. And I do occasionally hear from people that like her, you know, people I respect that. Like there are some decent, you know, PHP stacks that aren't terrible to work in. But my experience was just it wasn't a good time. Yeah, I've never like, I mean like I've dabbled with like messing around with the language. I've never built a project with it.
So I'm strictly just hating on it from inexperience. From afar. Yeah. All right. Well, Chris, this is a lot of fun and I'd love to have you back on sometime. Thank you for doing this with me and everyone that tuned in. Thank you so much. This has been a fun conversation and I think it's just it's always good to hear how people are leveraging AI on the daily basis now because I do think it's like it's one of those things where it'll only make our
lives a little easier. Yeah, Yeah. I think it's like it's not coming for our jobs. It's coming to make our jobs better. Yeah, exactly. And I really think that's the way to look at it. It can make us use properly, It can it can make us a wildly more productive and that's a lot of fun. It's just like you got to, you got to keep an eye on it and always be like, prepare to be
surprised. I love that. Yeah, prepare to be surprised. I think that's a perfect note to end on. All right, guys, thank you so much. Have a good weekend and thanks again for joining us. Chris, Thanks for having me testing.
Francesco Cesarini, founder of Erlang Solutions, and Allen Wyma, hosts of BEAM There, Done That, join Jacob for a live crossover of both podcasts. They trade origin stories, compare what the Erlang and Elixir...
Jason Cohen, founder of WP Engine and Smart Bear, joins Jacob to talk about his new book Hidden Multipliers. They dig into why engineers avoid marketing, the onboarding math behind SaaS trials, finding your ideal...
Filipe Cabaço, team lead on Realtime at Supabase, returns after two years to talk about his side projects: Vitro, a browser for every AI agent with a replayable timeline of what each one did, and Ampoule, which packs an...
Peter Ullrich returns to talk about Pushin.eu, the European GitHub alternative he's building in Elixir. Five months in, it has about 700 confirmed registrations after going viral on Hacker News, and Peter walks through...
Nathan Hessler, organizer of ExMex and RBQ Conf, is back four weeks out from ExMex 2026 in Austin. We cover MCing Rails World, how he picks speakers and keynotes for a single track, what running a Ruby conference taught...