Jump to content

Main public logs

Combined display of all available logs of JOHNWICK. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).

Logs
  • 09:13, 18 November 2025 PC talk contribs created page Singletons in Rust? Yes, and Here’s the Dangerous Way People Do It (Created page with "500px If you’ve spent time in Java or C#, you’ve probably seen the Singleton pattern — a way to guarantee that only one instance of a type exists in your program. It’s a design pattern that people either love (“simple global access”) or hate (“global mutable state is evil”). When I first moved to Rust, I assumed singletons weren’t even possible. After all, Rust hates global mutable state. And yet… developers still...")