HNHacker News
TopNewBestAskShowJobs

add2

17 karma · joined October 10, 2025

submissionscomments
add2··on Type Safe Generic Data Structures in C (2025)
While C++ template is using value types, C generic pointer is not.
add2··on Writing Efficient C++ Code (2013)
In most cases, the performance improvement was negligible, and the code merely became more complex.

"Premature optimization is the root of all evil"

add2··on C++26: Trivial infinite loops are no longer undefined behaviour
> For constructors and destructors it's somewhat unavoidable and not so random, though Rust does better at limiting the blast radius of non-local code, at least in the drop case.

Unlike C++, Rust does not manage exceptions at all; in C++, you must consider situations where exceptions arise.

add2··on The Road to MS-DOS 2.0
Unexpectedly, MS-DOS 2.0 included a /dev directory.

https://github.com/microsoft/MS-DOS/blob/main/v2.0/source/CO...

add2··on To save C, we must save ABI (2022)
COM-like C ABI saves C++
add2··on Forth
Iがforthをloveする
add2··on Super ZSNES – GPU Powered SNES Emulator
"Wide Screen (where available) - We enable widescreen whenever the game is internally coded to support partial or full widescreen."
add2··on VitruvianOS – Desktop Linux Inspired by the BeOS
How about making Haiku frameworks OS independent?
add2··on AWS CEO says replacing junior devs with AI is 'one of the dumbest ideas'
By the way, junior devs are using AI for their work.
add2··on Ask HN: Why did COM/SOAP/other protocols fail?
COM components, such as ActiveX, are available only on Windows.