Jai-Community-Library
cppcoro
Jai-Community-Library | cppcoro | |
---|---|---|
20 | 24 | |
312 | 3,241 | |
0.0% | - | |
0.0 | 0.0 | |
over 1 year ago | 4 months ago | |
C++ | ||
- | 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.
Jai-Community-Library
-
Zig Roadmap 2024 [video]
Comparatively
> Incremental rebuilds cause a lot of compilation problems, bugs, and errors. Incremental rebuilds are also slow due to the amount of in between files generated between builds. Jai will contain no incremental rebuild steps. All will be compiled in one fresh compilation. This means that the compiler will need to run fast with high performance. The eventual goal is to compile a 1 million lines of code in 1 second, but as of right now, the compiler can only do 250,000 lines in 1 second.
https://github.com/Jai-Community/Jai-Community-Library/wiki/...
-
Focus: A simple and fast text editor written in Jai
Either ask very politely for years, or be in denial like half the Jai community that writes Jai but is never able to compile it.
Yes, there is a whole Jai community wiki made from half cobbled together knowledge (https://github.com/Jai-Community/Jai-Community-Library/wiki), and a super secret discord made for the super elite, non-compiler-having plebs are banned.
-
The V Programming Language 0.4
- Philosophical approaches behind project or lack thereof.
Now on the personal, subjective note, the more I look, the more I want to avoid V and get my hands on Jai [1][2]
[1] https://github.com/Jai-Community/Jai-Community-Library/wiki/...
- Jai/Jon Blow Discord?
-
Porting 58000 lines of D and C++ to jai, Part 0: Why and How
Here's a community wiki that's been kept up-to-date https://github.com/Jai-Community/Jai-Community-Library/wiki
-
does this language even exist ?
Also this one: https://github.com/Jai-Community/Jai-Community-Library/wiki
- The Next Mainstream Programming Language: A Game Developer’s Perspective (2005) [pdf]
-
Wow - How do I learn more about Jai ?
There is also the Jai community library, which contains pretty much all the information about the language currently. https://github.com/Jai-Community/Jai-Community-Library
- The case against an alternative to C
- Will the Jai programming language be better than C/C++?
cppcoro
-
Struggle with C++ 20 Coroutines
PS: Take a look at cppcoro; this might help as well, especially generator<>, if you're looking to generate numbers, and stuff;
-
Does C++23 have a coroutine task promise type?
This is the only viable implementation.
-
Stop Comparing Rust to Old C++
Kind of sounds like whatever library you were using provided leaky abstractions. Something like cppcoro provides really good abstractions for coroutines, the user really doesn't need to understand why any of it works.
-
Sane coroutine imitation with macros; copyable, serializable, and with reflection
Is there a usecase for copying/serializing such coroutines? If not, I would use the normal C++20 coroutines (cppcoro?).
-
Is Tokio::sync::Mutex lock-free?
C++ has the popular CppCoro library. Async_mutex is its equivalent of Tokio::sync::Mutex, providing exclusive access to data shared between tasks.
- My experience with C++ 20 coroutines
-
My thoughts and dreams about a standard user-space I/O scheduler
Because the whole application is running under a single thread there is no need for atomic operations in synchronization primitives(which most of the time requires seq_cst memory order and CMPXCHG which is an expensive instruction in CPU). for example what async_mutex would look like if it knows it's running in a single-threaded scheduler (a non-atomic state variable and waiters queue).
-
[Discussion] What are some old C++ open source projects you wish were still active?
Maybe not old, but I wish cppcoro was still updated. It was such a nice start!
-
A high-level coroutine explanation
You can get generator<> from https://github.com/lewissbaker/cppcoro
-
C++ Coroutines Do Not Spark Joy
It is possible to compose them more easily than described in the article; Lewis Baker's cppcoro library for example provides a recursive_generator<> type[0] that allows this without using any macros. It's up to the library part of coroutines to make things easy, end users are not expected to write low-level coroutine code themselves.
I wonder about the allocation elision. Return value optimization became mandatory, and some compilers can already elide calls to new/delete and malloc()/free() in normal code, so perhaps it will be possible to guarantee allocation elision in the future in the most used cases.
[0]: https://github.com/lewissbaker/cppcoro#recursive_generatort
What are some alternatives?
Odin - Odin Programming Language
libunifex - Unified Executors
v-mode - 🌻 An Emacs major mode for the V programming language.
drogon - Drogon: A C++14/17/20 based HTTP web application framework running on Linux/macOS/Unix/Windows
ocamlunix - Unix system programming in OCaml book
Folly - An open-source C++ library developed and used at Facebook.
conway
C-Coroutines - Coroutines for C.
focus - A simple and fast text editor
Flow - Flow is a software framework focused on ease of use while maximizing performance in closed closed loop systems (e.g. robots). Flow is built on top of C++ 20 coroutines and utilizes modern C++ techniques.
deno_lint - Blazing fast linter for JavaScript and TypeScript written in Rust
coproto - A protocol framework based on coroutines