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


Groups > comp.programming.threads > #3699

C++ compilers today follow a weak memory model

From Ramine <toto@toto.net>
Newsgroups comp.programming.threads
Subject C++ compilers today follow a weak memory model
Date 2017-03-17 19:34 -0400
Organization A noiseless patient Spider
Message-ID <oahrlc$jd6$3@dont-email.me> (permalink)

Show all headers | View raw


Hello.....


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 os 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.


Thank you,
Amine Moulay Ramdane.

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


Thread

C++ compilers today follow a weak memory model Ramine <toto@toto.net> - 2017-03-17 19:34 -0400

csiph-web