|
|
Subscribe / Log in / New account

Why the library additions?

Why the library additions?

Posted Jul 8, 2024 13:30 UTC (Mon) by khim (subscriber, #9252)
In reply to: Why the library additions? by PengZheng
Parent article: New features in C++26

> There are already several C++ package managers, e.g. Conan/vcpkg.

And which tutorial tells about them before it tells you how to write any substantial program?

Just look on Rust's official one. In there Getting started part includes precisely three subparts: Installation, Hello, World!, Hello, Cargo!

And the other tutorials are similar: they talk about cargo as base way to use Rust and then, somewhere in the “advanced” section they talk about other ways to organize your code.

That way the use of cargo is the cornerstone of your development, it's when you decide to not use cargo you need extra knowledge and extra work.

And that in turn, means that if you decide not to use external crates (not any particular one, but all of them, on principle) you are “the weirdo who would have to do something about it”, while in C++ world it's not even remotely the case.


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds