Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming.threads > #3701 > unrolled thread

Here is how to understand C++ compilers..

Started byRamine <toto@toto.net>
First post2017-03-17 19:57 -0400
Last post2017-03-17 19:57 -0400
Articles 1 — 1 participant

Back to article view | Back to comp.programming.threads


Contents

  Here is how to understand C++ compilers.. Ramine <toto@toto.net> - 2017-03-17 19:57 -0400

#3701 — Here is how to understand C++ compilers..

FromRamine <toto@toto.net>
Date2017-03-17 19:57 -0400
SubjectHere is how to understand C++ compilers..
Message-ID<oahsvg$n40$3@dont-email.me>
Hello....


Here is how to understand C++ compilers..

I have written this, read it carefully:

====
C++ compilers today follow a weak memory model  and this is error prone 
when you want to reason about sequential consistency when doing parallel 
programming.

But Delphi and FreePascal compilers don't reorder loads and stores,
so it is less error prone than C++ on a strong memory model of x86 
architecture and on strong memory model of ARM architecture.

This is why i am using Delphi and Freepascal Dynamic Link Libraries
from C++ compilers.
===


Now you have understood the philosophy of C and C++ compilers,
it's that they give much more priviledge to speed than to security, they 
look like assembler compilers in this regard, this is why they follow a 
weak memory model that is more error prone than Delphi and FreePascal 
compilers.


Thank you,
Amine Moulay Ramdane.

[toc] | [standalone]


Back to top | Article view | comp.programming.threads


csiph-web