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


Groups > comp.programming.threads > #3701

Here is how to understand C++ compilers..

From Ramine <toto@toto.net>
Newsgroups comp.programming.threads
Subject Here is how to understand C++ compilers..
Date 2017-03-17 19:57 -0400
Organization A noiseless patient Spider
Message-ID <oahsvg$n40$3@dont-email.me> (permalink)

Show all headers | View raw


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.

Back to comp.programming.threads | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web