I wrote a thing in @rustlang, lazy-init http://blog.kylehuey.com/post/156464146312/lazy-initialization-in-rust …
Replying to @khuey_
Nice. If you don't want to use a lock & you can tolerate multiple threads racing to compute the value, there's a lockless way too.
4:45 PM - 27 Jan 2017
0 replies
0 retweets
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.