frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

C89cc.sh – standalone C89/ELF64 compiler in pure portable shell

https://gist.github.com/alganet/2b89c4368f8d23d033961d8a3deb5c19
46•gaigalas•1d ago

Comments

gaigalas•1d ago
Single standalone file, no external tools used, PATH='' (empty), portable (bash, dash, ksh, zsh), produces x86 ELF executables, has mini-libc builtin.

Usage:

printf 'int main(){puts("hello");return 0;}' | sh c89cc.sh > hello

chmod +x hello

./hello

angry_octet•1h ago
I can't think of a reason to use c89cc.sh, but I salute this effort nonetheless.
dmitrygr•1h ago
Many parts of this are clearly autogenerated, but that in no way diminishes the sickening impressiveness of it!
phire•44m ago
It does make it a little hard to understand how the parser/ast_builder works.

But the rest seems easy enough to understand.

userbinator•41m ago
It would be far more interesting to look at what this was "compiled" from; it looks like the output of a state-machine generator.
kelsey98765431•1h ago
Would be a lot better if it came with tests. Please do this justice and dont let it rot as a gist, make a real repo and add some docs and at least smoke tests or some kind. Thanks
jey•46m ago
It targets x86-64/ELF? I thought it would target `sh` to be portable?

Google releases Gemma 4 open models

https://deepmind.google/models/gemma/gemma-4/
1205•jeffmcjunkin•11h ago•359 comments

Decisions that eroded trust in Azure – by a former Azure Core engineer

https://isolveproblems.substack.com/p/how-microsoft-vaporized-a-trillion
383•axelriet•11h ago•135 comments

Tailscale's new macOS home

https://tailscale.com/blog/macos-notch-escape
354•tosh•8h ago•179 comments

C89cc.sh – standalone C89/ELF64 compiler in pure portable shell

https://gist.github.com/alganet/2b89c4368f8d23d033961d8a3deb5c19
46•gaigalas•1d ago•7 comments

Artemis II's toilet is a moon mission milestone

https://www.scientificamerican.com/article/artemis-iis-toilet-is-a-moon-mission-milestone/
156•1659447091•1d ago•64 comments

Cursor 3

https://cursor.com/blog/cursor-3
308•adamfeldman•8h ago•261 comments

Qwen3.6-Plus: Towards real world agents

https://qwen.ai/blog?id=qwen3.6
447•pretext•12h ago•152 comments

Good ideas do not need lots of lies in order to gain public acceptance (2008)

https://blog.danieldavies.com/2004/05/d-squared-digest-one-minute-mba.html
174•sedev•9h ago•83 comments

Post Mortem: axios NPM supply chain compromise

https://github.com/axios/axios/issues/10636
32•Kyro38•3h ago•13 comments

Lemonade by AMD: a fast and open source local LLM server using GPU and NPU

https://lemonade-server.ai
459•AbuAssar•16h ago•101 comments

George Goble has died

https://www.legacy.com/us/obituaries/wlfi/name/george-goble-obituary?id=61144779
120•finaard•8h ago•21 comments

The Joy of Numbered Streets

https://humantransit.org/2026/03/the-joy-of-numbered-streets-or-call-it-39th-avenue.html
15•dmit•5d ago•2 comments

The beginning of programming as we'll know it?

https://bitsplitting.org/2026/04/01/the-beginning-of-programming-as-well-know-it/
34•zdw•1d ago•18 comments

LinkedIn is searching your browser extensions

https://browsergate.eu/
1584•digitalWestie•14h ago•685 comments

A Few Good Magazines From the 70s and 80s

https://www.bi6.us/CO/MG.HTML
33•OhMeadhbh•3h ago•7 comments

ParadeDB (YC S23) Is Hiring Database Internal Engineers (Rust)

https://paradedb.notion.site/
1•philippemnoel•4h ago

Show HN: Made a little Artemis II tracker

https://artemis-ii-tracker.com/
48•codingmoh•3h ago•19 comments

Significant progress made on Xbox 360 recompilation

https://readonlymemo.com/rexglue-xbox-360-recompilation-interview/
75•tetrisgm•4d ago•15 comments

Memo: A language that remembers only the last 12 lines of code

https://danieltemkin.com/Esolangs/Memo/
30•notem•4h ago•7 comments

JSON Canvas Spec (2024)

https://jsoncanvas.org/spec/1.0/
87•tobr•3d ago•28 comments

The open web isn't dying. We're killing it

https://ouvre-boite.com/the-open-web-isnt-dying-were-killing-it/
4•benwerd•1h ago•0 comments

Tor Alva: The Tallest 3D-Printed Building in the World

https://cacm.acm.org/blogcacm/tor-alva-the-tallest-3d-printed-building-in-the-world/
13•sohkamyung•3h ago•3 comments

OpenAI Acquires TBPN

https://openai.com/index/openai-acquires-tbpn/
165•surprisetalk•9h ago•134 comments

Maze Algorithms (1997)

https://www.astrolog.org/labyrnth/algrithm.htm
18•marukodo•2d ago•4 comments

Inside Nepal's Fake Rescue Racket

https://kathmandupost.com/money/2026/03/27/inside-nepal-s-fake-rescue-racket
262•lode•15h ago•115 comments

Magic the Gathering Deck Shuffler

https://mtg.jessitron.honeydemo.io/
46•mooreds•3d ago•14 comments

Artemis computer running two instances of MS outlook; they can't figure out why

https://bsky.app/profile/nikigrayson.com/post/3miik2wzosk25
343•mooreds•12h ago•255 comments

Prefer do notation over Applicative operators when assembling records (2024)

https://haskellforall.com/2024/05/prefer-do-notation-over-applicative
25•wazHFsRy•2d ago•4 comments

'Backrooms' and the Rise of the Institutional Gothic

https://thereader.mitpress.mit.edu/backrooms-and-the-rise-of-the-institutional-gothic/
182•anarbadalov•13h ago•87 comments

Queueing Requests Queues Your Capacity Problems, Too

https://pushtoprod.substack.com/p/queueing-requests-queues-your-capacity-problems-too
20•mhawthorne•3d ago•8 comments