frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: Is starting a new project in C++ just a mistake in 2025?

2•leo_e•1h ago
We are a small startup building a specialized search engine. When we started, the logic was simple: "Performance is our main feature, so we need C++."

Six months in, the runtime performance is amazing, but our iteration speed is absolutely tanking.

It feels like we are paying a massive tax on every single feature. Just yesterday, I wasted an entire afternoon fighting CMake just to link a library that would have been a one-line go get or npm install in any other ecosystem. We also constantly deal with phantom bugs that turn out to be subtle ABI mismatches between our M1 Macs and the Linux CI runners—issues that simply don't exist in modern toolchains.

It’s frustrating because our "slower" competitors are shipping features weekly while we are stuck debugging linker errors or waiting for 20-minute clean builds.

I'm starting to wonder if the "performance moat" is a trap. For those who recently started infra projects: did you stick with C++? Did you bail for Rust/Go? Or do you just accept that velocity will be terrible in exchange for raw speed?

Comments

fwsgonzo•1h ago
I haven't bailed yet, but your problems is par for the course in C++. The only saving grace is libraries with simple/modern CMake rules, which is not always available. A typical offender is protobuf, which is really hard to statically link correctly on MinGW. Libraries that never graduate from custom makefiles are the worst offenders. With Automake being just barely above that again.

It is the biggest problem with C++ right now. We can't have nice things (no networking in the stdlib), and we also can't have nice packages (no networking in $pkg), so we end up with whatever appears on search for site:github.com and C++ whatever. It's really not that great. The only tradeoff is we really care about our deps, and won't pull in the world. So we're harder to target for supply chain attacks.

You shouldn't be waiting 20mins for CI builds though, unless you have a massive codebase and 10 platforms to build for. If you're making a Godot addon for every platform, I get it. I have that issue. But the 20mins are down from 50mins without ccache. Ccache is ~5 lines in the GA yaml.

nacozarina•58m ago
you can waste an afternoon fighting with one tool after having made poor decisions with other tools, nothing unique about c++ for that

our own design choices are usually the source of our pain, whether poorly-conceived or just poorly-executed

inspect your design, question all your choices, scrutinize the areas where your design choices have made evolution hard

blame your tools last

DateAtlas – Maps every date and time to a unique spot on Earth

1•forge_craft•53s ago•0 comments

Implementing Zero-Trust Network Access for Microservices with OpenZiti

https://www.vroble.com/2025/11/beyond-firewalls-implementing-zero.html
1•dovholuknf•1m ago•0 comments

AWS Lambda Networking over IPv6

https://aws.amazon.com/blogs/compute/aws-lambda-networking-over-ipv6/
1•enz•2m ago•0 comments

UK digital bank Revolut sees value jump £23B in a year

https://www.computerweekly.com/news/366634852/UK-digital-bank-Revolut-sees-value-jump-23bn-in-a-year
1•latein•3m ago•0 comments

Shutting Down Not Another CV

https://mikevdv.dev/blog/2025-11-24-shutting-down-not-another-cv
1•speckx•3m ago•0 comments

Libinput 1.30 adds support for Lua plugins

https://lore.freedesktop.org/wayland-devel/20251125050917.GA854973@quokka/T/#u
1•qrobit•3m ago•0 comments

ZSim: Fast and Accurate Microarchitectural Simulation of Thousand-Core Systems [pdf]

https://people.csail.mit.edu/sanchez/papers/2013.zsim.isca.pdf
1•nill0•5m ago•0 comments

Unlocking ammonia as a fuel source for heavy industry

https://news.mit.edu/2025/unlocking-ammonia-fuel-source-heavy-industry-amogy-1125
1•meysamazad•5m ago•0 comments

Can application layer improve local model output quality?

1•acro-v•5m ago•0 comments

Preconfigured neuronal firing sequences in human brain organoids

https://www.nature.com/articles/s41593-025-02111-0
1•tmzt•6m ago•0 comments

Opus 4.5 is the best model for RAG

https://agentset.ai/blog/opus-4.5-eval
2•tifa2up•7m ago•0 comments

The Great Downzoning

https://worksinprogress.co/issue/the-great-downzoning/
1•ortegaygasset•7m ago•0 comments

Auto-save feature added for buildsheet.one

https://buildsheet.one
1•usegrand•8m ago•0 comments

Erdoğan rings alarm bells on demographic crisis

https://www.dailysabah.com/politics/erdogan-rings-alarm-bells-on-demographic-crisis/news
1•bookofjoe•10m ago•1 comments

Four Ways AI Is Being Used to Strengthen Democracies Worldwide

https://www.schneier.com/blog/archives/2025/11/four-ways-ai-is-being-used-to-strengthen-democraci...
1•speckx•10m ago•0 comments

IKEA's colorful new Bluetooth speakers

https://www.theverge.com/news/827516/ikea-bluetooth-speaker-solskydd-kulglass-lamp-spotify-tap
2•HelloUsername•11m ago•0 comments

Volatile Infrastructure is worse than volatile applications

https://www.draketo.de/software/volatile-infrastructure
1•pantalaimon•11m ago•0 comments

Show HN: Dnd Character Creator

https://dndcharactercreator.art
1•ethanYIAI•11m ago•0 comments

All Programming Languages Are Fast

https://orgpad.info/blog/all-programming-langs-are-fast
1•vlr•13m ago•0 comments

Show HN: PoliSciPy – A Python library for making Electoral College maps

https://github.com/poliscipy/poliscipy
1•quantumHashMap•15m ago•0 comments

Let your code be brutally analyzed with AI

https://roastmycode.idealane.app/
2•federiconbo•16m ago•0 comments

Ask HN: Should account creation/origin country be displayed on HN profiles?

2•megraf•18m ago•4 comments

The signs of educational decline are now impossible to ignore

https://www.washingtonpost.com/opinions/2025/11/23/high-school-students-college-preparation/
3•mhb•18m ago•1 comments

Chatbot Psychosis

https://en.wikipedia.org/wiki/Chatbot_psychosis
2•tokai•18m ago•1 comments

The Emoji Museum from 1981 – 2025

https://emojistime.com/museum
1•RandomDailyUrls•19m ago•0 comments

Brain has five 'eras' – with adult mode not starting until early 30s

https://www.theguardian.com/science/2025/nov/25/brain-human-cognitive-development-life-stages-cam...
2•hackernj•20m ago•0 comments

Netscape and Microsoft Redux?

https://avc.xyz/netscape-and-microsoft-redux
1•wslh•20m ago•0 comments

X's new location feature exposed big US politics accounts

https://www.bbc.co.uk/news/articles/cj38m11218xo
1•ljf•20m ago•0 comments

Post Quantum secure your Rust programs

https://blog.rust.careers/post/quantum_safe_rust_cryptography/
1•gavide•22m ago•0 comments

N-Body Simulator – Interactive 3 Body Problem and Gravitational Physics

https://trisolarchaos.com/?pr=lagrange&n=3&s=5.0&so=0.01&im=verlet&dt=5.00e-4&rt=1.0e-6&at=1.0e-8...
1•speckx•22m ago•0 comments