frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Beating the Compiler

https://www.mattkeeter.com/blog/2024-07-12-interpreter/
14•andsoitis•4d ago

Comments

someonebaggy•23m ago
Compilers are pretty good. Really good, even. But languages, even C, are abstractions, which necessarily constrain the level below. This threaded-code jump thing is just not possible to express in C. Even the best abstraction can often be beaten by something the abstraction can't express.
compiler-guy•10m ago
There are literally thousands of compiler engineers who pore over the assembly a compiler generates, and then finds ways to make it better. I get paid to figure out where the compiler can do better, and often a step in that is to hand-code my own replacement. I then teach the compiler to do that.

But even beyond that, the compiler can't make certain assumptions that an assembly writer can. Such as whether a callee-saved register really does need to be saved in some particular routine. Or even pushing an extra parameter in unusual cases.

So it is entirely possible to beat the compiler, it's doable under certain circumstances, even today.

But you also have the danger of your loving hand-crafted assembly beating the compiler today. But next year the compiler is even smarter, the hardware may have changed in subtle ways, and the compiler will know and improve the code it generates.

Your hand-written code won't change unless you revisit it.

Borland Turbo Basic

https://dosdays.co.uk/topics/Software/borland_turbo_basic.php
29•sssilver•1h ago•6 comments

Web Search API

https://developers.cloudflare.com/changelog/post/2026-10-02-introducing-web-search-api/
225•tosh•5h ago•111 comments

Making a GTK application in Haskell, part 1

https://floreal.tech/blog/2026/making-a-gtk-app-in-haskell-part-1/
24•Vosporos•2h ago•1 comments

Mosquitoes Are a Choice

https://worksinprogress.co/issue/mosquitoes-are-a-choice/
100•benbreen•22h ago•80 comments

Denmark Data Breach Exposes 8.8M People's Personal Data

https://www.cpr.dk/cpr-nyt/nyhedsarkiv/2026/okt/omfattende-uautoriseret-adgang-til-borgeres-cpr-o...
338•clan•8h ago•253 comments

Mold Linker Version 3.0.0 Release – Rewritten in Rust

https://github.com/rui314/mold/releases/tag/v3.0.0
66•roflcopter69•5h ago•22 comments

Pixel 11 doesn't yet meet the GrapheneOS security standards and may be skipped

https://discuss.grapheneos.org/d/41564-pixel-11-doesnt-yet-meet-the-grapheneos-security-standards...
248•finnlab•3h ago•139 comments

Huawei and Qualcomm Announce Broad Patent License Agreement

https://www.huawei.com/en/news/2026/10/qualcomm-broad-patent-agreement
125•0xedb•8h ago•75 comments

Type Safe Generic Data Structures in C

https://danielchasehooper.com/posts/typechecked-generic-c-data-structures/
94•AlexeyBrin•2d ago•43 comments

Differences Between `Foldl` and `Foldr`

https://blog.haskell.org/foldl-and-foldr/
78•signa11•4d ago•13 comments

The future of independence is interdependence

https://onlys.ky/independence-is-interdependence/
3•eustoria•53m ago•0 comments

Run Qwen 3.8 Flash Next (125B) on consumer hardware (RTX 4090) at 100T/s

https://github.com/Niko1221/Strata
881•snehesht•1d ago•395 comments

In the wake of Tippett Studios’ closure, a digital archive appears online

https://filmstories.co.uk/news/tippett-studios-in-the-wake-of-its-closure-a-digital-archive-of-an...
205•rdmuser•19h ago•25 comments

Germany’s RobCo hits $1B valuation

https://techfundingnews.com/europes-new-robotics-unicorn-germanys-robco-hits-1b-valuation/
288•dachworker•5h ago•259 comments

Florida woman arrested for allegedly making threats in an AI chat

https://www.theverge.com/ai-artificial-intelligence/1004747/florida-woman-arrested-for-allegedly-...
18•timpera•1h ago•9 comments

Martian chaos terrain

https://en.wikipedia.org/wiki/Martian_chaos_terrain
39•tiagod•3d ago•6 comments

Beating the Compiler

https://www.mattkeeter.com/blog/2024-07-12-interpreter/
15•andsoitis•4d ago•5 comments

Nobel Prize in Physiology or Medicine 2026

https://www.nobelprize.org/prizes/medicine/2026/press-release/
127•Anon84•5h ago•26 comments

Tell HN: Uceprotect is extorting website owners

78•goldenmember•3h ago•37 comments

We ported the original Doom to SQL

https://cedardb.com/blog/sqldoom/
244•Vaslo•1d ago•38 comments

ExplainDB: A Database System Built for Understandability

https://github.com/explaindb/explaindb
54•pykello•3d ago•4 comments

A browser-native classic Visual Basic VB6 IDE

https://wieslawsoltes.github.io/VB6/
341•wiso•21h ago•114 comments

Picard 3.0 Released

https://blog.metabrainz.org/2026/10/04/picard-3-0-released/
29•Tomte•2h ago•8 comments

The Tao of Backup

http://www.taobackup.com/index.html
216•vntok•3d ago•85 comments

Show HN: Minigraf – An embedded, bi-temporal graph database in Rust

https://github.com/project-minigraf/minigraf
17•adityamukho•5h ago•3 comments

The Era of Software Quality, or the Era of Ostriches?

https://blogs.gnome.org/mcatanzaro/2026/10/02/the-era-of-software-quality-or-the-era-of-ostriches/
52•birdculture•3h ago•27 comments

Apple and a Hacker's Future

https://stratechery.com/2026/apple-and-a-hackers-future/
142•maguay•6h ago•128 comments

Nobel Prize in Physiology or Medicine 2026

https://www.nobelprize.org/prizes/medicine/
6•marc__1•5h ago•2 comments

Infidel goes wild

https://blog.zarfhome.com/2026/10/infidel-goes-wild
166•tobr•2d ago•34 comments

The Philadelphia Inquirer built Scrape, an AI tool to surface hyperlocal news

https://www.lenfestinstitute.org/solutions-resources/philadelphia-inquirer-scrape-ai-hyperlocal-n...
56•giuliomagnifico•3d ago•21 comments