frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Start all of your commands with a comma (2009)

https://rhodesmill.org/brandon/2009/commands-with-comma/
252•theblazehen•2d ago•84 comments

Hoot: Scheme on WebAssembly

https://www.spritely.institute/hoot/
24•AlexeyBrin•1h ago•2 comments

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

https://openciv3.org/
705•klaussilveira•15h ago•206 comments

The Waymo World Model

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

Vocal Guide – belt sing without killing yourself

https://jesperordrup.github.io/vocal-guide/
67•jesperordrup•6h ago•31 comments

Reinforcement Learning from Human Feedback

https://arxiv.org/abs/2504.12501
7•onurkanbkrc•45m ago•0 comments

Making geo joins faster with H3 indexes

https://floedb.ai/blog/how-we-made-geo-joins-400-faster-with-h3-indexes
135•matheusalmeida•2d ago•35 comments

Where did all the starships go?

https://www.datawrapper.de/blog/science-fiction-decline
44•speckx•4d ago•35 comments

Unseen Footage of Atari Battlezone Arcade Cabinet Production

https://arcadeblogger.com/2026/02/02/unseen-footage-of-atari-battlezone-cabinet-production/
68•videotopia•4d ago•7 comments

Jeffrey Snover: "Welcome to the Room"

https://www.jsnover.com/blog/2026/02/01/welcome-to-the-room/
39•kaonwarb•3d ago•30 comments

ga68, the GNU Algol 68 Compiler – FOSDEM 2026 [video]

https://fosdem.org/2026/schedule/event/PEXRTN-ga68-intro/
13•matt_d•3d ago•2 comments

What Is Ruliology?

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

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

https://github.com/valdanylchuk/breezydemo
238•isitcontent•16h ago•26 comments

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

https://github.com/pydantic/monty
237•dmpetrov•16h ago•126 comments

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

https://vecti.com
340•vecti•18h ago•147 comments

Hackers (1995) Animated Experience

https://hackers-1995.vercel.app/
506•todsacerdoti•23h ago•247 comments

Sheldon Brown's Bicycle Technical Info

https://www.sheldonbrown.com/
389•ostacke•21h ago•98 comments

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

https://eljojo.github.io/rememory/
303•eljojo•18h ago•188 comments

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

https://github.com/microsoft/litebox
361•aktau•22h ago•186 comments

An Update on Heroku

https://www.heroku.com/blog/an-update-on-heroku/
428•lstoll•22h ago•284 comments

Cross-Region MSK Replication: K2K vs. MirrorMaker2

https://medium.com/lensesio/cross-region-msk-replication-a-comprehensive-performance-comparison-o...
3•andmarios•4d ago•1 comments

PC Floppy Copy Protection: Vault Prolok

https://martypc.blogspot.com/2024/09/pc-floppy-copy-protection-vault-prolok.html
71•kmm•5d ago•10 comments

Was Benoit Mandelbrot a hedgehog or a fox?

https://arxiv.org/abs/2602.01122
23•bikenaga•3d ago•11 comments

The AI boom is causing shortages everywhere else

https://www.washingtonpost.com/technology/2026/02/07/ai-spending-economy-shortages/
25•1vuio0pswjnm7•2h ago•16 comments

Dark Alley Mathematics

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

How to effectively write quality code with AI

https://heidenstedt.org/posts/2026/how-to-effectively-write-quality-code-with-ai/
271•i5heu•18h ago•219 comments

Delimited Continuations vs. Lwt for Threads

https://mirageos.org/blog/delimcc-vs-lwt
34•romes•4d ago•3 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/
1079•cdrnsf•1d ago•461 comments

Introducing the Developer Knowledge API and MCP Server

https://developers.googleblog.com/introducing-the-developer-knowledge-api-and-mcp-server/
64•gfortaine•13h ago•30 comments

Understanding Neural Network, Visually

https://visualrambling.space/neural-network/
306•surprisetalk•3d ago•44 comments
Open in hackernews

Libgodc: Write Go Programs for Sega Dreamcast

https://github.com/drpaneas/libgodc
240•drpaneas•1mo ago

Comments

drpaneas•1mo ago
I built a Go runtime that runs on the Sega Dreamcast, the 1999 console with 16MB RAM and a 200MHz SH4 CPU.

You can write games in Go with goroutines, channels, garbage collection, and all the language features you'd expect. It compiles using gccgo and runs on real hardware or emulators.

The project includes 3 game examples Pong, Breakout and Platformer, input handling, audio support, and integrates with KallistiOS (the Dreamcast homebrew SDK).

* Star Here: https://github.com/drpaneas/godc * Documentation: https://drpaneas.github.io/libgodc/ * Video Tutorial: https://youtu.be/ahMl0fUvzVA

Happy to answer any questions about the implementation!

danhau•1mo ago
I just wanted to say how impressive your documentation is. I expected an average readme.md, but not only is your readme great (the performance table is wonderful), but the full documentation is awesome. It pretty much answers all questions I had. Nice job! I wish all projects were like this.

I also dig the documentation / book styling.

drpaneas•1mo ago
thanks @danhau, much appreciated, indeed documenting the process felt like another project of its own, so I am very happy to hear that :D
clktmr•1mo ago
Hey panos! I only had a short look at this for now, and it looks impressive! I'll have to dust off my Dreamcast and get this running.

I looked at gccgo when porting the runtime to n64, but at the time it wasn't updated since go1.18. Can we use Go Generics on the Dreamcast? I see that gccgo is obviously needed to support SH4.

drpaneas•1mo ago
Hey Timur, long time no see, I hope all is going well :) No, you cannot use generics, they are not yet supported by gccgo.
pjmlp•1mo ago
This is kind of cool, kudos for the effort.
drpaneas•1mo ago
you're very welcome :D Thanks!
lagniappe•1mo ago
You've made my entire WEEK! Thank you!
drpaneas•1mo ago
You've put a smile on my face reading your comment, thank you for your feedback, happy holidays :D
simonw•1mo ago
This is a beautiful thing to exist. Much respect for building this.
phantasmish•1mo ago
> Replaces the standard Go runtime with one designed for the Dreamcast's constraints: memory 16MB RAM, CPU single-core SH-4, no operating system.

24 total megabytes, with an M, of memory between system and video (another 8 there), single core 200mhz CPU, graphics chip runs at 100mhz. Shenmue runs on it.

Glares at Teams.

perching_aix•1mo ago
Could implement a custom Teams client on top of that. My biggest concern would be TLS and media decoding, but could just proxy the traffic and roll a text only client.

I mucked about with Microsoft Graph a bit before, didn't seem too bad.

giancarlostoro•1mo ago
It baffles me that Microsoft can build an entire OS, and build and rebuild GUI stacks, and they couldn't build the Teams UI using C#???
mfro•1mo ago
If they built Teams with a C# UI framework, it'd have to be rebuilt 4 times by now.
winrid•1mo ago
They already had to rebuild it once because it was in angularjs lol
federiconafria•1mo ago
Microsoft applications always look and behave as if they were ported to windows...
lexoj•1mo ago
They needed true cross-platform consistence, so it had to be equally terrible everywhere.
vips7L•1mo ago
Maybe they know they’re going to do it badly and it will tarnish C#’s reputation.
gethly•1mo ago
> CPU single-core

This does not fare well for Go though.

c2xlZXB5Cg1•1mo ago
Paging Mythbusters
lagniappe•1mo ago
Huh?
jerf•1mo ago
It runs fine. It is perhaps a bit pricey for a 200MHz system, I'd certainly focus on having only a few of them and doing most of my work by looping over some sort of user-defined tasklet (or, in other words, "standard game architecture"), but it's not like Go requires multiple CPUs to work at all.
gethly•1mo ago
I didn't say it would not run and I am happy that Go is being used in gaming like this. But it's like buying a Koenigsegg and using to to drive into your near by grocery store as concurrency is at the heart of Go and having it run on a single core, or rather, i assume, thread, is not the best use case for it.
jerf•1mo ago
I'm actually not a big fan of people who recite "concurrency is not the same as parallelism" like a mantra because I don't think it's anywhere near as orthogonal as those people think. But then, that's also largely because multicore is the norm now, rather than some bizarre exception. In a single core case, it is still true. Goroutines are just a different way of achieving async functionality, in a way probably a lot more convenient than the actual code of the time had, albeit at a bit of a performance penalty.

There was a period of time towards the beginning of Go when you could get some small performance advantages for certain tasks by locking the runtime to one goroutine at a time. They've long since addressed that, but there was a time when there were people writing Go code and deliberately limiting it to one execution context at a time.

gethly•1mo ago
"concurrency is not the same as parallelism" is a "mantra" exactly because most people are unable to distinguish between them and/or understand the meaning. maybe not nowadays, but go back a decade and that was definitely the case.
awesome_dude•1mo ago
Wouldn't it suit Go over some other architecture, because of goroutines being in userspace, the single CPU is effectively multithreaded when using Go
Thaxll•1mo ago
Most Go code on Kubernetes runs on a single core.
pjmlp•1mo ago
I really don't get how Teams gets developed, not even the worst offshoring projects I have been part of, have reached so low in quality.
bttf•1mo ago
Would happily take work chat, video conferencing in network-enabled Shenmue over Teams, Slack any day
smrq•1mo ago
As long as you don't work in the shipping industry. I hear it's next to impossible to get hold of any sailors over Shenmue
donatj•1mo ago
The "Effective Dreamcast Go" docs on this are fantastically well written. I've read much worse docs from major corporations.
drpaneas•1mo ago
Many thanks @dontaj much appreciated, indeed documenting the process felt like another project of its own, so I am very happy to hear that! The effective dreamcast Go was inspired from the old time classic https://go.dev/doc/effective_go :D
karel-3d•1mo ago
I thought that gccgo supports only some old go version? Or subset of features? I will need to refresh my memory for sure
drpaneas•1mo ago
I am using sh-elf-gccgo (GCC) 15.1.0 which is ok-ish I guess. But in general gccgo tries to be close to Go, but they do not implement all the features. e.g. generics are still missing for example.
pjmlp•1mo ago
It appears stale to me, there seems no one is driving it any longer, and Ian Lance Taylor has moved on anyway.

Maybe eventually the same can be tried with TinyGo, just as an idea.

drpaneas•1mo ago
problem is TinyGo uses LLVM, which doesn't support SH-4. The only reason I went with gccgo is due to SH4 target. In any case, I learned a ton of things doing this project :D
AdmiralAsshat•1mo ago
> Who is this for? > ... > Anyone who enjoys the challenge of severe constraints

Remembering what a powerhouse the Dreamcast was when it came out, and how amazing games like Soul Caliber and Shenmue looked, it's hard to think of the Dreamcast hardware as "severely contained".

drpaneas•1mo ago
yeah, been there, nostalgia hits hard. Dreamcast was a beast of its era, it even had Ethernet! Even the VMU was something extraordinary! Too bad SEGA had to cancel it :(
jerf•1mo ago
I find it a bit weird that I find it intuitive how things like the Super Nintendo did their work, and how modern games and systems work, but comparing the hardware specs of the Dreamcast/PS2/XBox/Gamecube era to the best of their output is where my intuition struggles the most. Not that the games of the era stand up to modern stuff, even when upscaled and texture-packed etc. in an emulator, but how they did it with so little oomph still amazes me.
tclancy•1mo ago
For anyone interested in the general topic, highly recommend https://en.wikipedia.org/wiki/Racing_the_Beam
rpastuszak•1mo ago
I love this. The documentation is great and I've even learned a thing or two about golang from it! The logo makes me want to port Icy Tower to DC.
drpaneas•1mo ago
thanks @rpastuszak, much appreciated :D
Imustaskforhelp•1mo ago
If someone is interested in running golang projects on niche hardware perhaps, one pro tip I can suggest but there is way to convert golang 100% into wasm (no js shim or anything required) and the only thing you would need is a wasm library

You have to use golang from source (see the stackoverflow page https://stackoverflow.com/questions/76087007/golang-to-wasm-... )

go install golang.org/dl/gotip@latest gotip download GOOS=wasip1 GOARCH=wasm gotip build -o main.wasm

Although the way I did it is going into the gotip folder and then the binary folder which would contain the go compiler binary and then just use that path with

GOOS=wasip1 GOARCH=wasm ~/sdk/gotip/bin/go build -o main.wasm

Note that I forgot the exact path but it was similar to this but the point being that its super easy and simple :)

I tried to do it and I can tell you that it works and it works for even the most latest versions of golang, all you need is a wasmengine which I suppose can be ubiquitous.

I have built a solution where golang code gets converted to wasm and then we run a ssh server which then runs that wasm all in sandbox to create sandboxed mini golang servers :p I really love it although its a more so prototype than anything

gothink•1mo ago
Looks like this is available (since Go 1.21 [0]), so no need to build from source anymore. Just did a quick 'hello world' test to verify and it worked:

    GOOS=wasip1 GOARCH=wasm go build -o main.wasm main.go
    wasmtime main.wasm
If you're interested in wasm/wasi and niche hardware with Go, you should check out TinyGo [1] if you haven't already.

[0] https://go.dev/blog/wasi

[1] https://tinygo.org/docs/guides/webassembly/wasi/

Imustaskforhelp•1mo ago
Oh wow thanks for telling me, looks like I was using gotip/ source go for no reason but thanks for telling me this, this actually really simplifies a lot of things :p

Tinygo is really awesome but I have heard that it has its differences so software written for golang won't really work ootb on tinygo and tinygo is really fascinating project too!

I have a question but is it possible to create golang compiler itself within wasm itself. I tried doing it but it didn't really work out but I am curious if someone has thought of doing something like this or has already done it?

nasretdinov•1mo ago
Nice project! Having just 16Mb of RAM does indeed sound like a real challenge for stock Go (not the TinyGo variant)! Even hello world is a couple megs, although I imagine Dreamcast isn't 64-bit, so the instructions are probably much shorter. Interesting to see anything written in it :)
drpaneas•1mo ago
Thanks :D How about porting Diablo? https://x.com/PanosGeorgiadis/status/2005692695402955143
steeve•1mo ago
this is incredible
drpaneas•1mo ago
thanks @steeve :D
tasa1969•1mo ago
amazing work! The "book" documentation is better than most of the books I have read and paid this year! Kudos!
drpaneas•1mo ago
glad to hear that tasa
kostas73•1mo ago
Great stuff!
drpaneas•1mo ago
Thanks Kosta <3
RestartKernel•1mo ago
This is incredibly cool! How do you think these modern language features would have affected Dreamcast development back in the day? (I have no idea of how difficult the console was to develop.)
drpaneas•1mo ago
I think Lua (yes you can code Dreamcast games with it) would be really awesome for kids, being able to make their own games, given the language is simple, like Python. But in general, for serious stuff C/C++ is still the preferred way.
aj_hackman•1mo ago
It was a dream relative to anything else on the market (until 2001, when the Xbox and GameCube were released), made even easier for some titles due to the optional Windows CE SDK. You still needed to do a fair bit of SuperH assembly programming to get reasonable graphics performance, but it was nothing like the nightmarish complexity of the PS2, despite having half the RAM. It's still one of the more popular homebrew targets.
XajniN•1mo ago
This is awesome, but it’s even more amazing that it even exists. How many people actually make software for Dreamcast? Why?