<- Back
Comments (82)
- adrian_bWhen first looking at the source code, I wondered why one would waste so much time to write 25k lines in raw assembly language, but then I saw that it was generated with Claude, for whom it does not matter much how expanded is the written text.If someone had written this program manually, the strategy would have been very different. With a good macro-assembler (and nasm is good enough) one should define a great number of macros, to encapsulate all the tedious boilerplate, especially for things like function prologues, epilogues and invocations.With a well written macro library, an assembly program can be almost as compact as a C program, instead of containing many text lines for each equivalent high-level language statement.Such an assembly source with good macros can be read and understood much more easily than raw assembly language, like in this "frame.asm".Otherwise, this is interesting work.
- bogwog> I wrote my ownI see the growing trend of words losing all meaning is still going strong in 2026. I wonder what human communication will look like in the near future?
- yjftsjthsd-hI am loving the shift from 'X11 is too big and messy to ever reimplement' to 'there are multiple wildly different X servers being built from scratch'.Also, has anyone run it successfully? I got as far as building and running with --display and then running `DISPLAY=:7 dwm` and `DISPLAY=:7 alacritty`, but I can't seem to focus the window to actually type. Given that the author posted a picture of the thing actually running a live environment and claims to actually be using it, I'm pretty sure this is a me problem but I haven't been able to figure out where it is. Mouse works, too.
- orphereusAt first I was so interested into this guy, writing his own everything, thinking this has got to be something to aspire to, to be as good a programmer as this guy. Then I realised LLMs wrote this, and I was so very disappointed. It was naive and stupid of me to think otherwise, but here I am.
- ToyKeeperIt's funny to see someone using a LLM as a compiler, making it convert higher-level operations into assembly, instead of just using a compiler.
- asveikauI can have a machine generated X server in assembly too. It's called cc -s.Or: $ objdump --disassemble /usr/lib/xorg/Xorg Maybe I'm getting too old for this, but I really don't see the point in having AI generate assembly code for this.
- dlojudiceHow many times have people posted here about how software is no longer optimized because CPUs keep evolving, making programmers lazy? It seems things have changed. The question is: will LLMs manage to squeeze the most out of this hardware, better than compilers do? In the few tests I’ve run, yes, a lot.
- QuitschquatI'm a prolific vibe coder too, but I'm not going say I WROTE MY OWN Emacs for Commodore 64.
- segmondyWith the crazy lack of supply for hardware and ridiculous prices, seems we are going to have to start squeezing more juice out of our existing hardware. What I would love to see is how well this runs on an ancient system. Will this for instance run on an old PI and make it snappy?
- NetOpWibbyBeautiful. Using LLMs to create perfect tools for yourself is my favorite thing about them.No dependencies and better performance? Fantastic.
- ozheroThis is the very definition of "scratching your own itch" lol.Very inspiring and I applaud your efforts.I haven't written assembler in years but this inspires me to do a small project for the fun of it.
- gen2brainI would like to see a similar project that fixes Wayland. Like, can someone vibe-code window positioning, add SSD to GNOME (damage was already done, but still), and add the ability to send events so you can automate and drive the app offscreen for testing.
- fhnWas browsing some of the other rust projects(https://isene.org/fe2o3/#tools) and https://github.com/isene/torii says "Mozilla removed Firefox's "Open network login page" banner". I'm on windows and still see the banner so don't know if this is true. Is the really true on Linux?
- spikkI wonder if very cheap code generation will make software monocultures less relevant here. Because lots of incompatible devices is awful to work with, security stuff may also hurt
- pjmlpUp voting as it kind of makes the point I believe in, regarding how this AI powered tooling eventually will land on.COBOL and 4 GL dreams coming into reality.
- casey2>I wroteAI wrote*
- mintflowthis is impressive, even with claude i think the guy have enough deep understanding of the OS and the varioius topic make it worksrecently i also rewrite most of the app's underlying core function to rust, just like the guy do for the phoneperhaps i should also do more stuffs given codex reset too quickly
- shevy-java> The underlying graphics engine, the thing that puts pixels on the screen. X11 is 4 million lines of code, a beast very few can claim they understand.Working on it:https://github.com/X11Libre/xserverAnd they also deleted old code too. A lot of the old code could probably be removed, but is it really that relevant whether you have 4 millions line of code or 2 million lines of code? C is in my opinion too overbose. Rust is even worse. Which language would yield fewer lines of code without speed penalty? C is king largely because of the speed gains. We don't see people use python for an xserver.
- elendilm<I am not sure this laptop has a fan anymore. Except me.>I wish mine had no fan too except me.
- kosolam״I am not sure this laptop has a fan anymore. Except me״ huh nice one
- system7rocksInteresting.I've never quite found that Linux is more optimized on battery-powered machines for energy savings, even though supposedly there is a lot of room to tweak and optimize settings -- from selecting a low resource window manager/DE to turning off various services to switching up power management utilities. But this does seem like an approach that might produce that kind of fruit?
- out-of-ideascan it run Doom?
- TiberiumWas there a reason to add an AI-generated image to the top of the article? :(
- throwaway613746[dead]
- ConanRus[dead]
- vinceguidryVidar wrote one in pure Ruby.https://github.com/vidarh/ruby-x11