https://andreasfertig.com/blog/2026/03/best-performance-of-a-cpp-singleton/ #singletons #optimization #programming #tech #HackerNews #ngated
@ivan I added #crem from #haskell then dropped it when I realized that the wonderful module basically requires #dependenttypes via #singletons. I honestly adore the idea but the type system needs to do too many gymnastics until we can get a type system like #Idris2 or #Granule.
I am the type of person to run before I walk so it took one #pragmatic motherfucker to make that decision without feeling like I had given up something beautiful and elegant.
is that what we call an infinite loop?
What's the word on #Singleton
Does use of #Singletons really inhibit the #modularity of desirably extensible code?
Please don't judge me. I just added two #singletons to this project of mine.
Extremely proud of the research lab I'm part of (as of recently) \[ CG^2 \] http://computational-genomics.weebly.com/
A paper on the existence of particular #genomic regions in the #yeast genome that are enriched in #gene duplicates and how this affects the properties of nearby #singletons
https://academic.oup.com/nargab/article/4/4/lqac086/6827083?login=false
For more thorough explanation on much_loved_bird_site: https://twitter.com/guilderstern/status/1498964712662474753
Many programmers will start screaming at you for even mentioning #SINGLETONS, but they will not explain the problem. Sheban a.k.a Tutemic has a lot of excellent game programming lectures where he presents programing patterns in a beginner-friendly way, then shows how to use them well, and how to use them badly. That's rare!
Singletons are just another tool you need to understand to make games. Sometimes the best tool for the job - as long as you know the risks. #GameDev