News for hackers. Stuff that matters.
Re:Using Zig as cross-platform C toolchain by cyber_kinetist on Monday February 28, 2022 @05:41AM (#30498446)
Does this include libc++ (compiled shared library of the STL complete with headers and debug symbols?) Although I hate most parts of the STL I still find myself using some parts of it (std::vector, std::string, <algorithm>, <type_traits>, etc.). Maybe I can link libc++ as an external library but then that's too much busywork needed for Zig to be a complete C++ dev environment out-of-the-box.
Re:Using Zig as cross-platform C toolchain by a_e_k on Monday February 28, 2022 @01:39PM (#30503322)
As an experiment a while back, I had tried in on a small project of mine that uses std::vector, std::string, and <algorithm> (though not a whole lot else). It built, ran, and passed my test suite.