2 ms·
The said library is a bit farther away from the C that is widely available. It relies on C23 features, GNU statement expression, GNU nested function, sanitizer
by fuhsnn 1y ago
The said library is a bit farther away from the C that is widely available. It relies on C23 features, GNU statement expression, GNU nested function, sanitizer runtimes, VLA types and a very niche pattern of sizeof executing its statement-expression argument; only platforms that provide latest GCC/Clang would be able to use this.
- uecker 1y agoIn the library I experiment with various things, and C23 and nested functions are not really required. And for running the code, it only relies on GNU statement expression. For bounds checking, you need need the sanitizers. Overall, it is still far more portable than C++ or any other new language.
- throw-qqqqq 1y agoFair point. I did not notice that. Most C-only compilers only support C99 or a subset thereof