Topics /

Software Engineering

The most popular blog posts about software engineering on Hacker News. 14,530 posts.

Any year
454

How DOOM fire was done

The Game Engine Black Book: DOOM features a whole chapter about DOOM console ports and the challenges they encountered. The utter failure of the 3DO, the difficulties of the Saturn due to its affine texture mapping, and the amazing "reverse-engineering-from- scratch" by Randy Linden on Super Nintendo all have rich…

464

Finding and fixing Ghostty's largest memory leak

A few months ago, users started reporting that Ghostty was consuming absurd amounts of memory, with one user reporting 37 GB after 10 days of uptime. Today, I'm happy to say the fix has been found and merged . This post is an overview of what caused the leak, a look at some of Ghostty's internals, and some brief…

467

The Illustrated Stable Diffusion

Translations: Chinese, Vietnamese. (V2 Nov 2022: Updated images for more precise description of forward diffusion. A few more images in this version) AI image generation is the most recent AI capability blowing people’s minds (mine included). The ability to create striking visuals from text descriptions has a magical…

469

Open source collaborative text editors

For years now I've had this itch, trying to find the "perfect" collaborative text editor. But not just any collaborative text editor, oh no, my speciality is finding (well, at least looking for) open source real-time collaborative web-based rich text editors...

474

Simple React Patterns

I've been writing React applications for a few years now, and I've noticed that some patterns tend to repeat themselves. In this post, I'll review these patterns which will summarize about 99% of the React code I write every day.

477

It takes a PhD to develop that

In light of recent events regarding the performance of the Windows terminal 1 , I thought it would be worth spending some time on this topic, since it uncovers a few problems that are pestering the software industry.

478

A critical look at MCP

"MCP is an open protocol that standardizes how applications provide context to LLMs. Think of MCP like a USB-C port for AI applications. Just as USB-C provides a standardized way to connect your devices to various peripherals and accessories, MCP provides a standardized way to connect AI models to different data…