Re:Porting 100k lines from TypeScript to Rust using Claude C...
by zozbot234 on Tuesday January 27, 2026 @12:51AM
(#46776012)
> rust hates globals
Rust has added OnceCell and OnceLock recently to make threadsafe globals a lot easier for some things. it's not "hate", it just wants you to be consistent about what you're doing.
Rust has added OnceCell and OnceLock recently to make threadsafe globals a lot easier for some things. it's not "hate", it just wants you to be consistent about what you're doing.