|
You are here |
zig.godbolt.org | ||
| | | | |
miyuki.github.io
|
|
| | | | | [AI summary] The author details the process of building and using an old version of the GNU C Compiler (GCC 1.27) on a modern system, highlighting compatibility challenges and successful bootstrapping. | |
| | | | |
renato.athaydes.com
|
|
| | | | | [AI summary] The blog post discusses running WebAssembly (WASM) on the JVM using the asmble compiler and Gradle plugin, highlighting its potential and challenges compared to traditional methods like Emscripten. | |
| | | | |
gcc.godbolt.org
|
|
| | | | | struct RC { size_t s; size_t w; }; void init_zero(RC& rc) { rc.s = 0; rc.w = 0; } void init_one(RC& rc) { rc.s = 1; rc.w = 1; } void dealloc(); void dec_zero_exact(std::atomic<size_t>& c) { if (0 == c.fetch_sub(1, std::memory_order_acq_rel)) { dealloc(); } } void dec_zero_less(std::atomic<size_t>& c) { using ssize_t = std::make_signed_t<size_t>; if (0 >= static_cast<ssize_t>(c.fetch_sub(1, std::memory_order_acq_rel))) { dealloc(); } } void dec_one(std::atomic<size_t>& c) { if (1 == c.fetch_sub(1, std::memory_order_acq_rel)) { dealloc(); } } | |
| | | | |
schadokar.dev
|
|
| | | In this post, I will try to document the different ways to run the javascript code. | ||