News for hackers. Stuff that matters.

add2

Re:Type Safe Generic Data Structures in C on Monday October 05, 2026 @06:25PM (#49971675)
While C++ template is using value types, C generic pointer is not.
Re:Writing Efficient C++ Code on Sunday September 27, 2026 @07:25PM (#49871838)
In most cases, the performance improvement was negligible, and the code merely became more complex.

"Premature optimization is the root of all evil"

> 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.

Re:The Road to MS-DOS 2.0 on Monday August 17, 2026 @10:36PM (#49340527)
Unexpectedly, MS-DOS 2.0 included a /dev directory.

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

Re:To Save C, We Must Save ABI on Tuesday August 11, 2026 @06:10AM (#49255777)
COM-like C ABI saves C++
Re:Forth on Monday July 27, 2026 @10:28PM (#49078514)
Iがforthをloveする
Re:Super ZSNES – GPU Powered SNES Emulator on Monday April 27, 2026 @08:38PM (#47929097)
"Wide Screen (where available) - We enable widescreen whenever the game is internally coded to support partial or full widescreen."
Re:VitruvianOS – Desktop Linux Inspired by the BeOS on Wednesday March 25, 2026 @05:09AM (#47515023)
How about making Haiku frameworks OS independent?
By the way, junior devs are using AI for their work.
Re:Ask HN: Why did COM/SOAP/other protocol fail? on Friday October 10, 2025 @04:57AM (#45536671)
COM components, such as ActiveX, are available only on Windows.