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


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

C++ compilers today follow a weak memory model

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

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


Contents

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

#3699 — C++ compilers today follow a weak memory model

FromRamine <toto@toto.net>
Date2017-03-17 19:34 -0400
SubjectC++ compilers today follow a weak memory model
Message-ID<oahrlc$jd6$3@dont-email.me>
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.

[toc] | [standalone]


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


csiph-web