Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming.threads > #3701 > unrolled thread
| Started by | Ramine <toto@toto.net> |
|---|---|
| First post | 2017-03-17 19:57 -0400 |
| Last post | 2017-03-17 19:57 -0400 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.programming.threads
Here is how to understand C++ compilers.. Ramine <toto@toto.net> - 2017-03-17 19:57 -0400
| From | Ramine <toto@toto.net> |
|---|---|
| Date | 2017-03-17 19:57 -0400 |
| Subject | Here 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.
Back to top | Article view | comp.programming.threads
csiph-web