frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Tiny C Compiler

https://bellard.org/tcc/
81•guerrilla•2h ago•33 comments

SectorC: A C Compiler in 512 bytes

https://xorvoid.com/sectorc.html
165•valyala•6h ago•30 comments

Speed up responses with fast mode

https://code.claude.com/docs/en/fast-mode
101•surprisetalk•6h ago•99 comments

Brookhaven Lab's RHIC concludes 25-year run with final collisions

https://www.hpcwire.com/off-the-wire/brookhaven-labs-rhic-concludes-25-year-run-with-final-collis...
40•gnufx•5h ago•43 comments

The F Word

http://muratbuffalo.blogspot.com/2026/02/friction.html
90•zdw•3d ago•41 comments

You Are Here

https://brooker.co.za/blog/2026/02/07/you-are-here.html
48•mltvc•2h ago•58 comments

Software factories and the agentic moment

https://factory.strongdm.ai/
123•mellosouls•9h ago•257 comments

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

https://openciv3.org/
873•klaussilveira•1d ago•267 comments

Hoot: Scheme on WebAssembly

https://www.spritely.institute/hoot/
163•AlexeyBrin•11h ago•29 comments

Stories from 25 Years of Software Development

https://susam.net/twenty-five-years-of-computing.html
121•vinhnx•9h ago•15 comments

FDA intends to take action against non-FDA-approved GLP-1 drugs

https://www.fda.gov/news-events/press-announcements/fda-intends-take-action-against-non-fda-appro...
48•randycupertino•1h ago•46 comments

First Proof

https://arxiv.org/abs/2602.05192
87•samasblack•8h ago•61 comments

Show HN: A luma dependent chroma compression algorithm (image compression)

https://www.bitsnbites.eu/a-spatial-domain-variable-block-size-luma-dependent-chroma-compression-...
24•mbitsnbites•3d ago•1 comments

Show HN: Browser based state machine simulator and visualizer

https://svylabs.github.io/smac-viz/
7•sridhar87•4d ago•3 comments

Vocal Guide – belt sing without killing yourself

https://jesperordrup.github.io/vocal-guide/
257•jesperordrup•16h ago•84 comments

Al Lowe on model trains, funny deaths and working with Disney

https://spillhistorie.no/2026/02/06/interview-with-sierra-veteran-al-lowe/
76•thelok•8h ago•16 comments

Show HN: I saw this cool navigation reveal, so I made a simple HTML+CSS version

https://github.com/Momciloo/fun-with-clip-path
45•momciloo•6h ago•7 comments

Start all of your commands with a comma (2009)

https://rhodesmill.org/brandon/2009/commands-with-comma/
542•theblazehen•3d ago•198 comments

I write games in C (yes, C) (2016)

https://jonathanwhiting.com/writing/blog/games_in_c/
157•valyala•6h ago•139 comments

The AI boom is causing shortages everywhere else

https://www.washingtonpost.com/technology/2026/02/07/ai-spending-economy-shortages/
227•1vuio0pswjnm7•12h ago•359 comments

Microsoft account bugs locked me out of Notepad – Are thin clients ruining PCs?

https://www.windowscentral.com/microsoft/windows-11/windows-locked-me-out-of-notepad-is-the-thin-...
65•josephcsible•4h ago•81 comments

Reinforcement Learning from Human Feedback

https://rlhfbook.com/
105•onurkanbkrc•11h ago•5 comments

Selection rather than prediction

https://voratiq.com/blog/selection-rather-than-prediction/
21•languid-photic•4d ago•5 comments

72M Points of Interest

https://tech.marksblogg.com/overture-places-pois.html
45•marklit•5d ago•6 comments

Unseen Footage of Atari Battlezone Arcade Cabinet Production

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

Coding agents have replaced every framework I used

https://blog.alaindichiappari.dev/p/software-engineering-is-back
287•alainrk•11h ago•466 comments

A Fresh Look at IBM 3270 Information Display System

https://www.rs-online.com/designspark/a-fresh-look-at-ibm-3270-information-display-system
54•rbanffy•4d ago•15 comments

France's homegrown open source online office suite

https://github.com/suitenumerique
667•nar001•10h ago•290 comments

Where did all the starships go?

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

Learning from context is harder than we thought

https://hy.tencent.com/research/100025?langVersion=en
215•limoce•4d ago•123 comments
Open in hackernews

Obscure feature + obscure feature + obscure feature = compiler bug

https://antithesis.com/blog/2025/compiler_bug/
33•jonstewart•4mo ago

Comments

gipp•4mo ago
Are anonymous namespaces really that obscure? They're pretty bog-standard where I work, anyway. Don't think I've ever seen a .cc file more than a couple hundred lines that didn't have one for various helper functions.
jeffbee•4mo ago
Definitely not obscure. https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines...
1718627440•4mo ago
Why couldn't C++ use the static keyword here, which is how its done in C, so I expect its supported in C++ as well.
ahartmetz•4mo ago
I think some reason involving templates? But yeah, I just write file-static helper functions most of the time.
estimator7292•4mo ago
You can pretty much treat a namespace as a static class. It's very, very much not a static class, but it mostly behaves like one. Unless you use static fields in a namespace and then your program blows up because that field is TU-static, not global.

Sometimes I wish I could just write C# instead.

quuxplusone•4mo ago
No, neither C nor C++ supports using `static` to add internal linkage to a struct type or type alias. (Evidence: https://godbolt.org/z/fnevfv4hr , see also cppreference.)

In C++, we need some way to give a type internal linkage so that we can have

    namespace {
      struct S { static int mv; int f(); };
    }
    int S::f() { return 1; }
    int S::mv = 1;
in one translation unit and the-same-thing-but-with-2-instead-of-1 in another translation unit. Linkage matters to `S::f` and `S::mv`, which would otherwise end up exposed to the world and cause multiply-defined-symbol errors at link time. In C, we can't have member functions or static data members, so (unless I'm missing something) there's no real physical (as opposed to philosophical) reason for a C programmer to care what linkage their types have.

If C did support internal-linkage types, I do think it would make sense to support writing simply

    static struct S { ~~~~ };
instead of C++'s weird hack with the (C++-only) `namespace` keyword.

Why did C++ decide to use unnamed namespaces instead of `static struct S { ~~~~ }`? According to Stroustrup's "The Design and Evolution of C++" ("D&E"), the original idea was to separate the two meanings of `static` — unnamed namespaces would take over all the responsibilities related to internal linkage, leaving `static` responsible only for function-local statics and static members. C++98 actually deprecated the use of `static` for internal linkage — but that deprecation was reversed (thank goodness) in C++11, and I imagine most C++ programmers are unaware that such a thing ever happened.

https://stackoverflow.com/questions/4726570/deprecation-of-t...

1718627440•4mo ago
In C a type doesn't produce any symbols, so it can't be affected by linkage. I was indeed talking about declaring the instantiation of the classes with static in C++.
estimator7292•4mo ago
Yeah, I thought anonymous namespaces were pretty standard. It's one of only a few useful ways to hide internals of an object or helper.
lzsiga•4mo ago
I'm sure this article is useful and interesting, but the author lost me at the very first example program, where he wrote `@px++` instead of `(@px)++` (@ stands for asterix character).
yencabulator•4mo ago
> my takeaway is that you have to do something really, really obscure

You used to be able to crash gcc by making the first character of a string literal an 8-bit one.