{"repo":"slembcke/Tina","free":true,"listed":false,"github":"https://github.com/slembcke/Tina","clone":"git clone https://github.com/slembcke/Tina.git","description":"Tina is a teeny tiny, header only, coroutine and job library.","language":"C","stars":300,"topics":["c","coroutines","fiber","jobs","single-file","header-only","assembly","arm","arm64","x86-64"],"license":"MIT","category":"self-hosted-apps","readme_excerpt":"This Project has Moved! You can find the new project page on Codeberg. At least for now, I will be supporting the project on both sites, but eventually I plan to eventually drop GitHub entirely. To migrate an existing checkout, you can use the following command, or make a new checkout of the project from the new location. You may additionally need to run git checkout . to cleanup the deleted files. This will also discard your local changes if you have made any. To read more about why this project moved, you can read about it in PROJECT HAS MOVED.md. 🪡 Tina Tina is a teeny tiny, header only, fiber and coroutine library! Fibers are little lightweight user space threading primitives, sometimes called (stackful) coroutines. They are super handy! OS threads are great if you want to use multiple CPUs, but synchronizing them can be tricky and cumbersome. If you just want to run more than one bit of code at a time, fibers are much easier to use. This makes them great for lightweight uses like implementing state machines directly as code, running a script in a video game to control a cut scene, or amortizing the cost of an long algorithm over time. ✂️ Tina is simple but feature rich! Bring your own memory, or let Tina malloc() for you. symmetric coroutines: init() , swap() asymmetric coroutines: resume() and yield() Fast asm code supporting many common ABIs and environments: x86 (32 & 64 bit): Windows, Mac, Linux, OpenBSD, FreeBSD, Haiku, etc ARM (32 & 64 bit): Mac, Linux, iOS, Andro","default_branch":null,"files":null,"tree":[],"storefront":"/r/slembcke","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/slembcke/Tina/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}