Something went wrong while setting issue due date.
C or C++
I have stumbled into the issue of C vs C++ with pystencils
. 99% we generate C code. We even would like to use the restrict
keyword, which is only available in C, not in C++ (although many compilers do support it).
I am not sure if we misuse C/C++ at this point. Generally C only would be beneficial, so we can include our kernels in pretty much any language, since any relevant language has a c-ffi.
What would we miss, if we would restrict ourselves on C only?
So far I have found some C++ allocations (#24 (closed)), and std::cout
usage.