Re:Zig: a system language which prioritizes optimality, safe...
by naasking on Monday August 29, 2016 @07:45AM
(#12381241)
> And as for C not being low-level enough, that was my point - C is as low level as you can be, before you become unportable.
I don't think that's true. You can add first-class support for bitdata [1], much better than C's bit flags and portable, better support for alignment declarations, better/safer support for absolute addresses, native SIMD-like vectors [2], exposing arithmetic carry flags, and more without losing portability.
I don't think that's true. You can add first-class support for bitdata [1], much better than C's bit flags and portable, better support for alignment declarations, better/safer support for absolute addresses, native SIMD-like vectors [2], exposing arithmetic carry flags, and more without losing portability.
[1] http://web.cecs.pdx.edu/~mpj/pubs/bitdata-icfp05.pdf
[2] https://gcc.gnu.org/onlinedocs/gcc/Vector-Extensions.html