Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C

Name: Anonymous 2015-04-07 5:09

C is master race
In your face
gotta go fast
lets have a fucking blast
fuck yeah c

Name: Anonymous 2015-04-12 23:17

>>25
C is used in high performance applications as well;
Yeah with intrinsics and implementation specific apis.
excuse the lack of reliable standardization at higher ones. Many applications stand to benefit from this.
What are you gonna standardize?
Vector registers have different sizes, certain instruction sets support certain operations (horizontal vs vertical arithmetic for example), some are good at shuffles, others are better suited for synthesizes constants or data moves directly.
Some architectures have write combining memory or temporal hints, some have deprecated the use of these hints because the hardware are better at handling itself.

C11 improves the situation somewhat in the case of threads but practically speaking people are unsure how well the semantics will work when applied to things like MMIO devices.
That should tell you something of how useless it is to standardize.
Java went for full sequential consistency, but that is shit tier for architectures like powerpc and armv7 and older which only has very heavy weight synchronization for targeting seq consistency, and x86 guarantees acquire/release for aligned word sized loads/stores so memory barriers are unnecessary or the most part.

Compiler intrinsics is the way to handle this mess, and good C implementations has that down nicely.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List