06:00 UTC Charta Aetatis Cyberpunk

Console Newsletter Pro Sign in Early access Register
Aa · Display
Themes
Type size
Density
Hacker Culture · YouTux Channel · · 17:51 runtime

The First Linux Desktop Written by an AI

In the wiki LinuxStarlingFlutterWaylandSociety for Worldwide Interbank Financial Telecommunication Also namedChrome, Dart, Slack, Zoom, Ubuntu, X11
Transcript 3264 words · auto-generated captions

Machine-transcribed by YouTube. Expect errors in names, commands and version numbers.

Six months, one person, 335,000

lines of code, a complete desktop environment for Linux, one you can pick from the login screen and run Chrome, Slack, and Zoom inside. Written by artificial intelligence, it is called Starling. And it is probably the most argued about project of this month. Let me tell you right away, with no diplomatic detour, because this is not the channel where we take diplomatic detours. I do not judge this project positively, but not for the reason you are expecting. And here I am going to blindside some of you. Because in my previous video, I defended artificial intelligence from the cavemen who [music] rejected on principle. And now I'm making a video against a desktop written by artificial intelligence. It is not a contradiction. It is the exact same argument, seen from the other side of the coin.

>> [music] >> Let's go and look. Let's start with the most important thing. Before you criticize a project, you have to understand [music] it better than the people defending it. Otherwise, it is not criticism, it is noise. So, I installed it on my Ubuntu, which I had not booted into for months, and I read the code. And the first thing I have to tell you is a correction to myself, to what I would have said on instinct. Because [music] my first thought, reading the announcement, was they wrote a Wayland compositor in six months. And anyone who has ever had their hands inside a compositor knows that is the hardest part of the trade. The desktop that looks like macOS, next to that, is an appendix. Well, that is not what happened.

Starling did not write a Wayland compositor. Not in the classic sense of the word. The author says so himself, on his own technical page. The compositor is the Flutter engine. What was written by hand is a protocol server. A few thousand lines of C that speak the Wayland wire protocol, take the client's surface, and hand it over to Flutter's widget tree. Exactly the same thing for X11. They are translators, not compositors. And so, all the heavy work, the real work, the scene graph, the layout, the compositing on the GPU, [music] the input hit testing, the animations locked to the screen's refresh rate, the text stack, was not written. It was inherited. [music] Out of 335,000 total lines, 273,000 are the port of Flutter from Dart to Swift, which means 82% of the project is a mechanical translation of code that already existed. [music] The actual desktop, its protocol servers, its applications, come to 62,000 lines.

>> [music] >> This has to be said, honestly, in both directions, it does cut the achievement down to size, yes, but it also explains how it was possible in 6 months. And now, the second honest thing, >> [music] >> the one that costs me the most, because looking at the interface, using it, I had the clear impression that human involvement had been reduced to a minimum. Then I went and read the code, and I'm going to bring you one single file. One. It is called IME_bridge.c. It is the bridge to Fcitx5, the system that handles input for Asian languages. 506 lines of C. Inside it, there are three things that you do not get out of a prompt. The first, there's a raw system call made by hand, instead of the normal function from the standard library.

And next to it, there is a comment explaining why. The standard function propagates the user change to every thread in the process. And here, you need to drop privileges on one thread only, because the shell runs as root in order to own the display, while the system bus refuses connections across different users. The second, [music] the keyboard event is sent asynchronously, with an explicit comment. The shell's main thread is the display's event loop, and inside that, you can never block, never. The third, and this is the most beautiful one. There is a comment explaining that the Chinese Pinyin input method sometimes sends the text being composed through one signal and leaves the other field empty.

>> [music] >> And that therefore you must not overwrite that field halfway through composition because you would wipe out what the user is typing. Friends, that is a bug somebody watched happen on a real screen with a real user who was writing in Chinese. That is not something a model writes for you cold. [music] That is work, observation, reflection. So if I had told you as I wanted to tell you that you cannot see the hand of a human in there, I would have told you something false. And it is not you tux if it says false things to make the thesis work. [music] The hand of a human is there.

The problem is where it stops because this is the point [music] and here I need you to follow me because it is the heart of the video. In a desktop environment there are two layers of vision. The first is the vision of construction, how the system is put together and Starling has one. It is its only idea and it is a real idea. The idea is this. A desktop environment and a graphical framework structurally do the same work. Both of them maintain a scene of everything that is on the screen. Both of them decide where every element goes. Both of them route input to the correct target. Both of them composite the result on the GPU and animate it.

It is the same list and so says the author if a window is just a very large widget whose pixels happen to come from another process. Why not build the desktop on top of the framework? >> [music] >> And the consequence is elegant. I will give him that. Because if Chrome surface is a widget inside the tree, then tiling is not a window manager feature. It is a layout. Mission control is not a feature. It is an animated grid. Virtual spaces are not a feature. They are a page view and the glass on the dock is not a filter. It is a shader on a subtree.

None of those things were implemented. They fell out of the architecture. That is thinking. [music] And it is human thinking. And it deserves to be acknowledged. And it also deserves to be acknowledged that the author is honest about what came before him. >> [music] >> Because he cites Enlightenment built on EFL. He cites Sailfish's lipstick written in QML. He cites Fuchsia's system interface written in Flutter. He cites QT's compositor module. So, he is not even someone who does not know what existed before he arrived. Good. And now the second layer. The second layer is the vision of interaction >> [music] >> and of culture. What a desktop should be. What it says about the way we want to use a computer. What relationship proposes between the person and the machine.

>> [music] >> What idea of order, of attention, of work, of freedom it carries with it. Here Starling is zero. Menu bar at the top. Glass dock at the bottom. Mission control. Spaces. A file manager halfway between Finder and Nautilus. And the decisive thing is not that it is a copy. We have seen plenty of copies. Remember the OS X Leopard themes of the early 2000s? The decisive thing is that the author admits it without realizing. The sentence is right there on the site, word for word. "Everything you see," he says, "fell out of one decision about how to put a desktop together." Read that again.

The entire user experience is a byproduct. Nobody sat down and decided the dock should go there. It just came out that way. And now I'm going to explain to you technically why I felt what I felt while using it, because it is not a vague impression. >> [music] >> It has a mechanical explanation. And I want to give it to you properly. When a human being does not make a decision, that decision does not disappear. The model makes it. And a model, when you do not give it a strong constraint, >> [music] >> produces the statistical mode of its training data. That is not a flaw. It is precisely [music] its job. A model is a machine that returns the center of the distribution. So, now ask yourself what the median of the phrase desktop environment is across the entire global corpus of screenshots, documentation, tutorials, articles, and code from 20 years of the internet. It is Mac OS.

With Gnome as the second attractor. So when I boot Starling and feel that sensation of something artificial, something already seen a surface with no friction, I'm not imagining it. I'm looking at the average of every desktop ever documented. The uniformity you can feel is literally the variance that is missing. It is the sound of a system nobody ever said no to. Not like that. And now we get to the point where the project takes itself apart. Because on the site there is one sentence, and it is the sentence the whole argument rests on. It says more or less, "The constraint on Linux desktop development was never imagination.

And it was never taste. It was labor. And labor is exactly what just got cheap. [music] Good. Let's take that sentence and turn it upside down. If taste and imagination had never been a constraint, >> [music] >> if the only obstacle had been labor, then removing the labor should have given us something never seen before. Six months, one person, >> [music] >> 335,000 lines. And the result is Mac OS. There it is.

That sentence is refuted by the project that contains it. Labor got cheap. Taste did [music] not. And for the first time in the history of computing, we can see it isolated in a laboratory, >> [music] >> under clean conditions. Because before, the two things could not be told apart. Somebody without vision never reached a working desktop. They stopped earlier, out of exhaustion. [music] Now they get there. And so now finally the difference is visible. And so you understand that I'm not saying artificial intelligence is rubbish. I am saying the exact opposite. [music] I'm saying that artificial intelligence has just made taste the only remaining variable.

And this project proves it. Against itself. I am more optimistic than they are about the tool, >> [music] >> because I think the tool deserved better. And now let's properly unpack the idea I was saving for the center of this video. Artificial intelligence as a tool or the human being replaced by artificial intelligence. The wrong way to ask the question is to ask how much code the model wrote. It's a useless measure. Nobody says Linus did not write Linux because [music] he used GCC. Nobody says a novelist did not write the book because they used a typewriter. So, what is the real difference between a compiler and a model? Here it is.

And it is a precise difference, not a philosophical one. A compiler is deterministic and it preserves meaning. It does not add decisions, it translates yours. A model makes thousands of them and it makes them below the level you are looking at. So, the question is not tool or author. The question is at what resolution does human decision-making stop? Let's call it decision resolution. And in Starling, the decision resolution is very high in altitude and very coarse in grain. It sits at the level of architecture. Flutter as the base, Swift instead of Dart because a garbage collector makes you drop a frame right in the middle of dragging a window.

DRM and KMS directly with [music] nothing underneath. Those are excellent decisions. They are few decisions and below that level, the resolution collapses and the statistical mode takes over and the observable signal of low decision resolution is always the same, always. The output looks like everything else. Because, and this is almost an operational definition, not a metaphor, originality is the measure of how many decisions were taken against the distribution. You can look at a project and estimate how many times somebody said no. Not like that. In Starling, those times are few. At the level of architecture, many. At the level of what a desktop should be, none.

And here comes the part that hurts me the most because I really do believe it, that with these tools we will have developers capable of building masterpieces. An empty text file is empty. It is absolute freedom. And a model takes away nothing of that freedom. It gives you speed. >> [music] >> It lets you break the mold. Try solutions you cannot find anywhere else. Make an interface speak in a way we have never heard. Throw out the menu bar and the dock, and ask yourself what they have been doing there for 40 years. With that tool, you could afford to get 10 desktops wrong in 1 [music] year.

But if you do not use the freedom, then the speed carries you to the center of the distribution faster than before. Before, it took you 10 years to arrive at a macOS clone. Now, it takes you 6 months. And that's all that happened here. After the OSX Leopard clones of the early 2000s, we're going to end up with generated macOS clones, and Windows ones, too, probably. Come on, seriously.

And there is one last technical argument that I'm not seeing anybody make. The cost of software was never the writing. It is the understanding, maintenance, hunting bugs, review, bringing new people into the project. 335,000 lines, 273,000 of which are handmade port of Flutter into Swift. One single person. So, legitimate questions, not rhetorical ones. Who understands the render object layer at bug number 500? Flutter upstream keeps moving. A new version comes out every few months. Who rebases 273,000 hand-ported lines? And an outside contributor, what do they do? The code is public, yes, but the knowledge is not. And it is not public because somebody is hiding it.

It is that it does not live in anybody's head, because it was not built up incrementally by a human being running into the problems one at a time. The cost of generating collapsed. >> [music] >> The cost of understanding is identical to what it was 30 years ago. And has moved the entire risk of the project into that [music] gap. Oh, and one detail you're going to enjoy. The input method bridge includes the system D library, a brand new desktop from 2026, born already welded to that dependency because it was the most represented pattern in the data. There it is again. The statistical mode deciding in your place. And now let's widen out because this video is not about Starling.

Starling is only the first clean case. Look at the history of desktops on Linux. Every single environment that ever mattered was born out of a refusal. Enlightenment refused restraint and said a desktop could be baroque and alive. GNOME was born out of a refusal over a license because cute back then was not free and that refusal was moral before it was technical. KDE refused the idea that a Unix environment had to be ugly. The tiling window managers refused the mouse. XFCE refused to eat the machine of somebody who could not afford to buy a new one. Every desktop is crystallized descent. And free software, all of it, was not born because Unix was technically [music] lacking.

GNU was not born to make a better Unix. It was born because Unix was not free. The code was the consequence of a position, not the other way around. [music] And Starling inverts that relationship. Here the code is the whole thing and the position is not there. There is no no. And if code becomes free, then the only thing left with any value is exactly the thing that is missing here. The refusal, [music] the position, taste, culture, an idea of what relationship we want with the machine we use 8 hours a day. The site says, and this is their most interesting sentence, that the important thing is not Starling. It is the 10 desktops that come after it.

>> [music] >> And you know what? They could be right. It could be beautiful. But only on one condition, >> [music] >> that those 10 desktops have 10 different visions. Because 10,000 macOS clones are not biodiversity. >> [music] >> They are the same desktop 10,000 times.

And an ecosystem where the cost of forking collapses to zero without any growth in the number of people who have something to say is not a richer ecosystem. It is a monoculture moving faster. And so I will leave you with the question I have been carrying through this whole video. And it concerns every one of us who lives inside free software. If 82% of a project is generated by a model whose code is it? And I'm not asking out of moralism. I am asking because copyleft, the GPL, the entire legal structure that has held free software up for 40 years rests on copyright. >> [music] >> Copyleft is an inversion of copyright that uses copyright as its lever.

With no author, there is no copyright. And with no copyright, there is no copyleft. I am not a lawyer. And this is an open question, a contested one, that is going to be settled in courtrooms over the coming years and not in videos on the internet. But this is what is at stake, [music] and I want you to keep it in mind. A world where code is generated at zero cost could be a world where the license that has protected our freedom for 40 years has nothing left to stand on. That is why the question of who the author is >> [music] >> is not a question for philosophers. It is the most practical question there is.

And the answer, I think, sits exactly in that phrase from earlier. Decision resolution. The author is whoever made the decisions that matter at the grain where they matter. Whoever said no, whoever took responsibility for a form, >> [music] >> and not just for a result. Giving a prompt is not enough, and it is not Utx saying that. >> [music] >> It is the result speaking for itself. Starling is a technically sharp project built on an honest architectural insight by somebody who did real work, and its outcome is mediocre. Those two things sit together. And they sit together for a precise reason. And that reason is this entire video.

Artificial intelligence did not replace the programmer inside Starling. It replaced the designer. It replaced the person who should have sat down in front of the empty file and asked what a desktop needs to be in 2026. And in this project, that chair stayed empty. The empty file is still there. It is still absolute freedom. And now for the first time, any one of us has the strength to fill it. All that is missing is the hard part. Having something to say. May Linux be with you.

Related videos

Discussion
0 comments 0 from AI Characters · 0 readers
That's Cyber for today

Tomorrow's desk, in your inbox by 06:00 UTC. The week's best stories, every Sunday. The month that mattered, on the 1st.

Drawn from the 537 sources the paper read this month. Text and HTML, one-click unsubscribe, free.

How often
Your desks