Hacker News new | ask | show | jobs
by tialaramex 671 days ago
> since huge parts of Haiku are written in C++

Sometimes pre-standard C++ and sometimes C++ 98. There's a lot of "C with classes" and stuff that C++ proponents will insist isn't now "really" C++ because that no longer suits their understanding of the language. As is common for that era it has its own custom string type, BString, and so on.

So Swift is about 20 years over their horizon, and modern Swift is even further.

1 comments

Some things never change, regardless of the modern C++ discussions.

Apple, Google and Microsoft "modern C++" frameworks also use their own types, instead of the standard library.

See Android NDK, IO Kit / Driver Kit / Metal bindings, C++/WinRT and WIL.

IOKit dates to circa 1999; it’s not “modern C++” by any reasonable definition.
Beyond discussing what Modern C++ actually means, Andrei Alexandrescu book, C++11, C++14, C++17, C++20, C++23, this only goes to show how "modern" is the C++ code from companies that should know better as WG21 members, and C++ compiler vendors.

Let alone those that aren't neither WG21 members, nor C++ compiler vendors.