computecpp-sdk
cdecl
computecpp-sdk | cdecl | |
---|---|---|
1 | 13 | |
311 | 73 | |
- | - | |
0.0 | 9.9 | |
9 months ago | 7 days ago | |
C | C | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 only |
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.
computecpp-sdk
-
SYCL
Codeplay's cmake files define a add_sycl_to_target. With that, it's fairly easy to include the sycl compilation steps into your project, works under both windows and linux.
cdecl
-
Variadic Functions in C
For example, in a program like cdecl, if you get:
-
Career Retrospective
In the mean time, I still enjoy hacking on various projects such as cdecl and writing my programming blog. Aside from computers, I enjoy gardening, cooking, and hope to do some travel.
-
Using assert() for Less Buggy Code
In case you’re wondering, these code snippets are from cdecl.
-
Unions in C
For a larger example, consider cdecl that is a program that can parse a C or C++ declaration (aka, “gibberish”) and explain it in English:
-
An Updated Cdecl — with Macro Expansion
It’s been a while since I first started updating cdecl. From my previous article:
-
C/C++ Preprocessor Macros
I decided to solve problem 6 myself by adding a feature to cdecl that allows you to #define macros as usual and then expand them where cdecl will print the expansion step-by-step as well as warn about things you might not expect. However, that’s a story for another time.
-
Musings on C & C++ Declarations
Additionally, you can use cdecl both to decipher and compose declarations.
-
C++ New Style Casts in C (sort of)
Suppose there’s an API you’re using that allows “user data” to be given. In C, this is usually done by passing your data to a void* parameter, for example when visiting the nodes of a red-black tree. Assume we have a tree where the data we store at each node is:
-
Bit Testing Functions in C
There are many sites giving lots of bit twiddling expressions or functions in C, but none that I've found that give a concise set of bit testing functions, so here is a set I've written. (These are used as part of cdecl.)
-
The Curious Case of the Disappearing “if”
I recently discovered a test-case that crashed cdecl:
What are some alternatives?
oneDPL - oneAPI DPC++ Library (oneDPL) https://software.intel.com/content/www/us/en/develop/tools/oneapi/components/dpc-library.html
data_desk - New version "Metadesk" at https://github.com/Dion-Systems/metadesk
zsync2 - Rewrite of https://github.com/AppImage/zsync-curl, using modern C++, providing both a library and standalone tools.
Cloak - A mini-preprocessor library to demostrate the recursive capabilites of the preprocessor
clinfo - Print all known information about all available OpenCL platforms and devices in the system
subhook - Simple hooking library for C/C++ (x86 only, 32/64-bit, no dependencies)
LVGLBuilder - GUI Builder for littlevgl.
kcgi - minimal CGI and FastCGI library for C/C++
Motion_Control_Examples - Software examples for Thorlabs motion control products (e.g. T-Cube, K-Cube, and benchtop brushless, DC, stepper, and Piezo motor controllers)
bdwgc - The Boehm-Demers-Weiser conservative C/C++ Garbage Collector (bdwgc, also known as bdw-gc, boehm-gc, libgc)