frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Learn x86-64 assembly by writing a GUI from scratch

https://gaultier.github.io/blog/x11_x64.html
45•ibobev•3d ago

Comments

userbinator•1h ago
This is more like "by communicating with the X server", which is not exactly the level of "from scratch" I was expecting, but then again, it's more involved than the equivalent in Win32 that's not much more than filling in some structures and invoking a few functions.
signa11•1h ago
seesh ! what would `from scratch` mean for you ? invent the whole universe ?
userbinator•1h ago
I was expecting something closer to direct framebuffer writes, as is often done in the various write-an-OS articles that get posted here semi-regularly.
signa11•1h ago
i on the other hand, just loved the article.

was a bit confused about the segfault stuff mentioned towards the beginning of the article. but got quite quickly disabused of that notion with gdb etc.

jcranmer•1h ago
This reminds me of the time I was a young, naïve idiot, and decided I would learn GTK by writing some basic app in GTK. In x86 (not x86-64) assembly. Like all of my other project ideas from that era, never went anywhere, and I horribly underappreciated just how complicated things were.

Kudos for actually getting somewhere in their attempt to do this, a further state than I ever managed.

farhanhubble•1h ago
I learned X86 ASM by sinking my teeth into the Intel 8085 manual, then lighting up LEDs on a hardware emulator and later on a 8085 simulator that me and my brother built.

What certainly helped was that I had did some digital design and instruction set architecture, etc.

Later on, I did some real-world assembly programming for the PIC microcontrollers and some inlined assembly in C, which I did not find daunting at all because of my previous experience.

I guess the best prerequisite for this material is having done some low-level C, the kind where you know about text/data sections and being comfortable with calling conventions, the run time and the linking process.

Hosting a website on a disposable vape

https://bogdanthegeek.github.io/blog/projects/vapeserver/
882•BogdanTheGeek•12h ago•391 comments

William Gibson Reads Neuromancer (2004)

http://bearcave.com/bookrev/neuromancer/neuromancer_audio.html
203•exvi•9h ago•52 comments

React is winning by default and slowing innovation

https://www.lorenstew.art/blog/react-won-by-default/
412•dbushell•12h ago•424 comments

Learn x86-64 assembly by writing a GUI from scratch

https://gaultier.github.io/blog/x11_x64.html
46•ibobev•3d ago•6 comments

macOS Tahoe

https://www.apple.com/os/macos/
388•Wingy•13h ago•503 comments

Wanted to spy on my dog, ended up spying on TP-Link

https://kennedn.com/blog/posts/tapo/
390•kennedn•14h ago•126 comments

Public static void main(String[] args) is dead

https://mccue.dev/pages/9-16-25-psvm
129•charles_irl•1h ago•109 comments

I feel Apple has lost its alignment with me and other long-time customers

https://morrick.me/archives/10137
230•mgrayson•6h ago•200 comments

Addendum to GPT-5 system card: GPT-5-Codex

https://openai.com/index/gpt-5-system-card-addendum-gpt-5-codex/
206•wertyk•11h ago•124 comments

"Your" vs. "My" in user interfaces

https://adamsilver.io/blog/your-vs-my-in-user-interfaces/
19•Twixes•3h ago•3 comments

PayPal to support Ethereum and Bitcoin

https://newsroom.paypal-corp.com/2025-09-15-PayPal-Ushers-in-a-New-Era-of-Peer-to-Peer-Payments,-...
410•DocFeind•16h ago•312 comments

GPT-5-Codex

https://openai.com/index/introducing-upgrades-to-codex/
270•meetpateltech•13h ago•83 comments

Why do we keep gravitating toward complexity?

https://kyrylo.org/software/2025/08/21/why-do-software-developers-love-complexity.html
71•PaulHoule•7h ago•93 comments

Linux phones are more important now than ever

https://feddit.org/post/18353777
343•wicket•6h ago•187 comments

How big a solar battery do I need to store all my home's electricity?

https://shkspr.mobi/blog/2025/09/how-big-a-solar-battery-do-i-need-to-store-all-my-homes-electric...
296•FromTheArchives•18h ago•395 comments

Launch HN: Trigger.dev (YC W23) – Open-source platform to build reliable AI apps

133•eallam•15h ago•55 comments

People Who Hunt Down Old TVs

https://www.bbc.com/future/article/20250911-the-people-who-hunt-down-old-tvs
58•tmendez•3d ago•28 comments

Show HN: Pyproc – Call Python from Go Without CGO or Microservices

https://github.com/YuminosukeSato/pyproc
9•acc_10000•2h ago•0 comments

The Artistry of Avril Harrison – Scanline Artifacts

https://scanlineartifacts.co.uk/2024/09/30/the-artistry-of-avril-harrison/
14•rbanffy•2d ago•1 comments

Experimental browser MMO with bots, boss fights and power-ups

https://www.blobeer.com/
4•daniellax•3d ago•0 comments

I wish my web server were in the corner of my room (2022)

https://interconnected.org/home/2022/10/10/servers
62•jonassaid•3d ago•35 comments

From unit tests to whole universe tests (with will wilson of antithesis) [video]

https://www.youtube.com/watch?v=_xJ4maWhSNU
23•zdw•2d ago•10 comments

Massive Attack turns concert into facial recognition surveillance experiment

https://www.gadgetreview.com/massive-attack-turns-concert-into-facial-recognition-surveillance-ex...
220•loteck•8h ago•95 comments

CubeSats are fascinating learning tools for space

https://www.jeffgeerling.com/blog/2025/cubesats-are-fascinating-learning-tools-space
181•warrenm•16h ago•75 comments

How People Use ChatGPT [pdf]

https://cdn.openai.com/pdf/a253471f-8260-40c6-a2cc-aa93fe9f142e/economic-research-chatgpt-usage-p...
94•nycdatasci•11h ago•54 comments

Debian Upgrade Marathon: 3.1 Sarge

https://wrongthink.link/posts/debian-upgrade-marathon-sarge/
32•zdw•3d ago•4 comments

Removing newlines in FASTA file increases ZSTD compression ratio by 10x

https://log.bede.im/2025/09/12/zstandard-long-range-genomes.html
248•bede•3d ago•99 comments

When Your Father Is a Magician, What Do You Believe?

https://thereader.mitpress.mit.edu/when-your-father-is-a-magician-what-do-you-believe/
57•pseudolus•4d ago•12 comments

How to self-host a web font from Google Fonts

https://blog.velocifyer.com/Posts/3,0,0,2025-8-13,+how+to+self+host+a+font+from+google+fonts.html
134•Velocifyer•16h ago•106 comments

Boring work needs tension

https://iaziz786.com/blog/boring-work-needs-tension/
112•iaziz786•14h ago•60 comments