Galactic-State
ctl
Galactic-State | ctl | |
---|---|---|
3 | 22 | |
21 | 162 | |
- | - | |
0.0 | 5.9 | |
over 1 year ago | about 2 months ago | |
TypeScript | C | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Galactic-State
-
I created an article on how to choose the right state management solution for your next React project.
I created my own “global state” management library: https://github.com/baron816/Galactic-State. It takes 30 seconds to learn, is very lightweight and ergonomic, and should solve performance issues with Context. Please check it out.
- Galactic State--Super simple, yet incredibly powerful global state for React
-
Ask HN: What Are You Working On?
I'm working on a simple state library for React. It will 1) allow you to have a "global" state that doesn't require context [1], and 2) allow you let you set state imperatively [2].
The links below are the two separate parts that I want to combine together so that you can have that imperative state setting apply to all components depending on the generated hooks. That's the easy part.
`useStructure` allows you to have a class that your component uses for state (and be able to use any methods on that class). The hard part will be having async functions on those classes that update your state correctly. Not sure if it's even possible.
[1] https://github.com/baron816/Galactic-State
ctl
-
A header-only C implementation of C++ <algorithm>
Well, I do like mine better, which is closer to the STL, and for all containers. https://github.com/rurban/ctl/
-
A simple hash table in C
search for htable or hashtable in thousands of open source projects. only a minority has worse hashtables than this one (clisp, perl5 e.g.).
For better ones I would point to my linked list implementation: https://github.com/rurban/ctl/blob/master/ctl/unordered_set.... (because it has various security policies, nobody else has)
-
Popular Data Structure Libraries in C ?
C Container Template Library, Rurban Variant (CTL) - The page for unordered_map reads "Implementation in work still".
-
C Template Library
There is also the rurban variant variant of CTL which is more complete.
-
Better C Generics: The Extendible _Generic
The prototype of CC used this mechanism to provide a generic API for types instantiated via templates (so basically like other container libraries, but with an extendible-_Generic-based API laid over the top of the generated types). This approach has some significant advantages over the approach CC now uses, but I got a bit obsessed with eliminating the need to manually instantiate templates.
- C_dictionary: A simple dynamically typed and sized hashmap in C - feedback welcome
-
How different is C++ from C? Contrasting simple Unix SORT programs
But the most common that I know of is this one: https://github.com/tylov/STC. There's also this one mentioned above https://rurban.github.io/ctl/
- C++ containers but in C
- STL in C
-
On HASH-TABLEs performance
I'm also working on a proper one, but got sidetracked. https://github.com/rurban/ctl/blob/hmap/ctl/swisstable.h
What are some alternatives?
alang - A minimal viable programming language on top of liblgpp
rnnoise - Recurrent neural network for audio noise reduction
rtk-query - Data fetching and caching addon for Redux Toolkit
Klib - A standalone and lightweight C library
Recoil - Recoil is an experimental state management library for React apps. It provides several capabilities that are difficult to achieve with React alone, while being compatible with the newest features of React.
STC - A modern, user friendly, generic, type-safe and fast C99 container library: String, Vector, Sorted and Unordered Map and Set, Deque, Forward List, Smart Pointers, Bitset and Random numbers.
react-final-form - 🏁 High performance subscription-based form state management for React
roost - Proof of Concept for Eventsourced backend
React - The library for web and native user interfaces.
LIPS - Scheme based powerful lisp interpreter in JavaScript
Joplin - Joplin - the secure note taking and to-do app with synchronisation capabilities for Windows, macOS, Linux, Android and iOS.
covid_status