frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

OpenCiv3: Open-source, cross-platform reimagining of Civilization III

https://openciv3.org/
567•klaussilveira•10h ago•159 comments

The Waymo World Model

https://waymo.com/blog/2026/02/the-waymo-world-model-a-new-frontier-for-autonomous-driving-simula...
885•xnx•16h ago•537 comments

How we made geo joins 400× faster with H3 indexes

https://floedb.ai/blog/how-we-made-geo-joins-400-faster-with-h3-indexes
89•matheusalmeida•1d ago•20 comments

What Is Ruliology?

https://writings.stephenwolfram.com/2026/01/what-is-ruliology/
16•helloplanets•4d ago•8 comments

Unseen Footage of Atari Battlezone Arcade Cabinet Production

https://arcadeblogger.com/2026/02/02/unseen-footage-of-atari-battlezone-cabinet-production/
16•videotopia•3d ago•0 comments

Show HN: Look Ma, No Linux: Shell, App Installer, Vi, Cc on ESP32-S3 / BreezyBox

https://github.com/valdanylchuk/breezydemo
195•isitcontent•10h ago•24 comments

Monty: A minimal, secure Python interpreter written in Rust for use by AI

https://github.com/pydantic/monty
197•dmpetrov•11h ago•88 comments

Show HN: I spent 4 years building a UI design tool with only the features I use

https://vecti.com
305•vecti•13h ago•136 comments

Microsoft open-sources LiteBox, a security-focused library OS

https://github.com/microsoft/litebox
352•aktau•17h ago•172 comments

Sheldon Brown's Bicycle Technical Info

https://www.sheldonbrown.com/
348•ostacke•16h ago•90 comments

Delimited Continuations vs. Lwt for Threads

https://mirageos.org/blog/delimcc-vs-lwt
20•romes•4d ago•2 comments

Hackers (1995) Animated Experience

https://hackers-1995.vercel.app/
450•todsacerdoti•18h ago•228 comments

Dark Alley Mathematics

https://blog.szczepan.org/blog/three-points/
77•quibono•4d ago•16 comments

PC Floppy Copy Protection: Vault Prolok

https://martypc.blogspot.com/2024/09/pc-floppy-copy-protection-vault-prolok.html
50•kmm•4d ago•3 comments

Show HN: If you lose your memory, how to regain access to your computer?

https://eljojo.github.io/rememory/
247•eljojo•13h ago•150 comments

An Update on Heroku

https://www.heroku.com/blog/an-update-on-heroku/
384•lstoll•17h ago•260 comments

Zlob.h 100% POSIX and glibc compatible globbing lib that is faste and better

https://github.com/dmtrKovalenko/zlob
9•neogoose•3h ago•6 comments

How to effectively write quality code with AI

https://heidenstedt.org/posts/2026/how-to-effectively-write-quality-code-with-ai/
227•i5heu•13h ago•172 comments

Show HN: R3forth, a ColorForth-inspired language with a tiny VM

https://github.com/phreda4/r3
66•phreda4•10h ago•11 comments

Why I Joined OpenAI

https://www.brendangregg.com/blog/2026-02-07/why-i-joined-openai.html
111•SerCe•6h ago•90 comments

I spent 5 years in DevOps – Solutions engineering gave me what I was missing

https://infisical.com/blog/devops-to-solutions-engineering
134•vmatsiiako•15h ago•59 comments

Female Asian Elephant Calf Born at the Smithsonian National Zoo

https://www.si.edu/newsdesk/releases/female-asian-elephant-calf-born-smithsonians-national-zoo-an...
23•gmays•5h ago•4 comments

Introducing the Developer Knowledge API and MCP Server

https://developers.googleblog.com/introducing-the-developer-knowledge-api-and-mcp-server/
42•gfortaine•8h ago•12 comments

Understanding Neural Network, Visually

https://visualrambling.space/neural-network/
263•surprisetalk•3d ago•35 comments

Learning from context is harder than we thought

https://hy.tencent.com/research/100025?langVersion=en
165•limoce•3d ago•87 comments

I now assume that all ads on Apple news are scams

https://kirkville.com/i-now-assume-that-all-ads-on-apple-news-are-scams/
1037•cdrnsf•20h ago•429 comments

Show HN: ARM64 Android Dev Kit

https://github.com/denuoweb/ARM64-ADK
14•denuoweb•1d ago•2 comments

FORTH? Really!?

https://rescrv.net/w/2026/02/06/associative
58•rescrv•18h ago•22 comments

Show HN: Smooth CLI – Token-efficient browser for AI agents

https://docs.smooth.sh/cli/overview
86•antves•1d ago•63 comments

WebView performance significantly slower than PWA

https://issues.chromium.org/issues/40817676
22•denysonique•7h ago•4 comments
Open in hackernews

SDL2 for macOS 9 “rough draft”

https://macintoshgarden.org/apps/sdl2-macos-9-rough-draft
135•helfire•10mo ago

Comments

TimTheTinker•10mo ago
Just to understand the context ... would an SDL2 driver for Mac OS 9 enable first-class support for Mac OS 9 as a guest OS in modern VM hypervisors?
Moto7451•10mo ago
No, this is not something that would enable a VM. This allows SDL2 code to be used in the classic Mac OS as a library.
helfire•10mo ago
Uh, did an editor change the title? I's MacOS 9, not macOS 9 ;) This is classic Macintosh. Please change it back to the original.
Lammy•10mo ago
It's Mac OS 9, title cased with a space between the words https://i1.wp.com/lowendmac.com/wp-content/uploads/about-mac...

Extremely cool project!

helfire•10mo ago
True true, I just submitted it with the casing of the original title. Though actually if you read the page they've tested support down to Mac OS 7.6!
helfire•10mo ago
It's really a great time to be a classic MacOS developer - tons of resources out there such as Retro68k, AmendHub, and a small but active community of people interested in sharing examples and help.

Back in the day when this stuff was modern I didn't have many resources or people to talk to about it, so exploring what could have been is an interesting endeavor.

https://github.com/autc04/Retro68 https://amendhub.com/

bluedino•10mo ago
I tried a little bit 20+ years ago. Bought a 'road Apple' Performa for $50, download Pangea's game programming book, can't remember if I used MPW or CodeWarrior...

It wasn't anywhere near as simple as DOS game programming was so I think I just installed YellowDog and used that Mac as a webserver.

https://www.pangeasoft.net/book/buy.html

Edit: I just opened that PDF and I think that's a newer version or I remembered the book wrong.

wsc981•10mo ago
Perhaps the book was "The Black Art of Macintosh Game Programming" [0]? That was a fun book I got myself.

---

[0]: https://archive.org/details/blackartofmacint00ties

contrahax•10mo ago
Retro68 is indeed very cool, I started writing some Think C and it is fun to code on such a tiny screen but Retro68 allowing you to code on your regular dev environment using more modern C has been great. I've been playing around with it last week to make some applications (not a plug because these projects suck!) - If anyone wants a simple Retro68 application boilerplate to start off with:

- Chatbot: https://github.com/yocontra/macintosh-ai/

- Game: https://github.com/yocontra/maccraft (Doesn't work very well atm, making a game run well on a macintosh plus is hard!)

I wasn't even alive when these computers were out but enjoying coding for them - something to be said about the simple interfaces (both in C and UI) and challenge of making things work with the constraints of the hardware.

Retro68 community has some really neat stuff like MacHTTP (https://github.com/antscode/MacHTTP) as well so you can offload some work to services (assuming you buy one of the many SCSI Wifi thingys).

nxobject•10mo ago
I love retro68, but as much as I love it I'm frustrated the"black box" dependency on CMake to specify the build process + app metadata (e.g. distinguishing between apps and desktop accessories which treat system globals differently, rsrc compiling, resource fork creation, etc.) My first instinct with (hobbyist) programs is to go for a lean and mean makefile.
OSDeveloper•10mo ago
I think it's amazing that we would have a new way to make apps running on macOS 9 systems since with a well known standard such as SDL2 we could make far more apps.
anthk•10mo ago
New exotic stuff:

- UXN for MacOS 9

- ScummVM, maybe modern games could run under a G4 with Altivec

- Netsurf with the SDL front end

cmiller1•10mo ago
> - ScummVM, maybe modern games could run under a G4 with Altivec

Having done some testing for the PPC version of ScummVM on 10.4 I can say that it won't run many of the more modern games because none of those machines supported shaders on the GPU, which many of the more modern ScummVM supported games like Thimbleweed Park depend on. A software shader implementation could be added in theory if someone had the gumption to build it but it would most likely be unusably slow on those older machines.

anthk•10mo ago
TinyGL works, it's being used under the 3D rendering settings at ScummVM. Forget advanced FX, but this is ScummVM, they could implement a simpler version of them.
ndiddy•10mo ago
Looks neat! SDL seems open to supporting legacy platforms, so hopefully it'll get mainlined at some point (at this point, may be more likely if they port SDL3 though, SDL2 is in maintenance mode). Does anyone know if it's possible to use a new compiler for this rather than CodeWarrior 7? It would make it easier to port stuff to Mac OS 9 if you don't also have to deal with the compiler only supporting old C/C++ standards.
ender341341•10mo ago
> compiler only supporting old C/C++ standards.

That's from back when the c++ standard was a rough suggestion. I had to use code warrior 10 for a project back in 2008ish (when standards compliance seemed to actually be picking up real steam across gcc/llvm/msvc) and it was painful how many things that were standard/supported across the other compilers that would break, we ended up basically falling back to closer to c with classes than anything that would resemble modern (at the time) c++.

helfire•10mo ago
Retro68k allows you to build with gcc12 https://github.com/autc04/Retro68
KerrAvon•10mo ago
The classic 68k Mac binary model is pretty far from what LLVM and GCC support even if they still have backends capable of compiling to older 68k CPUs (I'm not sure if that's case). Executable code is stored in the resource fork; the Mac SDKs require a compiler with support for a special syntax for trap-table based calls; the classic Mac Toolbox expects Pascal-format strings for most things.

helfire mentions Retro68; if you look at its README, you can get an idea of the scope of modifications required.

cortesoft•10mo ago
Is SDL2 just something that everyone is expected to know what it is? I was thinking it was about a Software Development Lifecycle on Mac0S9, but it clearly isn't... but there is no where in this post or that page that explains what SDL2 is.
thrance•10mo ago
As far as libraries go, this one is pretty well known. If you ever need to make a small game or custom gui, it's fairly easy to pick, very performant and very portable.
skyyler•10mo ago
It is one of the most popular multimedia libraries in the world.

If you want to build a game without using an engine, but don't want to deal with talking to the hardware on your own, SDL is there.

cortesoft•10mo ago
Thanks
OnionBlender•10mo ago
I think that anyone that doesn't know what SDL2 is probably won't care about this announcement. Besides, when I search for "SDL2" on Google, the first 5 pages were all about the Simple Direct Media Layer library, so there shouldn't be any uncertainty.
haunter•10mo ago
>Is SDL2 just something that everyone is expected to know what it is?

No but it's assumed that if use a site like HN you can figure it out?

cortesoft•10mo ago
Fair, and I did, after I commented. Not exactly sure why I felt so compelled to comment, maybe because I was frustrated trying to find on the linked page what it was talking about.

I thought it was an actual game for a good chunk of time.

bowsamic•10mo ago
Yes, it is one of those things that I’d expect your average HN user to know about
cortesoft•10mo ago
This feels like an example of the XKCD comic "lucky 10000"... I guess it was just my turn to learn about it today, after 15 years actively on HN.
cardanome•10mo ago
What exactly is your background? MY first idea was that you might be very young but your account is from 2010.

Not knowing SDL feels like someone having no idea what C++ or Unreal Engine is. I am curious how you managed to avoid learning about SDL despite being on hacker news.

cortesoft•10mo ago
I don't know what to say other than I am pretty sure I have never encountered it before. I have been coding for over 30 years, 20 years professionally, and have never seen it. You can see by my account age and comment history that I have been active on HN for 15 years.

I actually have interest in game programming, too. So I don't know.

I am sure I'll encounter it 10 times this week now, good old Baeder-Meinhoff

cardanome•10mo ago
Oh you absolutely will. I guarantee you, you have used a lot of software that is using SDL.

https://steamdb.info/tech/SDK/SDL/

Though to be fair it kind of makes sense that you would have never used SDL yourself. It you never go that far down the stack and do stuff like write your own game engine and the like, you wouldn't really need to know it. I guess I am more aware of software dependencies as a Linux user? That is my only explanation or maybe you are really just one of those lucky 10000.

bigstrat2003•10mo ago
> Not knowing SDL feels like someone having no idea what C++ or Unreal Engine is.

I've literally never even heard the term SDL before this. I would say that it's nowhere near the same class of ubiquity as the other two examples you gave.

cardanome•10mo ago
There are far more games written in SDL than in Unreal Engine.

Granted that is trivially true because Unreal Engine itself and many, many other engines use SDL internally but still. So yeah, is is way MORE ubiquitous than Unreal Engine.

I guess there is just less awareness because SDL is a lower level detail that most people don't really need to care about. It just works and powers a huge chunk of our games and software.

Nothing wrong with not knowing about it, it is just interesting to me that even in tech spaces some people are not aware of SDL. I am sure there is a lot of things I don't know either.

Wowfunhappy•10mo ago
https://xkcd.com/1053/ seems relevant here. :)
pixelpoet•10mo ago
This is so hilarious for me, for whom SDL is truly legendary (literally decades of often daily use), and who constantly gets downvoted into a smoking hole in a ground for expressing the same sentiment about every random 7 week old JS framework or Grafana monitoring extension or whatever... the militant webdev bias on HN is super clear.

The recently released SDL3 is hot shit today, BTW: https://wiki.libsdl.org/SDL3/FrontPage

scroot•10mo ago
Love everything going on here. Now if someone could just send me an old Pismo powerbook...
Ecco•10mo ago
Wouldn't it be easier to cross-compile using a modern LLVM/GCC? I assume both have 68k backends?
o11c•10mo ago
I was really confused by the mention of 68k at first since MacOS 8.6 dropped support for that, but following the link it looks like it supports System 7 as well.

Cross-compiling would be faster (than emulation or too-old hardware), but I have never heard it called "easy". There are a lot of projects out there that need special configuration, and many don't even support the HOSTCC variable, etc. And that's before considering the importance of system libraries.

Ecco•10mo ago
I commented that because the author said "dealing with the foibles of CodeWarrior". I guess in the scenario cross-compiling wouldn't be easy, but possibly easier?
geenat•10mo ago
Cool to see. SDL 1 went back to System 7, awesomely enough.

Before that you had... Sprite Animation Toolkit by Ingemar Ragnemalm which powered Escape Velocity, etc.

gwbas1c•10mo ago
Uhm, nothing says what SDL is? The description is an interesting story about the struggles of getting vintage code to build; but it assumes that the reader knows what the thing is to begin with.
slackfan•10mo ago
If you do not know what it is, nor cant be arsed to look it up perhaps hackernews is not the correct discussion forum for you. Lurk more.
gwbas1c•10mo ago
I've been here longer than you, and have an order of magnitude more karma than you do.
CursedSilicon•10mo ago
This isn't Reddit. Imaginary internet points don't matter here.
627467•10mo ago
Isn't it easier to Google then?

Also, what's next? "Care to explain what is this `linux` thing?"

JKCalhoun•10mo ago
Wondering what I could do with it ... I rewrote Glypha (an old Mac shareware game I wrote) using modern SDL2. Might be fun to try to "back port" (?) it to OS 9 on top of SDL2 (rather than the clunkier CopyBits() calls I used in the original shareware game).
chongli•10mo ago
I'd love to hear how that goes. I've never written any code for OS 9 or earlier. I have heard many things about the brilliance of QuickDraw for writing very fast 2D drawing code on the very limited hardware of the time. I have not heard anything about the actual experience of writing software with QuickDraw calls.

I'd also be really interested to know how SDL2 would fare by comparison. Would it be as fast on old hardware? It wasn't built with the assumptions of that old hardware in mind, so I would be very surprised if it performed as well.

geerlingguy•10mo ago
Thank you for providing me with many hours of entertainment on our old Performa 6360 many years ago! Bought the new version on Steam, too.
JKCalhoun•10mo ago
And you have given me plenty of entertainment in my retirement. You keep up the good work.
classichasclass•10mo ago
The funny part is I think the SDL2 porter implemented most of the software rendering with ... CopyBits!
ndiddy•10mo ago
Nice, I hadn't heard about that before. The original Mac game was really fun, but your new Steam version looks way smoother. I like how the UI's like an old B&W Mac UI but with Egyptian touches thrown in. If you don't mind me asking, what was the new version written in (C, C++, something else)? Were you able to reuse any of the logic from the original Pascal version, or was everything more or less done from scratch?
kristianp•10mo ago
So Mac OS9 is PowerPC macs, but this also covers 68k macs with OS 7.6:

> Compatibility Architecture: 68k PPC MacOS 9 PPC, MacOS 7.6 M68k, using CodeWarrior 6 and 7 Pro.

skrrtww•10mo ago
Pretty cool!

I have heard stories of people in 2025 creating a fat macOS binary containing arm64, x86_64, x86, and ppc slices.

I hope that we can get virtualization of x86_64 macOS on arm64 hosts. It would be really cool to be able to do such a thing solely on a modern machine!

grishka•10mo ago
You can't virtualize a different architecture. Virtualization means that the guest OS runs natively on the host CPU with some sort of hypervisor. Do you mean emulation?
donnachangstein•10mo ago
There is no such thing as "macOS 9".

"Mac OS 9" or "OS9" does, however, exist.

helfire•10mo ago
Ya.. A mod edited the title and didn't change it back.
system7rocks•10mo ago
I'm here for this. Going to start building a first class competitor to Elder Scrolls Arena this weekend for my Mac SE/30. And do it better.
keyle•10mo ago
Love the enthusiasm and commitment.
bni•10mo ago
What is the best option for having an experience like "DosBox but for 68K macs"?
BruceEel•10mo ago
+1 this question. I notice QEMU can do 68k these days, apparently, including MacOS 7 & 8:

https://wiki.qemu.org/Documentation/Platforms/m68k#Running_M...

alekq•10mo ago
Whenever I think that the time I invested in some of the mini-projects is lost/wasted time and that it was probably better choice to do just about anything else instead - I come across something like this. The only thing I can conclude is that there is no such thing as wasted time, as long you enjoy the road.

Kudos.