News for hackers. Stuff that matters.
Re:Rust 2024 the Year of Everywhere? by sam0x17 on Friday September 23, 2022 @01:10AM (#32948286)
global state is often necessary. Abusing it is always possible, but every startup-sized application footprint I've ever been in we eventually have to add an exception to the no-globals linting rule for some very legitimate reason in some specific place.

The crate ecosystem (oncecell, lazystatic) lets you completely sidestep this limitation for now anyway before better const behavior eventually gets added to stable

There are no comments on this comment yet.