mastodontech.de ist einer von vielen unabhängigen Mastodon-Servern, mit dem du dich im Fediverse beteiligen kannst.
Offen für alle (über 16) und bereitgestellt von Markus'Blog

Serverstatistik:

1,4 Tsd.
aktive Profile

#ordering

0 Beiträge0 Beteiligte0 Beiträge heute
Felix Palmen :freebsd: :c64:<p>I recently took a dive into <a href="https://mastodon.bsd.cafe/tags/C11" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>C11</span></a> <a href="https://mastodon.bsd.cafe/tags/atomics" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>atomics</span></a> to come up with alternative queue implementations not requiring locking some <a href="https://mastodon.bsd.cafe/tags/mutex" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>mutex</span></a>.</p><p>TBH, I have a hard time understanding the <a href="https://mastodon.bsd.cafe/tags/memory" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>memory</span></a> <a href="https://mastodon.bsd.cafe/tags/ordering" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ordering</span></a> constraints defined by C11. I mean, I code <a href="https://mastodon.bsd.cafe/tags/assembler" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>assembler</span></a> on a <a href="https://mastodon.bsd.cafe/tags/mos6502" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>mos6502</span></a> (for the <a href="https://mastodon.bsd.cafe/tags/c64" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>c64</span></a>), so caches, pipelines and all that modern crap is kind of alien rocket science anyways 😆.</p><p>But seriously, they try to abstract from what the hardware provides (different kinds of memory barrier instructions, IMHO somewhat easier to understand), so the compiler can pick the appropriate one depending on the target CPU. But wrapping your head around their definition really hurts the brain 🙈.</p><p>Yesterday, I found a source telling me that <a href="https://mastodon.bsd.cafe/tags/amd64" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>amd64</span></a> (or <a href="https://mastodon.bsd.cafe/tags/x86" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>x86</span></a> in general?) always has strong ordering for reads, so no matter which oderding constraint you put in your atomic_load and friends, the compiler will generate the same code and it will work. Oh boy, how should I ever verify my code works on e.g. aarch64 without owning such hardware?</p>
China Business Forum<p>International <a href="https://mstdn.business/tags/Fashion" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Fashion</span></a> <a href="https://mstdn.business/tags/Digitalization" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Digitalization</span></a> Exhibition is a one-stop professional platform which offers smart R&amp;D products, smart <a href="https://mstdn.business/tags/ordering" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ordering</span></a>, and smart <a href="https://mstdn.business/tags/manufacturing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>manufacturing</span></a>. 21.-23. March, 2024. <a href="https://mstdn.business/tags/Shaoxing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Shaoxing</span></a> International Convention and <a href="https://mstdn.business/tags/Exhibition" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Exhibition</span></a> Center, <a href="https://mstdn.business/tags/China" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>China</span></a>. <a href="https://cnbusinessforum.com/event/international-fashion-digitalization-exhibition/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">cnbusinessforum.com/event/inte</span><span class="invisible">rnational-fashion-digitalization-exhibition/</span></a></p>
China Business Forum<p>The 7th International Textile <a href="https://mstdn.business/tags/SupplyChain" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SupplyChain</span></a> <a href="https://mstdn.business/tags/Industry" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Industry</span></a> <a href="https://mstdn.business/tags/Expo" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Expo</span></a> is a popular trade show which offers products and services such as smart <a href="https://mstdn.business/tags/ordering" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ordering</span></a>, smart <a href="https://mstdn.business/tags/manufacturing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>manufacturing</span></a>, <a href="https://mstdn.business/tags/textile" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>textile</span></a> chemical auxiliaries, and <a href="https://mstdn.business/tags/printing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>printing</span></a> equipment and accessories. 21.-23. March, 2024. <a href="https://mstdn.business/tags/Shaoxing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Shaoxing</span></a> International Convention and <a href="https://mstdn.business/tags/Exhibition" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Exhibition</span></a> Center, <a href="https://mstdn.business/tags/China" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>China</span></a>. <a href="https://cnbusinessforum.com/event/the-7th-international-textile-supply-chain-industry-expo/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">cnbusinessforum.com/event/the-</span><span class="invisible">7th-international-textile-supply-chain-industry-expo/</span></a></p>