News for hackers. Stuff that matters.
Re:Rust: Not So Great For Codec Implementing by nwmcsween on Wednesday August 02, 2017 @12:58AM (#14908035)
> A language does not need to provide every hardware primitive, just realize that it can't and implement a sane way to support hardware features that don't require abusing a cumbersome macro system and heavy compiler modification.

The information has to somehow be passed to the compiler, your options are: compiler specific features (see gcc attributes, etc), language level (see the fun that becomes with explicit_memset vs. memset) or a really fancy IR that can hold these types of requirements.

Re:Rust: Not So Great For Codec Implementing by davemp on Wednesday August 02, 2017 @05:08PM (#14914662)
You're right, most of these problems stem from companies extending the Garbage C Compiler that encourages abuse of C's awful macro system to cover up its poor decisions.