I didn’t really like any of them, so I wrote my own :)
I wanted the compiler to automatically parallelise and vectorise my code, because CPUs these days are inherently multicore, and not using the GPGPU seems like a huge waste of resources, so: xc[1] Structured closely to “C with classes”, but has blocks/callbacks as fundamental types and implements ARC to make memory management pretty trivial. Allows 3rd-party libraries without header files by reading the DWARF content of the library, does the auto-detection of data-parallel code etc etc. Docs at the link. 1: https://compile-xc.org/
I tried to get into zig, I did not really feel a need for it give modern C. Rust on the other hand solves a lot of issues with lower level languages like C. So, I use Rust where I can. Otherwise C is always there. For macOS and iOS - Swift.
Comments (28) 27 threads
I wanted the compiler to automatically parallelise and vectorise my code, because CPUs these days are inherently multicore, and not using the GPGPU seems like a huge waste of resources, so: xc[1]
Structured closely to “C with classes”, but has blocks/callbacks as fundamental types and implements ARC to make memory management pretty trivial. Allows 3rd-party libraries without header files by reading the DWARF content of the library, does the auto-detection of data-parallel code etc etc. Docs at the link.
1: https://compile-xc.org/
All comments shown.
Couldn't load more comments. Check your connection and try again.