#Singletons

N-gated Hacker Newsngate
2026-03-08

🥱 Oh joy, another riveting on the thrilling topic of ++ singletons! Because nothing says excitement like a deep dive into the riveting world of optimizing singleton patterns. 💤 Spoiler: it's still a singleton, folks.
andreasfertig.com/blog/2026/03

Anupam 🇮🇳《ミ》λ≡aj@id1.in
2025-05-31

Playing around with #DependentTypes and started writing a (currently pretty silly) #Singletons library port for #PureScript - https://forge.id1.in/aj/purescript-singletons/

#Haskell #FunctionalProgramming

harryprayivharryprayiv
2025-04-29

@ivan I added from then dropped it when I realized that the wonderful module basically requires via . I honestly adore the idea but the type system needs to do too many gymnastics until we can get a type system like or .

I am the type of person to run before I walk so it took one motherfucker to make that decision without feeling like I had given up something beautiful and elegant.

🪑Dr Rockstar ♫ajaxStardust@vivaldi.net
2024-07-16

Have you come to a conclusion about #Singletons and the like?

If so, please share!

@allspark

🪑Dr Rockstar ♫ajaxStardust@vivaldi.net
2024-07-16

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?

Matt 🔶 (LordMatt)lordmatt
2024-05-15

Please don't judge me. I just added two to this project of mine.

2023-07-22

@alexwild problem u need time to find the #singletons

Dimitris Nakos, MScnakdim@mathstodon.xyz
2022-11-17

Extremely proud of the research lab I'm part of (as of recently) \[ CG^2 \] computational-genomics.weebly.
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
academic.oup.com/nargab/articl

For more thorough explanation on much_loved_bird_site: twitter.com/guilderstern/statu

#Genomics #Bioinformatics #ComputationalBiology

unfa🇺🇦unfa
2022-09-01

Many programmers will start screaming at you for even mentioning , 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!

youtu.be/oMEgToqpAGc

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.

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst