News for hackers. Stuff that matters.
Re:Carefully but Purposefully Oxidising Ubuntu by TheCoreh on Monday March 17, 2025 @11:00PM (#43395337)
The package manager is an integral part of how the language is intended to be used in everyday practice, so it makes sense that it would be mentioned in the book, though.
Re:Carefully but Purposefully Oxidising Ubuntu by dmitrygr on Monday March 17, 2025 @11:28PM (#43395485)
So if I am on a plane at 36,000 feet, I cannot start a new hobby project without paying for WiFi and downloading shit from people I don’t know or trust? That is just unserious, when your competition is the much more mature gcc+make+vim combo, which is 100% offline and self-contained.

And yes, I’ve done this (start a new project in a plane with no internet). Many times. eg: the world’s only PalmOS 5 device emulator (uARM-palm) was started while I was in a plane.

Re:Carefully but Purposefully Oxidising Ubuntu by Cyph0n on Monday March 17, 2025 @11:54PM (#43395614)
You can start a project just fine? Cargo does not require a connection to function - you only need one when it’s time to pull in external dependencies.

And if you really dislike Cargo, nothing is stopping you from using rustc + make directly.

Re:Carefully but Purposefully Oxidising Ubuntu by nenaoki on Tuesday March 18, 2025 @12:22AM (#43395729)
Pretty absurd conflation you've got there.

The package manager just offers a common interface for interop, you can still build without dependencies.

Re:Carefully but Purposefully Oxidising Ubuntu by TheCoreh on Wednesday March 19, 2025 @09:09AM (#43411419)
If your hobby project consumes libraries which are not already locally available on your machine, this same restriction would also apply when using gcc/make/vim. (e.g. say you want to use zlib, you'll need the zlib-devel package)

If the packages are already available locally, cargo works offline.