Hacker News new | ask | show | jobs
by spacedcowboy 14 days ago
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/