News for hackers. Stuff that matters.
Re:Catching use-after-move C++ bugs with Clang's consumed an... by paulddraper on Wednesday July 10, 2019 @07:54PM (#20407818)
> C++ lack of modules and package management

What exactly does "modules" mean to you? JS modules, Ruby modules, Java modules, Python modules? Those are substantially different ideas. C++ namespaces are Ruby modules, sans inheritance and runtime representation.

> package management

Does every language now require its own bespoke package management? npm, gem, pip, CPAN, OPAM, composer, maven, ivy, NuGet, Cabal, Cargo, CocoaPods, Quicklisp, LuaRocks, CTAN, Anaconda, etc.

Re:Catching use-after-move C++ bugs with Clang's consumed an... by themusicgod1 on Thursday July 11, 2019 @03:03AM (#20409653)
Not to mention you can get software that is unlicensed on npm, and god knows what gets pulled in when you use cargo or any of the smaller ones. This is a gigantic clusterfuck for those who are interested in using free software that encourages the user to be aware of the importance of free software.
Re:Catching use-after-move C++ bugs with Clang's consumed an... by steveklabnik on Thursday July 11, 2019 @11:57AM (#20412529)
crates.io (for Cargo) requires that every package include a SPDX identifier, and there's tools that can show you what licenses are used in your project.
Re:Catching use-after-move C++ bugs with Clang's consumed an... by pjmlp on Thursday July 11, 2019 @06:53AM (#20410583)
Yes it does, because most of us want to support a single package format, not one per OS.

Get every OS to agree on an universal package manager and then we may get rid of language specific ones that work across all OSes.

Re:Catching use-after-move C++ bugs with Clang's consumed an... by paulddraper on Thursday July 11, 2019 @09:35PM (#20417389)
Language-based systems are very limiting.

Want to use OpenSSL in your Rust project?

Cargo won't/can't get you what you need.

Re:Catching use-after-move C++ bugs with Clang's consumed an... by steveklabnik on Friday July 12, 2019 @12:15AM (#20418092)
Re:Catching use-after-move C++ bugs with Clang's consumed an... by pjmlp on Friday July 12, 2019 @11:35AM (#20421458)
All the ones I use are multi-language, while being independent of the underlying OS, using OpenSSL isn't a problem.