An open API service indexing awesome lists of open source software.

Projects in Awesome Lists tagged with singletons

A curated list of projects in awesome lists tagged with singletons .

https://github.com/kaelzhang/egg-singletons

Egg plugin to define multiple singletons in a convenient way.

egg egg-plugin eggjs singletons

Last synced: 01 Apr 2025

https://github.com/bardifarsi/lazyinitialization

This C++20 solution enables lazy initialization for multithreaded tasks. It efficiently initializes an expensive object only when needed, ensuring thread safety. It utilizes std::once_flag and std::atomic<bool> for synchronization, optimizing resource utilization and scalability.

concurrency concurrency-patterns concurrent-programming cpp cpp20 lazy-init lazy-initialization lazyinitializationexception multithreading object-oriented-programming oop parallel-computing parallel-processing parallel-programming singleton singleton-design-pattern singleton-pattern singletons

Last synced: 19 Feb 2025

https://github.com/piotrpress/singleton

This library is a Singleton (anti)pattern implementation using a Traits with a support for an Object Inheritance and passing parameters to the constructor.

antipattern inheritance object-inheritance pattern singleton singleton-pattern singletonpattern singletons trait traits

Last synced: 03 Jan 2025