HN user

Davidbrcz

817 karma
Posts41
Comments247
View on HN
surfingcomplexity.blog 29d ago

Dear researchers: help me deal with incidents [pdf]

Davidbrcz
5pts0
www.acm.org 2mo ago

ACM Code of Ethics and Professional Conduct

Davidbrcz
2pts0
drgrizz.xyz 2mo ago

Forcing dark mode in PDFs for Firefox

Davidbrcz
3pts1
github.com 7mo ago

P: Formal Modeling and Analysis of Distributed (Event-Driven) Systems

Davidbrcz
37pts5
news.ycombinator.com 7mo ago

Ask HN: What predictions for 2025 did come true?

Davidbrcz
1pts0
play.google.com 9mo ago

Visions: Simulate the View of Visually-Impaireds

Davidbrcz
1pts0
www.admin.ch 9mo ago

Swiss voters back e-ID legislation

Davidbrcz
40pts59
surfingcomplexity.blog 11mo ago

Easy will always trump simple

Davidbrcz
5pts1
pdubroy.github.io 1y ago

List of powerful concepts in 250 lines of code

Davidbrcz
3pts0
drgrizz.xyz 1y ago

Shrinking a PDF

Davidbrcz
4pts0
www.youtube.com 1y ago

How to Win at Coding Interviews (Video CppCon 2022 Lightning Talk))

Davidbrcz
3pts0
howtorecover.me 1y ago

Organizing and Managing Android Photo Storage

Davidbrcz
2pts0
github.com 1y ago

Printf Oriented Message Protocol

Davidbrcz
106pts42
github.com 2y ago

Reko – A General Purpose Decompiler

Davidbrcz
12pts1
www.luke1410.de 2y ago

The trouble of separate module atexit-stacks

Davidbrcz
2pts0
github.com 2y ago

LLM4Decompile: Decompiling Binary Code with LLM

Davidbrcz
412pts129
chakazul.github.io 2y ago

Lenia, a Generalization of Conway's Game of Life

Davidbrcz
3pts0
drgrizz.xyz 2y ago

Dark Mode is not just about aesthetic

Davidbrcz
3pts1
users.aalto.fi 2y ago

Propositional Satisfiability and SAT Solvers

Davidbrcz
3pts0
semantic.org 2y ago

Pinafore: An Unusual Programming Language

Davidbrcz
4pts0
github.com 3y ago

DreamBerd is a perfect programming language

Davidbrcz
736pts208
matt.might.net 3y ago

Avoid Temptation

Davidbrcz
33pts5
serokell.io 5y ago

How to Implement an LR(1) Parser

Davidbrcz
2pts0
github.com 7y ago

Collection of CMake code and snippets to expand its possibilities

Davidbrcz
2pts0
harmful.cat-v.org 7y ago

Encyclopedia of things considered harmful

Davidbrcz
1pts0
www.youtube.com 7y ago

A Little Taste of Dependent Types [video]

Davidbrcz
2pts0
www.youtube.com 7y ago

Understanding TypeScript's Structural Type System [video]

Davidbrcz
5pts1
libraryofcodexes.com 7y ago

Read codexes from your favourite games

Davidbrcz
1pts0
chrispenner.ca 8y ago

ASTs with Fix and Free

Davidbrcz
1pts0
www.xanthir.com 8y ago

Basic Category Theory Terms

Davidbrcz
2pts0

And that's the usual fallacy (just ignore the bad stuff).

But if you work with C++ in professional context, you will encounter it somewhere (library, teamate's PR, legacy code, LLM output, book / blog / conference ...). |

You actually need to know the bad stuff to be able to judge it and discard it.

Python, Java, Lua, Ruby are ~30 years old, Ada being as old as C++.

Sure, none is perfect and they have cruft and warts, but they are not such a mess as C++ is.

No it's not.

The language keeps growing, with

- new features overlapping old features from previous standards without replacing them or deprecating them (function::copyable_function vs std::function, std::less<> key for transparent lookup in maps)

- new features not usable by the layman (coroutines ...)

- Cryptic syntax (reflection...)

- Stuff you are told not to use because of performance reason and that cant be fixed because of ABI (regex)

- Compile errors that are 1km long (no, concepts are not helping here, the 'nicer' message is still buried into a hot pile of template instantiation callstack).

Except the language keeps growing, with

- new features overlapping old features previous standards without replacing them or deprecating them. - new features not usable by the layman - ...

See function::copyable_function vs std::function, modules, coroutines, Reflection syntax is cryptic at best, ...

Dissimilar redundancy eliminates that risk. A completely different OS, different codebase, different development team.

Not entirely true. I've heard during my uni years of a case were two independent teams used the same textbook for implementing a feature, which had an error, and thus resulting in the same failure mode.

People manually doing resource cleanup by using goto.

I'm assuming that using defer would have prevented the gotos in the first case, and the bug.

Dependable C 7 months ago

A goal is what, intent is why. And a same goal could be motivated by different intents.