News for hackers. Stuff that matters.
Re:C compiler for Web Assembly (c4wa) by b0a04gl on Saturday June 28, 2025 @06:39AM (#44403697)
one wierd connection i realised later now, > volatile in c was for blocking reorders, forcing real mem reads, esp mmio or sync operations. wasm runs singlethreaded, no fences unless you go atomic. so compiler keeps volatile loads yeah, but wasm runtime ain't bound to order. it runs but doesn't mean anything. semantics gone. still compiles

There are no comments on this comment yet.