News for hackers. Stuff that matters.
Re:Rust in Linux kernel is just a beginning by pjmlp on Tuesday October 25, 2022 @06:52AM (#33328810)
In VC++ "import std", which imports the whole C++ standard library, is faster than just doing "#include <iostreams>".

It is only a matter of time, until GCC and clang finally catch up.

Re:Rust in Linux kernel is just a beginning by jeffparsons on Tuesday October 25, 2022 @07:29AM (#33329095)
According to Wikipedia, both have support for precompiled headers: https://en.m.wikipedia.org/wiki/Precompiled_header

Shouldn't this be enough? Or does it require explicitly including the precompiled header whereas VC++ has magic to make that transparent?

Re:Rust in Linux kernel is just a beginning by pjmlp on Tuesday October 25, 2022 @08:29AM (#33329600)
C++20 modules and pre-compiler headers aren't the same thing in terms of technology.