State of the (Tagged) Union Address by Andrew Kelley
Comments
Transcript
Machine-transcribed by YouTube. Expect errors in names, commands and version numbers.
Heat [music]
[music] up [music]
here. >> [music]
[music] >> Yeah. All right. [applause]
Thank you to all the Linux programmers. All right. [laughter] So, this is the uh uh I'm the president of the Zigg Software Foundation, and this is the state of the tagged union address. uh in case um in case you know you you want
to chat with me and you need an icebreaker and uh you feel like I haven't given you like enough you know recently to uh bring up and chat with me about uh you can feel free to bring up music games art um I don't know pirates but like the good kind like the like the friendship adventure seeeking ones. Uh yeah. Uh so
let me this presentation um I think I
think Zig has been kind of more in the spotlight recently but kind of like from people on the outside looking in. Um so I want to uh I want to offer a
perspective to those people. So, if you're a hardcore Zigg programmer, like if you're if you're like specs guy, like maybe this isn't perfectly for you, but like everyone else who's just kind of like curious how green the grass is and you want to like find out for yourself, this is for you. Um, so the main uh the main thing that
we care about in in the Zigg project is uh doing more with less. And this would be kind of in contrast with uh doing less with less which I would describe as kind of like the suck less philosophy where you're really pursuing simplicity and you're like willing to give up results for it. Um, also go I think fits
in this category. Like you're you're you know it's it's a valid part of the of the design space. Like you're willing to sacrifice a little bit of results in exchange for a lot of simplicity like okay also to be contrasted with doing more with more where you know you're willing to take on like a lot of complexity like maybe maybe too much complexity uh in order to achieve the results that you're looking for. Again, perfectly valid point of the design space. And in fact, you know, even at Zigsoft Foundation, we do believe that in doing more with more, uh, when it comes to mascots, so uh, when it comes
to mascots, we strongly believe that the line must go up. Um,
but what you what you really don't want to do is do less with more where you're taking on like some cost or some complexity, but you actually lose something for it. Like this is not a valid part of the design space. Uh, right. So we're at database conference. So I'm sure we're all thinking about uh OMS, you know, you're taking like a perfectly beautiful database protocol and you have your application which is just some, you know, oops soup and uh you didn't have to. You could have just wrote your query, but instead you added this extra complex layer, this OM, and then you actually just lose for it. It's just lose lose. Um is that controversial
here? Does anyone disagree with this? Okay. No, we're database people. Okay. Good. Good. Uh, another example of doing less with more, I think, would be like uh proof of work. I I hate proof of work because it's like over time you just keep burning more and more electricity and then like you're not getting anything for it. You're just you're just like, "Okay, good. We we kept doing the same transactions we were doing the whole time, but now it costs more." [snorts] Um, so I don't like that. Uh, so, okay, that's in contrast. What about doing more with less? This is kind of our our main principle. Um so with the
Zigg programming language, it's a small but powerful language. So maybe you have heard of the this this comp time feature. Um this is kind of like the flagship feature of the language where um just a a small simple construct can offer you a lot of power. So that's kind of what we're going for also on the uh on the runtime side. So when you use Zigg you get to enjoy lean programs, low resource usage but high performance. So you get to do more computing with less computer. Uh and this is also uh this is also reflected in our in our organization in our in our and when it comes to finances. So with with the business um
we spend very little relatively to our peers on uh CI infrastructure uh but we have a ton of test coverage and I'll I'll dig into that a little bit later. uh and if we want to try to understand like how how can this be um part part of
the reason uh that these other um our peers Russ foundation python software foundation um part of the reason that they're spending so much is they have to pay engineers to be on call for uh like a centralized like package u service and
uh in zig we've we've created a uh decentralized package management so we have our own problems we decentralization problems to solve, but we don't have a you know expensive um central equipment to pay for and we don't have to have anyone be on call. Um I'll I'll dig into this more later, but uh at Zigg Soft Foundation, we we try to create a no emergencies culture. So, uh
everything is um there's a plan for
everything and no one has to get woken up in the middle of the night. [snorts] Uh so we don't have to have someone on call. Um yeah and then this in Zigsaw Foundation small team big dream. So doing doing big stuff with with less people is kind of what we're doing here. And when you when you have when you have a small team uh the trade-offs that you're going to have is you're going to have a coherent vision. So that's nice. Uh but you are going to have a bottleneck on contributions. That's a downside. On the upside, you are going to also have the ability to um to fund the organization.
So when you have that nice ratio of a small number of developers and a large number of users, uh you can fund raise like this equation will work. Like you can pay for a small team because you're serving a lot of people. And uh this is where 92% of our uh donation revenue goes is to pay for the team to work on ZIG. And so to this end, I I want to communicate um to everyone that uh Zigg is bigger than me. All right, we're we're done with the with the bus factor of one. Um and but it's it's bigger than
me in a really important way. Uh which is that um let let me tell you uh how our contracts work. So the the team members that you saw here um are offered a contract that
specifically says you can build anything that you do that helps Zigg directly or indirectly.
So that means that that those people who
who you saw are all choosing what they
think is important to them for the Zigg project. So, they're bringing their own personality into the project and and maybe it disagrees with mine or it's just different and um but they get to express those personalities and the Zigg project has become a reflection of those personalities and it's bigger than me. And so, we still we still do consensus building, we still do collaboration, we still try to unblock each other. Um but there's no tasks handed down from the top. And and this works because we have a a flat hierarchy. So we we do try to influence each other. We try to inspire each other. We try to motivate each other. But we never demand from each other or specifically I never demand from people what to work on. And that's reflected even in the legal ease of the contract.
Um so to that end, I want to spend a good chunk of time in this presentation uh sharing the spotlight with with other core team members. Um, so and these are people who uh in addition to their steady contributions to the project and the community, they've also entrusted Zig Software Foundation with their livelihoods by by becoming paid contractors. Uh so for starters uh I want to call out um uh Loris Crow who's sitting here in
the audience and uh Loris is the the
first contractor from Ziggsoft Foundation. uh back in the pandemic when uh when I founded it, uh he really took a chance on me because I told him that
uh look, I'm I'm funding this thing for my savings and uh like if you can help me get like more donations, then you have a you have like a steady paycheck, but otherwise like we're cooked, you know? And uh and he said, "Great. Well, I'm Italian, so I love cooking." So uh so he joined we did a fundraiser and then he he he helped us to get the donation money that we needed to to to keep his job and then from there we just been keeping on going. Um so I really appreciate that he took that chance on me. Um during that time uh uh Loris um
brought his personality to the table by creating Zigg Showtime which was a fun activity for a bunch of us during the pandemic. Uh Loris also does regular streaming, just just chilling, just hanging out with people, hanging out with the community, getting to know people, having those nice those just just casual relationships u through uh through regular streaming. Loris also did the website design initiative to help uh create the public face of the organization. And uh there's one other thing I want to call out uh that that Loris does that uh it you may think it's like not really on topic, but it's so huge. He helps us break the ice in our meetings. Okay, it's it's a big deal because we're all kind of like introverts. So you can imagine you get on this voice call and everyone's just kind of like, uh, hi, how's it going? You know, or like silence. It's a little awkward. Loris comes in. He's got an anecdote. He's got a smile. He's bringing this energy into the room and it just loosens everyone up and then all of a sudden everyone's chatting with each other and and and bringing up topics that we wouldn't have thought to bring up and and and and we're bonding and uh and this is this is like this personality that's brought to the table is it defines us. Uh Loris
also helps us uh navigate complex uh socioeconomic political environments. He's always talking about how you got to learn how to play secret Hitler, you know, as an analogy for the for the world. Um, he mans donations at ziggling.org. And uh, finally, he's he's uh setting a role model in the ecosystem by creating projects like Zen static site generator um, and upcoming uh, a webO um,
which is like a video conferencing alternative and uh, and also organizing events a lot like this one. So, uh, who was at Zigg Day yesterday? Uh, like half the audience. Nice. Great. Uh, yeah, that's the exclamation point there. Um, these, yeah, uh, so
Loris says is kind of been creating a lot of these events for people to get together and make friends and uh, and share share knowledge with each other. Um, what else we have here? This is a Zigg Day Milan that a bunch of the Zigore team was able to attend. Uh those
uh those red guys in the back, those are called like Umarel. Uh and it's like a Milan thing. So like these are the old guys who just like they like to watch construction workers like this. [laughter and clears throat] They're just nosy and bored. But so the students at this college think it's really funny, so they put little statues of umls in there. Uh we also have um Zigtoberfest coming up in Europe. So, uh, if you if you can go, that's, uh, that's coming up. And then we also have, uh, software you can love, uh, Vancouver, uh, in early October. And, um, uh, yeah, Loris has done a
great job just working with other people and inspiring people to create communities of their own. Love the pirate ship. Uh, next up, we have Isaac Frey. Oh,
yeah. Uh Isaac is a a OG FOS community member.
Um uh he he's been a steady presence on
IRC. Um way early on he created the
River uh Whan compositor. Um this is a great example of software you can love. It's the oldest serious Zigg project. Um it's just lowkey it's just been in the background just being a bunch of people's window manager just doing it's doing its job. Um lately he's been uh interested in doing the Zig language specification. Uh he already uh finished formally specifying and testing the grammar and and fuzzing it against the Oracle. Uh so he's been doing a good job on that. And uh and for River of course he picked GPL. So like this is I'm saying like OG FOS community you know and um and that's that's Isaac
Frind. Uh and he's he's parttime also part-time. Uh, Vega Tulmin, he's quiet, he's calm, you never know what he's thinking, and he lets his actions speak for him. Uh, he got started contributing with translate C. Uh, has anyone taken advantage of Zig's ability to just import CC code and have it just kind of work. Yeah. And you can think Ba. Um, and as he got into that project, uh,
kind of translating Code into Zig code, he thought, well, wait a minute. uh maybe I could just make an actual C compiler and uh and he he he's done that. So he actually just has a C compiler he writes and uh this has become our new uh implementation of of that feature of of uh C translation. So in in newer zig versions uh we used to
use clang for translating C code. Now we we actually use um AOCCC for translating C code and it's let us uh solve the kind of like tail end of issues like tricky macros and other kind of edge cases where we would have had to rewrite all of Clang in order to get the better behavior. Well, it's like kind of what that is, right? Um
uh so that's Vea. Uh Vea is I don't know
if he's graduated yet, but for a long part of his um contracting he was a student. who's part-time um and or he had to go do some like mandatory military service and stuff and uh ZSF
contracts are flexible so that people can choose any schedule uh that works for them. So not a problem at all when when he had to go do all this stuff, you know, if he's not available for months at a time and then he comes back is great. He's he's welcome any time that feels right to him. And so again, we build this organization based on having no emergencies. Nobody's on call. Um, we don't guarantee any percent uptime on ziggling.org. We make this very clear. [snorts] Uh, and so, for example, like we have the the ZSF fork of the Arrow compiler and, uh, you know, if if Vic is around and he wants to work on it, he can. And if we need to move forward on something or not, we use the fork. It works great.
Uh, next up, we have uh, Jacob Young. Um, a bit camera shy. Uh uh this is
somebody who loves mysteries. Uh he's probably doing something mysterious right now. Uh but he's here and you can find him and you can talk to him. Uh if you can figure out who he is. That's the first mystery. Uh um jokes aside, uh Jacob has been uh taking
on some pretty pretty core aspects of the Zigg project. So um
uh so for example um back when the compiler was still written in C++ and we were trying to figure out how to self-host um Jacob uh got the C back end working so that Zig can output um C code. Uh and
then on top of that he got um the web assembly bootstrap working which is how we were able to eliminate uh our all of
our C++ implementation of the compiler deleted from the repository and uh switch to our our our zig written self-hosted compiler u but without requiring like a separate pre-built binary in order to build from source. Um, he also wrote the x86 backend, uh,
which is now the default that is finished and shipped. Um, is anyone taking advantage of of Zigg's like fast x86 backend compilation? Like, oh, hey, like a couple dozen people. Uh, yeah, you can thank Jacob for that if you can figure out who he is. He's here.
Uh, he's also working on an ARM 64 back end. Uh, this one's work in progress. Uh, is anyone looking forward to this one? Yeah. Okay. Like even more than x86. Okay, great. Uh yeah, he's got some really cool ideas for this. Uh you should chat with him about it if you get a chance. Uh this is like he figured out how to uh like avoid certain uh parts of the pipeline by like iterating it in reverse. It's it's it's good stuff. Um
he also got us going with the uh um he
also made a fork of LLDB that natively supports a zig language. So you can write zig expressions in in LDB and it supports a standard library and it just doesn't crash like it normally does if you just use actual GD uh actual LDB. Um
so we can debug thanks to that. Um shout
outs to Jim. Please quit Blue Sky and go back to making a debugger. Just kidding. [snorts] Half kidding. [laughter] Uh and uh um uh Jacob also made the uh L
LVM bit code writer which is allowing us to uh move uh LVM to being a process
dependency rather than a in a library dependency in process. Uh you can ask him about that later but that's just another big chunk of work. He also wrote the initial version of the incremental linker and he also wrote the um uh the
IO ring uh standard.io IO implementation
uh the like the evented the evented one. Um so this is somebody who tackles extreme difficulty tasks that strike fear into the hearts of mortals. Um next up we have uh Matthew Lug. Uh
not here. He's over in the UK right now I think. Um but Matthew is just a warm and friendly personality whose presence always lights up the room. He's empathetic. He's cooperative. He's always trying to help out both other team members and other uh other users. Um he does a lot of work on the front end of the compiler. Uh he's the incremental compilation mastermind. Uh has anyone been taking advantage of Zigg's incremental compilation? Okay, nice. Like is it is it good? Is it fast for you? Yeah. Okay, good. Uh Matthew
does that. Um he's also really focused
on like language completion and uh coherency. So, he's always he's always messaging me and saying, "Hey, Andrew, uh, we got to nail down these semantics on bit casting or um, I think these proposals aren't quite aligned. We got to figure out which one to go with and which one to reject." And, uh, he's he's the one actually like helping us to get to Zigg 1.0 faster, not me. [snorts]
Um, uh, next up we have, uh, Alex Ron Peterson. Uh, he he joined in October
2024. uh he's displayed an appetite for
uh target support. So, behold, this is the uh download page of Zigg where we have pre-built binaries for you uh for quite a few targets. And if it was just me, we'd have a good subset of these, but not even half, I think, as many as this. He's just he just loves this stuff. He just loves getting all the targets up to speed. Um, when when I say that like the Zigg project is a reflection of the personalities of of these team members, this is kind of a really good demonstration of what I mean because this isn't my personality, frankly. Like, I care about some of this stuff, but not all of this stuff. But Alex loves this He's all about this stuff. And so, this this is an expression of of Alex's personality.
That's that's kind of my point. Um, he also uh gets things set up on the CI. So these are all the the these are like actual hardware that we run our our CI checks on. And this is largely thanks to Alex doing the work, figuring it out, setting it up, all that stuff. And um to
call back this this this graph I was showing you earlier. Uh we're running
our CI on on this 15K budget. Um but we
have this amount of coverage. Like this is this is like a lot of bang for the buck. Um, and a lot of this stuff is actually just running under Alex's desk. This is a picture from from his office.
Uh, here's another one. [laughter] Uh, so that's so that's Alex. And there's also less visible stuff that that he's up to. Um, he's always on top of pull requests when it comes to target support. Uh, um, and uh, he also handles
the LLVM upgrades of the Zig project now, which to me makes him an angel sent from heaven. That's so nice that I don't do that anymore. [laughter] Uh uh but he he he doesn't just limit himself to to Zig, he pays it forward in the spirit of the the tiger beetle way. Um Alex has 20 commits in LVM. He has 62
high high quality actionable bug reports in LVM. U most of them fixed, 10 still open, 10 bug reports fixed in muscle. Uh
and this is just a little email he was working with uh Open BSD to try to figure out some MAPAP stuff. So really sweet guy. Just really just really collaborative and trying to help everyone out. Uh next up we have uh Ryan Liptech. This is our newest uh core team member uh who's uh who has a contract. Um we
finally have a Windows user on the core team. Yay. Uh oh, we actually got a a little bit of claps for that. [laughter] Uh Ryan is uh softspoken, patient, and
rigorous. rigorous is honestly kind of an understatement. Uh he goes hard on topics. Um has anyone seen this blog post that he wrote about the resource compiler? [laughter] A couple people. Yeah. Uh I I don't think I have the scroll bar in the screenshot, but it's very small. Um he he this is someone who uh I would say
like gets to the bottom of things, if you will. Um, I also want to uh express just some gratitude and uh um um sometimes me in my role as the as the lead is I have to um explore things and uh figure out where we're going to go somewhere, but I don't get to the end. I I I go long enough until I know where we're going and then I just stop and go somewhere else and say, "Okay, someone else has to figure this out now." Which is kind of rude, you know, but uh I don't know. That's that's kind of my role. So, um I I just want to acknowledge that, uh you know, sometimes I create messes and um Ryan is someone who who cleans these messes up for me without complaints and uh and I I really appreciate that. Um it's just a um it
just feels very nice to have someone have your back like that. For example, um, at last systems distributed, I talked about IO interfaces and this was kind of foreshadowing a a big change in the Zig standard library where we switched to these readers and writers and um, that was a monumental amount of work that I went through to complete that task and I got, you know, 99% of the way there, but I didn't fix all the bugs that I introduced in in those in that change set. Ryan has been chasing those loose ends and he's been tying that up for me and he's been finishing it. Um, so that's something that I really really appreciate.
Uh, next up we have Mason Romeli. Uh, Mason brings a indie gamedev perspective to the table. So this is a game that he shipped uh, last year. Um, this game was written in Rust. So Mason brings like a Rust programmer's perspective to the table which is valuable. Um, and recently he's been writing his next game in Zigg while helping to improve the project, uh, like on a part-time basis. So, he he's he's created a a free and open source, uh, game engine in the ecosystem that he's actively using for his next game. Um, and so he's he's been
uh some his contributions have kind of a gamedev flare to them. So for example, a a quality of life improvement like more accurate stack traces on optimized Windows builds that kind of thing. And uh he dives deep into topics uh while while working on his game. So for example [clears throat] uh this is a really nice talk that he gave uh which is an introduction to Vulcan like he's just going on the he's doing the Vulcan API in his game engine. And in the Zigg project uh he's tackling uh SIMD and vector math for Spear V. Um, so thanks to his work, uh, we're all going to be able to write, uh, thanks to his work and and and Ali's work, um, uh, together, we're we're going to be able to use Zigg to write shaders, uh, for games and it's going to be really nice.
So that's so that's the team. I wanted to give a little spotlight and um, I
feel unbelievably fortunate to call these people my colleagues. Um, I I'm I'm grateful and I'm truly humbled to work alongside these wonderful human beings. Um, they challenge me to be a better version of myself every day that I work with them and I I really mean that. So, [clears throat] thank you guys.
[applause]
Let's uh let's move on. Um, I want to talk about something I like to call dependency zero. Uh, so if you use Zigg,
uh, one of the features that you're going to be able to get is, uh, you're going to be able to go from nothing to a very complex application, uh, on any computer for any computer. That's kind of the the promise of Zig Build. Um
and uh in order to serve uh in order to serve this this use case uh we have a community of people who um it's kind of like we almost have a like a zig distribution of packages where we have people who collaborate on on porting build systems to zig build because what we get for that is the ability to uh independently from what system we're on uh just run one command and have the ability to contribute to a project. Um so that's that's the that's the dependency zero um concept technically but we also have this concept uh again as a business. So um we
we we want to be careful about which business dependencies we have. Uh so for example we we kind of try to avoid the cloud. Um we run ziggling.org just on a
computer just one you know we know which one it is. Uh [laughter]
uh we self-host our continuous integration. Um we uh I think I didn't
do this yet, but we're going to just host our meeting minutes for the org on the website rather than using Dropbox or Google Drive or something like this. Um we run our own mail server for uh ziggling.org. Um and uh another example of avoiding a dependency is having like any one donor that is too much percent of the pie. Uh so um for us keeping a diverse revenue stream is dependency elimination. Uh and another example of a company dependency that we do not wish to add is
uh AI companies.
I would never put a butthole in my presentation. [laughter] I don't know why you thought I would do that. These people are clearly out of their minds. Um, so yeah, Ziggsoft Foundation has zero business dependency on AI companies. Um, so for writing code, that's [clears throat] very obvious how to do that. Uh, just like use our own computers to write the code. Easy. Um, however, lately there's been a lot of talk about bugs found by LLMs. Uh which brings me to my next topic uh total bug elimination. So I love this idea uh total bug elimination and I love that database companies care about this uh in my opinion uh this is one of the two major reasons why database conferences like this are actually like really interesting and good. Um the other one of course uh being how much love and care the Tiger Beetle team uh puts into it of course. So really thank you so much. Um and uh but let's talk about some categories of bugs. Uh so I'm going
to give you some I'm going to give you five categories of bugs. Uh so first one is just like this is like uh alpha software. Whatever the developers happen to hit. Okay, we're familiar with this stage of software development. Uh the next one would be whatever users happen to report. This is going to be like your beta uh phase of development. Um the
next one is uh full machine code branch
coverage. So this is going to be like your NASA rules uh for you know at the at the machine code level. Uh you need to have test coverage for every branch every like assembly branch that happens. Got to have test coverage. That's number three. Um number four would be fuzzing. So we're going to use a genetic algorithm to create inputs and uh and profiling to help guide those inputs. and we're going to explore the state space of the program um heristically to try to find uh to to make sure that all the properties are upheld uh property based testing right um and then next up we have LLMs which is the thing I want to bring up um so I want to acknowledge that uh LLMs can find bugs uh beyond step three and step four right um for me
this is based on listening to Richard Hip uh talk about SQLite because um I I
just listened to him talk at um software should work conference and uh he did these steps like in this order uh uh he he describes uh full machine code branch coverage as like MCDC I think it's from it's from like the avionics um uh suggestions um so he told this story about how uh
they did eliminate all the bugs they achieved total bug elimination by doing step free. Um, and they stopped getting user bug reports like they were done, you know, they reached the end. Um, but then like fuzzing came out like it became a thing that that people started doing and it got better and then they started getting bug reports again in SQLite and uh and like a bunch of them and and then they went through all those and they started fuzzing and they got to the end again after fuzzing. So they reached like a new end um and
uh Okay, nice. But then he said they're now actually getting more bugs again like after a long time um with from from LLMs and he said they're legit. I wouldn't trust anyone else to say that on the internet but I do trust Richard Hip the creator of SQLite. So um so I I think that I'm acknowledging that there's another um category of bugs here. That's what I'm that's what I'm doing with this. However, I [clears throat] want to make some observations. Uh so observation number one, if if you do steps three and four, you can skip steps one and two. Okay? So if you do uh full test coverage and fuzzing uh and you do it well, you're going to stop getting like bug reports because you've tested everything like you like maybe we should try to find our bugs like before our users find them, right? Like I think that's the kind of like the database philosophy and I I love that. Um, I I would love to see this this ethos like catch on even more. Um, another observation I want to make is that uh
but there's not really a point of of doing step five unless you've done steps three and four already. Uh, because you
you don't need to borrow uh you don't need to add a business dependency um or borrow someone else's computer in order to uh to test all your code and to do fuzzing. you can do this yourself. You don't need you don't need them. Um, and a lot of these bugs will overlap. So, why you know, why would we do step five? That's that's kind of like skipping to the end if we didn't do three and four yet. And then the other thing I want to um point out is that non-trivial enhancements to a project, it kind of sends you back to the beginning of the list, right? You're going to have to uh like you're going to create bugs by making non-trivial enhancements. Um, so for us, for Zig Software Foundation, uh, we're still in the enhancement phase.
Um, for us, uh, bug reports are a way to
prioritize and unblock users while
remaining in the enhancement phase. That's the purpose of bug reports for us right now. It's kind of like we're just trying to unblock people. Um, so for us,
uh, we still have no reason to accept LLM bug reports. Um we'll we will re-evaluate this situation uh in a few years after we've solved all the other bugs um which by nature are all higher priority. Um so that's where we're at with that. Uh next I want to talk about uh code
forges a little bit. Um I think this is like something that a lot of people are talking about right now in our in our industry. Um so by now you know that uh
one we run CI testing on on a bunch of interesting hardware and two we don't want to waste those resources. Uh so we need our CI software to like work well in order to get the efficiency that we need. Um so
uh in the past we migrated from GitHub to code. U Codberg basically just rescued us from GitHub actions falling apart. Um the codeberg admins have been very good to us. Uh and also the forge Forgejo contributors uh 4j contributors have been good to us. Uh yeah thank you friends. I really appreciate their help. Largely a lot of these people people are the same people who run codeber and forjo contributors but it's not exactly the same people. Um but I want to talk about this a little bit. So uh let's let's talk about GitHub for a
second. When GitHub came out, uh, Git was kind of rising in popularity and, uh, Git was
this free and open- source decentralized version control system. And
this decentralized aspect of it, I think, um, maybe went over some people's heads, but, uh, it but still people were starting to try it out. there was they were starting to learn it, trying to get the ropes and then in comes in GitHub and so GitHub is is a business and uh and they're thinking how how are we going to capitalize on this? We need to get people we need to take this enthusiasm for Git, but we need to make a business. We need to we need to make money somehow. Um what are we going to do? So they think, okay, well let's add bug tracking to it. Yeah, we're gonna we're going to do that. Um, now git is a
database and bugs are readon data. Git
is a readonly database. So you might think like well we could just put the bugs in git. That would just make sense, right? And it would, but uh that's not what they did. What they did is they added another database to store all that metadata. And that database is not decentralized. That database is proprietary. uh it's closed source and um they they're going to run that for you. Um and so if we if we
think about uh if we think about like kind of what they're doing there uh you know well played right this is this is the goal. Um the purpose is vendor lock in. So they made these business decisions to to have this like separate thing that that that you have to use in order to uh to make GitHub and it worked. Like they did a great job. Uh they served the community for I don't know 105 years. They sold out to Microsoft. They got the bag. Great. That's what they that's exactly what they were trying to do. like they like um
like people like to complain about this this uh the uptime of GitHub and and like mock it now, but like this is not a story of of uh like engineers being stupid and like not understanding how to run like a system. Like this is a story of like savvy business people doing like exactly what they tried to do like well played. You know what I mean? Um people are obsessed with this poor uptime. Uh but but it's according to plan. Um so
the point I'm making is that GitHub is designed for this like this is what GitHub is designed to do. It is supposed to require high uptime so that the business can work like that's that's the purpose. And so unfortunately even though when uh for JO or codeberg
that it's a clone of GitHub. So uh it works really well as an off-ramp like people are used to GitHub. They they find uh Codberg to be like very uh familiar. That's a nice off-ramp. But unfortunately that means that they also inherited these uh technical decisions that were made for business reasons. But those business reasons do not align with the business reasons of codeberg. It's a little bit of cognitive dissonance. So that's something that they're juggling right now. They're they're dealing with right now. Um
so my point is that this technology is just kind of um fundamentally incompatible with um uh this technology, this way of running a code forge requires high uptime. It it needs it. Um but but on on the codeberg side of things um they're they're trying
to run this thing like more lean like kind of like like we are at Zigsoft Foundation. They want to use like fewer computers, maybe just one uh and and you know you want to be able to just take the site offline for 10 minutes and do some some troubleshooting, fix run a database migration, turn it back on. um
that kind of way of efficient way of
running uh um infrastructure works
if you change the technology to be able to work around these kinds of um deficiencies. I'm talking about decentralization. Um so GitHub is centralized. It requires high uptime. A decentralized technology does not require high uptime. So that that to me is kind of like where this cognitive dissonance comes from uh wi with with cloning GitHub. Um so uh
again we at Zigsoft Foundation we want to design for no emergencies, no on call. We we want to we want to choose technologies where extreme uptime is not required. Um, so where extreme uptime is
not required, you can embrace efficiency and simplicity. Um,
yeah. Okay, let's let's let's move on. I think I made this point. Okay, so anyway, back to Codeberg. Uh, Zigg is the biggest project on Codeberg. We're kind of an outlier and uh for JO, it's just not really made with a project like Zig in mind that has self-hosted runners that need to achieve high efficiency. Uh so like for example we we would really benefit from like CI runner prioritization features uh which they started uh they started adding for us um
wow these people are great um however we're still going to try to take this problem into our own hands. I think we're going to make some infrastructure. Um I think we're a bit of an odd duck when it comes to the CI and uh we could benefit from scratching our own itch. Um, and I think implementing uh like uh CI infrastructure could be like a sweet spot with a lot of value but not too much to implement. Um, and then on the on the code forge side, uh, we're we're looking into radical. We're kind of we're kind of radical curious. So that's where we're at.
Uh, all right. Next topic. [clears throat]
Uh, I'm I'm someone who went to um Recur Center about 13 years ago. Uh it was called Hacker School back then. And um they had a slogan like never graduate. Uh and I think that's it's really nice. I like this concept. It's like uh it's like the same concept as like beginner energy if you know what I mean. Like it's good. Like we celebrate this concept at Zigg Software Foundation. We love this concept. Um I I give a I give
a talk at uh software should work uh last week. Shout outs to Isaac Van Doran uh called Don't Take the Black Pill. and and there like I really elaborated on this concept of of this like youthful energy that we need you know um and it's like it's kind of a subtle concept um but it's online now if you want to watch it um but uh taking moonshots has always been the lifeblood of the project so even the idea of starting a new programming language intended for serious use in the real world it's the kind of thing that invites ridicule so maybe you don't know this but uh like even from the very beginning uh people like openly mocked my efforts Um and and for over 10 years we've tried like a variety of big ideas. Uh some succeeded, some failed, some were like neither ready to declare victory nor defeat. Um uh as as Zig gains more notoriety, our moonshot issues tend to invite more scrutiny. Uh and this is to be expected because uh we're unusual. Um it's it's not people aren't used to seeing such ambitions on open display. uh it makes them uncomfortable. Um so I'd like to share with you some moonshot issues that we've already shipped to keep things in perspective. Um I'm going to go through these like really fast, but you can chat with me later if if you're interested.
Um so we we implemented uh compiler RT
and Zigg. Um we made Zigg into a drop in C C++ compiler. Uh we rewrote the
compiler from C++ to Zigg. We bootstrap with only the system C compiler, no pre-built binaries. Uh we wrote our own x86 back end. We wrote our own linker. Uh we have seamless C interop without the C compiler in the process. We have cross compilation to any OS that just works including dynamically linking arbitrary GIC versions. Uh we have incremental compilation via tight coupling and surgical linking. Uh we have a general purpose build system. We have a general purpose decentralized package manager. And we ship large chunks of the compiler in source form. Um, with those in mind, I'd like to, um, share with you some moonshot issues that are still open for investigation. Uh, I won't go into much detail, but you can you can ask me about them if you want.
Um, so this is just like big questions. Um, fully eliminate the LLM, uh, sorry,
LLVM, uh, LD and clang library dependencies. Um, constant time operations for crypto. Ask me about this later. It's interesting stuff. Uh, eliminate recursion. Guarantee bounded stack usage. I know Tiger Beetle is looking for this one. Um transparent stackless co- routines. We like almost had this but we ripped it out. We're we're not ready to give up yet. Um rewrite lipy and zigg. This is like partly done. Uh eliminate overflows with ranged integer types. Uh native assembly syntax competitive machine code optimizations like just taking on LVM uh headon. Uh





