4 ms·
Yes. And C can also be used with Python and Rust. That does not make this a Rust library.
by bregma 2y ago
Yes. And C can also be used with Python and Rust. That does not make this a Rust library.
- dsego 2y agoRight, but C++ started as an extension of C and is mostly compatible and historically you could compile C with the C++ compiler. I don't think it's a good comparison.
- codetrotter 2y agoZig can compile C. That makes this C/C++/Zig library. Right? :^)
- jcelerier 2y ago> historically you could compile C with the C++ compiler. not any C, only the C++-compatible subset. int* foo = malloc(sizeof(int)); has never worked in C++ for instance while it's valid C. Code that worked is code that people actually did effort to express in a way compatible with a C++ compiler.