0:00So what are we talking about today, though?
0:02introduction. Hey, welcome everybody to the stand-up. Yeah, yeah. Yeah, yeah. Yeah, yeah, yeah, yeah, YEAH. YEAH, YEAH, YEAH. UH, ANYWAYS, I sorry. Today we have with us legendary game programmer Casey Muratori, legendary terminal artisanal crafter Mitchell Hashimoto, and TJ.
0:19I thought we were going [laughter] to call him I thought I thought we were going to call him a legendary pilot. I thought that's why we called him in today.
0:26pilot Mitchell Hashimoto, also known for terminals.
0:31And apparently vagrant. Don't ask him about vagrant. That's all I know.
0:37Um, all right. So today I thought we would cover two very special topics. One, we should do a quick little dive into the FAA and this copper wire situation. And I just saw the straight like the whole thing that kind of kicked this off is I saw a post that effectively the FAA is like, hey, we're in the process of upgrading to IP.
0:56And and we were just like intellectual property? Like what do you mean we're upgrading to IP? Cuz certainly you're not referring to the 1981 technology RFC 473 or 743 maybe?
1:07We're not talking about that one, right?
1:08Because it it is the it is what is that? 40 years after IP's invention. [laughter] We we certainly can't be doing that one. But it turns out it was in fact that and there's this whole situation going on where they had to ground all the planes a couple days ago and people were freaked out. And then the second thing I thought we'd talk about is that you just released Rex and everybody is praising Rex quite a bit. Uh, quick, fast. Beegan will not shut up about it. He's closing it and opening it and the half bounce is [laughter] a real thing and Yeah, he's just like I keep closing it.
1:38[laughter] BEEGAN'S WASTING all of the time it's saving by just opening it and reopening [laughter] it and reopening it. And then it by then it takes fast. It opens so fast. We love it.
1:49So I figured we could actually probably talk about let's talk about Rex first just because I know you have a time crunch Mitchell. So let's talk about your project first because if we don't get to that should talk about we should talk about I'm not an expert on this, but talk about some of the Windows stuff that we've done with Rex cuz we released the Windows client yesterday to like the first alpha group of like 50 people compared to like the 100,000 that's using the Mac and Linux stuff, but but it's super cool and and Nick, who is our main Windows guy, loves to just mog me all
2:18the time about how it's so much faster than the Mac app, which is already fast.
2:22want to throw out a couple quick things.
2:24Today I did a poll while live streaming and asked what is people like do people actually use Windows like forced to by work or just games or for everything?
2:35And unironically, both on YouTube and on Twitch more people used Windows for everything than other operating systems, which is well, it's very surprising in the niche world of developers. It's less surprising. Like if this was like a general poll, I'd be like, oh yeah, it's Windows all the way.
2:53But I was more shocked to everyone because they also said my sweater was really awesome, which is an Arch Linux shirt. So you know, like there's like a there's an expectation, I guess I would handle. And so don't think it's even surprising. It's surprising in the very niche Silicon Valley like weird group of developers. Like most developers are also on Windows. So yeah.
3:16I use I use Mac and Linux, but I accept. I I am a I know the truth.
3:20All right. So Casey and I have talked a lot about and and TJ and Trash talk a lot about like the amazing [laughter] Yeah, I know. Sorry. You're not on the legendary list yet, uh, TJ. But Legendary vibe coder.
3:32Legendary [laughter] vibe coder TJ DeVries.
3:36There's this thing that we we we definitely yapped and chatted about with which is the run menu, which like the run menu took what six frames for it to show up and it was considered like a major improvement in performance is like we can now show up in slightly more than 100 milliseconds for an [clears throat] image.
3:52To be fair to them, I think it ended up being that that was just a weird thing they were measuring and it was actually fine. Like it was it was one of their like major comms failures because they said 100 milliseconds, but it turned out that it actually was just maybe like 16 milliseconds or something like that in terms of the the actual time in in if you don't count maybe slow mouse drive like I we to this day I don't know what they they've never actually released here's what we were measuring
4:21so I just want to throw that out there for anyone listening but yes continue please.
4:27Hey Brian, don't forget scrum planning's later.
4:56Product manager here. We've decided to put you on call.
5:01[laughter] I I can't do I can't do on call.
5:15With Sentry [music] on call is so much fun. It has all of our errors, logs, spans, metrics, replays, and even releases [music] in one spot. It has all the context we need to solve any bug.
5:28[music] Even if half the time Sentry beats me to the fix anyway.
5:32Just cuz software development's torture [music] doesn't mean on call has to be.
5:36Wow, that's amazing. Does Sentry also attend my meetings?
5:39Oh, that's [music] the best part. No.
5:42Sentry can't actually make on call fun, but it can make it less scary. [music] Everything you need to fix real issues in one place.
5:49Buckaroo, got that 6:00 p.m. post-mortem planning.
5:55[music] Okay, so I wanted to kind of set that up because I've been class like I have at least been classically trained to expect kind of really poor performance out of Windows. Uh at least from all the apps I open and all my interactions, they're they're not great. Like OBS takes at least 40 seconds to load on my 4090 pretty brand new computer.
6:18It's a long time. I know I click it and sometimes I forgot that I've clicked it and re-clicked it and says, are you sure you want to launch again? Before the actual window shows up and so I'm just like, oh no, I actually did I did launch it. Okay, I did launch this. And so I I I guess we should probably start there.
6:32So you're saying that this thing is so good that it mogs Mac, which I assume is fairly fast.
6:37Like can you let him give an intro first? You didn't even say, so Mitchell, tell us about this new thing you've released. Yeah, that's [laughter] how this works on a podcast.
6:47I got so interested in this whole like mogging thing. I I forgot where I was at. Okay, I double clicked and then I forgot that I already loaded.
6:53Let him give let him give an intro.
6:55MITCHELL, WHY DON'T YOU introduce yourself and what you're WORKING ON LATELY?
6:58WELCOME TO THE STAND UP.
7:00[laughter] AMATEUR HOUR.
7:06All right all right all right. So yeah, so I recently so I've been working right for like three years. My like post corporate life therapy has been trying to build the world's fastest, most capable cross-platform terminal emulator core really that's reused across like C ABI stuff.
7:27That's been going really well and then earlier this year I decided that I was ready to jump back in to that corporate world. So I started another company and that company is building on this core that is still like all our improvements go back into the and and that's a non-profit the the the terminal emulator is in a non-profit a 501c3 non-profit.
7:44So all our improvements go back upstream and we've started we've released for now is a terminal we call Rex. It is is a terminal. It is a multiplexer. So it replaces tmux and things like that, but it's sort of rethinking the separation there.
8:03Previously like you'd run something like tmux, but you still needed a terminal in order to become the front end to tmux and I I felt that that split architecturally caused a lot of problems um both for performance but also capability. Um so this merges those together um and you have to use like custom front ends and there's there's there's you know official ones we release and there's already third-party ones on GitHub from our beta testers that have reverse engineered the whole thing which is great we support that um but you have to use a dedicated front
8:32end for it. Um it is a multiplexer but what I like to point out is that the server part of the multiplexer has no concept of a terminal. The terminal is just a plug-in that you could run within this multiplexer the multiplexer itself is closer to like a Windows server um really um but initially to ship something provide value to people I'm not I'm not trying to ship a philosophy I'm trying to ship something that actually helps people work um is it's a terminal you know you could close it restart it your session
9:00stay there you could open it on your mobile phone you could open it on you could open a Windows terminal from your Mac or Linux machine like all the stuff just works and so that's that's Rex.
9:12And I will say I I I don't know if I mentioned to you earlier Mitchell but I had I've been hacking on some e-ink devices I have a Remarkable Pro um Paper Pro and I put ghosty on like I just I've been it like I just put ghosty as the library like I embedded it because I was doing this like zig runtime thing it was like it was perfect it just worked I was like cool I have a fast terminal on my e-ink display it was hilarious it was like actually working really good yep.
9:42we test in CI like free standing no operating system targets are fully supported by lib ghosty which is it's fun.
9:52The practical use case there is we actually want like I mean look yours is fun that a great use case but we actually want to we we want to be we want lib ghosty to be able to provide a modern terminal experience to power the first boot consoles before your operating system boots um because those those like consoles that pop up like if you like drop down from Grub or something are so crusty, but they're safe. And we're trying to like get to the just as safe, but you can actually have colors and you can actually do all
10:20these things that aren't that hard to do anymore at that early boot stage.
10:25Nice. Okay, so now Prime is your key to like jump in with the boot time right? Like this is the this is the opening, right?
10:35So so Mitchell, now that you've done this amazing introduction as to what you've been working on that I have clearly planned and thought through, I have noticed that you recently also discussed about how Windows is in fact mogging [laughter] Mac, the beloved operating system of the Silicon Valley in speed and performance.
10:56And so I'd love to hear more about this because as somebody who, you know, you could call ignorant, I didn't even know people used Windows. And so this is very shocking that [laughter] performance and usability could come out of an operating system. I didn't even I thought that was just a data collection you know [laughter] It's also how we get our advertisements, Prime. So like sometimes I I need to know like, you know, for example, is there a new Minecraft out that I should be aware of or That's what the start menu is for.
11:24Start advertising is what it means.
11:27Yes. Sometimes I lock my screen just to see the advertisements.
11:32To be fair, they're really targeted. So it's like it does [laughter] turn out to be pretty good.
11:39[laughter] Yeah, yeah, yeah. So I mean, look, I don't use Windows day to day. I I have a Rex server running on Windows so I could develop headlessly Windows things, but but you know, I've obviously tested the Windows client and stuff and and I will just say the passion behind Nick who builds our Windows client is very high and he's created an excellent piece of software that he likes to point out and I've seen boots really fast cuz Mac has this thing
12:09actually where even I've instrumented the the earliest you could put a code signed bundle, I've instrumented that first instruction it jumps to. And there's basically with an fast internet connection cached uh what do they call it code signing certificates and all that stuff. It's still like a hundred something milliseconds. Like you can't actually it's Apple's fault. Like we actually can't get our app our graphical app to start [clears throat] faster than that.
12:38Like if you have a full app bundle that shows up in his icon in the dock and all that stuff, we can't beat that. But on Windows you can beat that. Um so so he has. He likes to point out and it's very fast.
12:50Really? So this is just a Mac like requirement? What what are they doing that's so much different than than Windows?
12:58like it's all like closed source not all of it, but a lot of it's closed source so you're not quite sure. But like as far as I could tell there's about half that time is just the dynamic linker grabbing like all the app kit bundles and loading those in and doing all that stuff. Um there's obviously the there is a step even if you've cached it where it has to go through gatekeeper to check that the certificates are valid and all that stuff. That takes some time. Um if you don't have that cache it's even worse because it has to literally reach out to the internet. Um uh if you if you have
13:28slow internet it's worse than turning off the internet because if you turn off the internet it actually fast pass to just like trusting your signature. If you turn on the internet it grabs your signature and also asks Apple like hey did you revoke this or anything? Um and uh it's actually slower. So if you're actually on an airplane or something if you're launching an app cold it's better to like turn off the internet, launch it, and then turn it back on. It's yeah.
13:50That means usually when I turn on the internet I also experience a lot of gatekeeping. So [laughter] Yeah, we've done on the Mac app part of what makes our boot faster is we've done as much as we can. Like I said we we do actually inject code before like the earliest point to spin up threads so that Mac could continue on its main thread happy path working on the GUI stuff. We do background threads and start establishing your network
14:19connection and preloading um preloading sort of the like view model logic that we will then render for when it's ready. Um we do our best to do that and that was kind of tricky and fun, but uh there there's just we're limited by what we could do there.
14:36Mm. And then [clears throat] what's um similar things. They just don't end up being as bad, right? Like on Windows the things that you typically see that are very hard to work around uh and some of these they sort of vaguely said they were going to fix, but I don't think they did.
14:52Uh one of them big ones is if you want to actually spin up an instance of a graphics like of an interface to the full graphics driver. So if you yourself want to actually start calling like Direct3D as opposed to just using some like simple GDI calls or something like that, you typically take a pretty big hit there while it does all so which, you know, presumably if you're making an optimized terminal you probably want, right? So you you kind of have to take that hit and there's nothing you can do about it really.
15:21Can can you do like a do the fast thing first, do the GDI thing, and then fall back to initializing and thus you get the win, but you have to have this really crappy Yeah.
15:32You you could uh and then the other one is is memory typically. So depending on what you're actually doing um if you you know like me I I don't know the specifics of Rex, but like hopefully it can if if it when it starts if you want to be very fast what you kind of need to do is keep the actual memory footprint that you're using at startup very small, like as small as humanly possible.
15:56And then like in the background start expanding out to whatever memory you actually needed. And the reason for that is because uh Windows is absolutely terrible at mapping fresh [snorts] memory. This is this is like a huge huge issue if you want to break like you know if if you're trying to do something that actually requires some memory and you want to break like you know the barrier of 100 milliseconds or something like that. This is always kind of a thorn in your side where it's like
16:25okay we're just sitting around waiting for page faults all the time. And there's not much you can do about that because Windows doesn't really provide um yeah this is kind of a rat hole but they they don't provide very good services for things like if you wanted to use large pages uh you can't really do that without administrator running as administrator running the app as administrator.
16:46Uh if you want to tell it to pre-fault like a huge range of pages Is it 16 megabytes?
16:51It's uh well on Windows there on X60 it depends on the processor right. Uh so on X64 assuming it's Windows X64 uh the page sizes are default 4K the next size up is 2 megabytes and the next size up from that is 1 gigabyte.
17:06And so you actually Okay okay.
17:07you have to have administrative privileges to get the 2K or the 2 megabyte page?
17:12Yeah uh so the way that it works the way that that stuff works is like the um the operating system is tries generally tries to coalesce contiguous page faults the in physical memory into larger pages so it will if it sees a run of 4K pages that it can aggregate up to 2 megabytes the contiguous physical um it will do that.
17:41And so once once you are once you have paid the cost of this upfront faulting which is very slow then it you can get some of the benefits of large pages on Windows.
17:53But if you actually want in Windows to say I want like allocate me 2 meg pages off the bat they do not allow that uh unless you turn on a group access policy and run as a uh with that access policy enabled or something like this. It's it's really I can go into detail about sometime when we're not time time limited. There's a there's a whole I'm happy to talk about that later but it's it's it's a whole thing.
18:17I'm going to look into this after this this is very interesting.
18:20I I'm happy to talk you about it. I've I've I've gone into detail with them on this and they they said that someday maybe we would get a way to do a virtual alloc upfront where we just said, hey look, know, we're not turning on large pages, so you don't have to do There's reasons why they don't allow you to enable large pages without the policy.
18:39Um and I I can go into detail on those some other time too, but they said they were going to make it easier to pre-say, look, I'm I'm allocating this memory. I'm about to like I'm going to just blow through it and do stuff with it. So don't wait.
18:53Like just map it as a bunch of 2 MB pages now because that's what's going to happen, right? And And they I don't know if they've ever added this flag yet. I haven't looked at the latest like Windows 11 service updates or whatever But anyway, that's all that crap.
19:08The The second one is all new to me and I want to learn about that. The first one is very true and also on Mac, this is the slow uh GPU stuff. So on Mac, separate from the 100 millisecond startup, acquiring your first I forgot what they call it, a metal device context or something, but acquiring that first one per app, it's not it not per system. Like even if other systems are using the GPU, per app, there's a 300 millisecond delay in acquiring that first metal
19:35context. Um so exactly what Casey said is the same in um Mac and we Ghost itself doesn't support this, but we're actually we have a paid contributor that's working on it.
19:46Our plan is for the first you know, few dozen frames to actually CPU render everything because it's faster while in the background Um I don't know on Windows, but on Mac you could metal thread safe so you could grab the context off thread off the GPU off the GUI thread. So um we're going to grab the context and when it's ready, we're just going to like switch over.
20:12That's a good That's a good plan.
20:15Approved. It's got the Casey stamp, so now you know.
20:20Casey, when's the last time you heard someone excited to talk about the first, you know, 150 milliseconds of their newly launched product.
20:28[laughter] First time.
20:34Okay, so I I want to take a a small step back because I just sorry, I just got really curiosity sniped by the fact that you can do this on one laptop.
20:42sorry. I do want to take a step back and and just explore that's how we do things here at the standup. We go deep and we go we go deep fast.
20:48That's what we do, okay? And by the way, I'd like to introduce BUTT SNAKE OUR [laughter] OUR VPN SPONSOR.
20:59SORRY. Uh so I would like to take a step back what's happening.
21:02Sorry. [laughter] Oh, Casey.
21:03I'll send you that video yeah.
21:04famous Casey Well, editors, editors, play the ad in this in the future.
21:09I want to give a huge shout out to our sponsor Butt Snake. Butt Snake is the backdoor of the internet. It allows you to go right up into the internet without anyone seeing what you're doing.
21:20It was it was I was making fun of of how every YouTube channel has an ad for VPNs. So I made up a fake VPN company that that was I got it.
21:28I would say I don't I don't know if I should be laughing or about to be canceled or laughing because I'm about to be canceled.
21:33is yes. You are correct. [laughter] Um all right.
21:36Embarrassed that you accepted the invitation to come here is probably the correct emotion to feel if you but yes, continue.
21:43All right, believe I understood based on some of your writings, so your motivation behind Ghosty wishes that you you wanted to build the terminal. It seems like it was more of like a personal curiosity adventure to see how well you could make something. Maybe even inspired by legendary game poker Casey Muratori's sweet sweet ref term stuff.
21:59[laughter] With that in mind, what what was the motivation for Rex? Like why take it from kind of this open source project back into the commercial world? What was the What are you like hoping to do that you just can't get done today?
22:12yeah. Um I guess that's two topics cuz like why build the technical product and then why go the commercial route or like kind of separate things. But the the technical product like why build a product? I guess like um you know, when I started Ghosty, I thought like for sure this is pre I guess it's technically post chat GPT, but no one took it seriously and it was pre any agentic coding type stuff. And so like I was like pretty sure that terminal uses were just going down. Like it was like a cool project and it would like I want to build this thing great, but like it's cuz I live in the terminal, it's
22:42great, but like the the total group of I mean the absolute value, but also the relative value to the number of developers of terminal users I felt was going down. And then The TAM was pretty small. I'll give you that. The TAM is not large for terminal users.
22:55and of course like I didn't even I guess maybe like background I thought about it that way, but there was never any commercialization strategy here. So like I didn't care. And then at you know along the way that ended up not sort of being true in a sense. Like I mean Claude Code probably being the big reason for this. Like whatever your opinion on agentic anything is like it's driving a really crazy amount of terminal usage.
23:20And I thought I thought about this in a couple ways. Like one, it was really exciting cuz I'm building a terminal.
23:24Two, I thought it was actually a red flag because it made me ask like why multiple times of like why are they using a terminal?
23:31And it's like oh because I don't know a bunch of reasons. Like it's the the simpler programming model actually makes it faster to develop software. There's less sandboxing like web and even OS processes are so much more locked down by default than like your terminal it usually just has like full privileges to a huge surface area of your system.
23:51So it's It makes you look cool. You forgot that one. That's like a very major aspect of using the terminal.
23:56thank you look cool. And then [laughter] Yeah, and and and then also like there was also a part of me that I do love the terminal. So there was a part of me that felt like it had stagnated so long capability wise. Like I looked at other platforms. Like I always view the terminal as like a text-based application platform. And then I looked at non-text-based application platforms like browsers or desktop GUI software.
24:23And they're they innovate so rapidly and their capabilities have increased so greatly decades, but terminals like haven't.
24:31Like you could actually like probably handpick like one enhancement per year if you're being generous to the terminal emulator ecosystem that really made a significant difference and you could pull out like Kitty is a big driver of this thing, keyboard protocol, the graphics protocol. But you could go back even Xterm has actually been innovating some things like Xterm introduced 10 years ago a better way to do term info and there's like other things that like pop up, but it's like one a year. And I was like what happens if I think browsers move like Can I can I interrupt for a quick
25:01Uh if you don't know who EIEIO is, he makes really kind of cool uh games. One of them was like 1,000 people playing SSH Snake. And he does write why does the game render Snake or why does the game render strangely for me? Snake.run makes use of Unicode block elements.
25:15Since they were added in 1991 your terminal may [laughter] not fully support them yet. For example, macOS's terminal.app renders them poorly. And so when you're saying they move slowly, this is a great example of something that was made 6 months ago making fun of a 1991 feature not present.
25:30I wanted to make it a library and not the the app is more of a demo of the library is I just wanted to make sure people could pull in a library and get all these modern features without having to implement them so that Unicode block elements work on PJ's remarkable, right?
25:45Like that that's really important. So Yeah, so I took all these things anyway to to fast forward um to Rex. Um I Rex was sort of the path of like okay Ghosty is a pure play terminal. It's fully local. It's it's it behaves exactly like you expect every old terminal to support, but supports every modern like core terminal emulator feature. I kind of want to do something differently. I want to attack like remote hosts. I want to attack multiplexing um and I want to
26:14attack like mixing terminals with non-terminal functionality like how do I view a markdown file without a TUI? How do I open my browser without like from a remote machine without fully learning how like SSH remote proxies and all this other like being a terminal expert. Um and so Rex was sort of my path towards that and addressing also that I don't think most people like using agent coded tools actually want to use a terminal. I think they want something a little bit different.
26:44Yeah, it was crazy to see just how many people when like CloudCode came out especially initially, it was like Oh, I love the terminal now. And you're like Wait, wait a second. 6 minutes ago you were making fun of me for opening a terminal on my computer. You said and it was just the there was a really big shift um there and it has been interesting to see I always use my neighbor as like the the anti I don't know depending on your point of view the pro or anti example. He's a commercial real estate investor Yeah.
27:14and he uses a terminal to use CloudCode to build vibe coded commercial real estate analysis stuff. And like that guy should not be using a terminal.
27:30So yeah, like this is like I actually I actually my goal is like Rex should eventually solve his problems but without him needing or realizing there's a terminal there.
27:40So you just think that it's like I opened this thing because I wanted to run CloudCode and he does no longer thinks like I got to use this terminal or whatever. I'm just doing my my agentic stuff.
27:52Just a monospace browser window for him with plain it's like that's it, you know. [laughter] Which makes sense. Yeah.
28:01Does that mean you're going to be like backing away from monospace stuff at some point? Will you be adding in more like Yeah.
28:08fully rich featured stuff that is Okay.
28:10Okay. Is that the Yeah, and I think the full other approach that people have taken is like remote desktop protocols like RDP or VNC or something and I don't think that's right cuz I don't think you should be shipping pixels around. Um so like there the path we're going to be taking is sort of more of a semantic UI approach that renders equivalently across platforms that does our best to enable native elements but we're not or or explicitly not a native. Like those things are not going to be explicitly not a native application, but like I
28:39feel like there's a spectrum of cross-platform like web stuff that's super easy and the capabilities of terminal native stuff and like we we want to line up somewhere in the middle. So yeah, there will be stuff pretty shortly.
28:53How do you not accidentally make the DOM again?
28:57Just by knowing what he's doing, by by having a an idea of what [laughter] he's doing is how he avoids that.
29:04So for now for now we're like we're still in the design phases, but for now we've taken this strong stance that we don't want to enable custom UI.
29:13We don't want people to be able to do totally custom UI elements. We really want to go back to like I actually use Windows and even Mac in the early 2000s as a good example of like if you grab the office off the shelf like UI components that you literally drag and drop from like whatever Visual Basic or Interface Builder on Mac, your app still could be really good and feel really good and it's kind of impossible to do that now.
29:39It doesn't feel whether it's a tooling or technology, you know, that it doesn't feel right. You almost have to do custom UI to feel great, which is like really like Racket on Mac and Racket on Windows has a lot of that. It's really sad. It's like can we provide actually elements that people want to use that are off the shelf so that we could provide a great consistent experience without exposing like every single customization is necessary to build custom UI.
30:02I saw something just yesterday where you guys like I think this is an example of this. You're providing a few like UI primitives of people to be like cuz you can script Racket a little bit with Lua right now. I haven't Today?
30:15Okay, nice. That was today. Yeah, and so you have like UI.pick or UI.input and it's like yeah, those are pretty much all I need for like 99% of the things that I would do inside of an app is I want to pick things from a list or I yeah.
30:30Yeah, and there's like other philosophical beliefs that I sort of have around the UI, which is sort of that like right now the way to make a GUI programmable is to sort of hook into accessibility features um either used or abused depending on your point of view the accessibility features of an operating system. Like our point of view is every UI element, every interaction has to be API driven, has to be defined by an API so that, you know, the the AI focus is so that agents could drive it, but also so that all their programs you write can automate you know you could
31:00drive it as well. Like right now I think it's it's too bolted on and so for us like you can't define in it you know we haven't shipped the UI stuff yet but we have we have experimental versions of it. Like you can't ship a button without that button actually having an API associated with it. You can't ship like a a table view update without the data source behind it also being queryable via an API. Like forcing that at like the metaphorical operating system layer although this is you know in the app
31:29space um is like what we're trying to do. And like the crazy thing I've I've said this like the crazy thing is if people agree with this and it picks up traction and like one of the things I would love to like burn money on is hiring a couple people to just explore like a a distro like a Linux distro where PID 1 becomes this as the windowing server and to see like does that work? Does that feel right? Like can can this actually work? Um I just think it's a really interesting it could
31:57transition to an actual interesting like window management path.
32:01Mhm. How long do you how long do you think you are from that kind of goal of of of this of what you just said? How long do you think you are from that state?
32:13Even experimental stuff.
32:15experimentally like less than two years? I don't know. Experimentally [clears throat] experimentally like less than two years.
32:21Um whether that's even a good idea or not like we're yeah I we're we're months like one two three months away from shipping non-terminal blocks and the actual UI system that we're thinking about. Um and then you know that'll be cross platform. We already have Windows, Mac. We don't We have a Linux client that we're not releasing because Linux has so many opinions that we need to Like, if we just release this, we would have so many angry Linux people. We'd have the happy people and so many angry Linux people, and we need
32:50to like We need to be really clear about what we're trying to do there. Um, so we're holding that a bit. But yeah, yeah.
32:58Just for Just for like the fun of the exercise, what is one thing that you think you would release on Linux that would You would get a bunch of pitchforks for? Like, what is What is one of these topics that make people super super upset?
33:09Okay, well, like right now right now our our app that works on Linux right now is basically a a port of the Windows app um because of the way we architected the Windows app. It works really well. Uh, but the problem is that every like Rex session has to be it within that window. And so it doesn't play nice with tiling window managers or infinite desktop window managers. And And people get really pissed if you invent a window manager that's nested inside another window manager. Um, and so like that's one of the things.
33:40I mean, I get this in Ghostty. Like That's fair that was That's fair.
33:42Ghostty supports splits. Like we're not even trying to do anything fancy. Ghostty supports splitting your terminal from here to like here. And I get the angriest tweets and emails being like, this should be solved by Wayland. And like, you know, like all this stuff. And I'm like, it's just like there if you want it, man. Like I don't know.
34:00[laughter] You know, normally that's what I say about Wayland. I'm like, this should be solved by Wayland. [laughter] But I guess people say that about other apps, too.
34:13It's the DNS of Linux, you know. It's always [laughter] It's always Wayland's fault. You can blame it either side of the problem.
34:21As far as I can tell, it's it's more of like the IPv6 of Linux. I keep hearing this is the upgrade I should make.
34:27I mean, you're on Wayland right now.
34:28like half the people aren't there. It's very confusing what the you know, the outcome of this is.
34:33of those things where every time what you what you want is a feature, but what you get is an explanation. So you're like, why you know, like, I why can't [laughter] I blah, right? And instead of saying like, oh, we're working on that, they're like, well, that can't ever happen because here is this long explanation. And I'm like, [laughter] what I don't care about the I want the thing to work.
34:54I think I think there's a big separation between the like philosophy of what they're building and like the the app developers that are in the trenches of what's happening. One of our maintainers is like, bless her soul, very passionate about making Ghostty really great on Wayland, and wrote this long, I mean, I should we should I'm sure you could find it, anybody, but like this very long on
35:21their public GitLab explanation of why their what protocol was it? Oh, global keybinds. Why their global global keybinds protocol is is not working for us. It wasn't even that angry. It was a very practical. We've implemented the three separate protocols that currently exist to do this that are separate, different for GTK and KDE and whatever. And this is why they all suck in their own way and what and they they explained this like purest point of view of why this one
35:49approach is right. And her response back to them was like, look, like I'm not trying to be mad at you. I'm a literal app developer integrating this and I'm giving you an experience report of why it didn't work for us. And but they're like they're talking from a philosophical point of view and it's very difficult.
36:08It's it's always weird when you're like, look, I'm just trying to tell you that it didn't work. And they're like, well, we're just trying to tell you why it didn't work. It's like, but that that doesn't help. [laughter] Like it doesn't help.
36:18I believe you. I there's always a reason why something didn't work. What we're trying to do is get it to work, right?
36:26Well, it falls on the laps of the app developers and that's what sucks because they the the what we hear is global keybinds don't work and Ghostty sucks. And then then we become those people where like, WELL, WE EXPLAIN.
36:36[laughter] YEAH, IT LIKE A CASCADING FAILURE, RIGHT?
36:43Sit down, kids. I've got something to tell you, and 80 paragraphs later.
36:47Have you ever looked at a Wayland XML protocol specification?
36:51Hey guys, if you like this episode, you can watch the rest of it on Spotify, and don't forget to LIKE AND SUBSCRIBE.
37:00Boot up the day. [music] Five code errors [singing] on my screen. [music] Terminal coffee and living the dream.