Project ideas from Hacker News discussions.

The Intel 8087 chip: floating-point addition and subtraction

📝 Discussion Summary (Click to expand)

Theme 1: Technical deep‑dives into the 8087 architecture
- “Minor erratum: '1.1 (binary) × 2^8 is 304' should be 384.” – n923263
- “Have you already covered how the decoding of instructions is shared with the 8086?” – bonzini
- “I describe the 8087 instruction decoding here: https://www.righto.com/2026/02/8087-instruction-decoding.htm...” – kens

Theme 2: Personal nostalgia and hobbyist experiences
- “righto.com has been great reading. None of my friends wanted to pay for an 8087, but I can still remember getting out of school (for 2nd time) and saving up for the 486DX after 3 others got them. After that, well, it's been quite a ride.” – jakzurr
- “I've always been proud to support the 8087 with my compilers, and am baffled why the numerics people ignore it.” – WalterBright

Theme 3: Limited adoption and software‑support challenges
- “I always thought the 8087 was way cool, but it never really caught on. Early versions of Win32 did not save the 8087 registers on a context switch. I called up some people at Microsoft to please not destroy the 8087, and they relented and preserved the registers.” – WalterBright


🚀 Project Ideas

Generating project ideas…

8087 FPU Emulator for Debuggers

Summary

  • Provides a cycle‑accurate software emulator of the Intel 8087 FPU that can be plugged into GDB/LLDB or used standalone to step through legacy x87 code.
  • Core value: lets developers debug, test, and teach 8087‑dependent programs without needing original hardware.

Details

Key Value
Target Audience Retro‑computing enthusiasts, compiler writers, OS developers, computer‑architecture students
Core Feature Emulates all 8087 instructions, exposes FPU stack, status/control/tags, can be hooked into existing x86 emulators (QEMU, Bochs) or debuggers
Tech Stack C (with optional Rust safety layer), optional WebAssembly build for browser demo, build system via Make/CMake
Difficulty Medium
Monetization Hobby

Notes

  • HN commenter WalterBright said he “always been proud to support the 8087 with my compilers” – an emulator would let him and others continue that support on modern toolchains.
  • Enables discussion around FPU correctness, provides a practical utility for running old DOS/Windows binaries on modern systems or for academic labs.

Interactive 8087 Instruction Decoding Explorer

Summary

  • A web‑based interactive tool that visualizes the 8087 opcode‑to‑microcode decoding process described in Ken’s righto.com article.
  • Core value: turns a static explanation into an explorable, step‑by‑step diagram that learners can manipulate.

Details

Key Value
Target Audience Hobbyists, educators, reverse engineers, anyone curious about vintage FPU internals
Core Feature Input binary opcode or hex, see highlighted bits, mapping to microcode address, animated microcode execution flow, and resulting FPU operation
- Tech Stack React + TypeScript, D3.js for diagrams, optional WebAssembly core for simulation, hosted on static CDN
Difficulty Medium
Monetization Hobby

Notes

  • Kens’ article drew thanks from n923263 for catching an erratum – an interactive explorer would let users spot similar mistakes themselves.
  • Sparks discussion on instruction encoding, useful for teaching computer architecture or for firmware developers verifying decoder logic.

x87 Register Context‑Switch Preserver (Kernel Module)

Summary

  • A kernel‑level module (Windows driver or Linux LKM) that automatically saves and restores the full x87 FPU state on every thread/context switch, fixing the Win32 omission that WalterBright highlighted.
  • Core value: guarantees legacy 8087‑dependent software runs correctly on modern OSes without manual intervention.

Details

Key Value
Target Audience Developers maintaining legacy DOS/Windows apps, emulator authors, OS kernel hackers
Core Feature Transparent FPU state preservation (control, status, tag, data registers) on each switch, negligible overhead, configurable per‑process
Tech Stack C (Windows Driver Kit or Linux kernel module), optional eBPF probe for Linux, build with Visual Studio / gcc
Difficulty High
Monetization Revenue-ready: Per‑seat annual license $200 (enterprise support optional)

Notes

  • WalterBright’s plea to Microsoft to “please not destroy the 8087” shows a real need; this module would satisfy that request.
  • Provides a practical utility for running old scientific/engineering code on modern machines and could become a talking point in OS‑dev circles about legacy FPU support.

Read Later