Defer available in gcc and clang

About a year ago I posted about defer and that it would be available for everyone using gcc and/or clang soon. So it is probably time for an update. Two things have happened in the mean time: A tec…

Jens Gustedt's Blog

-fbounds-safety: Enforcing bounds safety for C

https://clang.llvm.org/docs/BoundsSafety.html

#clang #llvm

-fbounds-safety: Enforcing bounds safety for C — Clang 23.0.0git documentation

oh wait nvm...
it's not the master branch's fault...
sigh...


can someone help me compile nix? i got to the point of running
meson compile -C build -j 8 but it eventually gives this error:

../src/libutil/file-descriptor.cc:116:11: error: no member named 'sync_file_range' in the global namespace 116 | ::sync_file_range(fd, 0, 0, SYNC_FILE_RANGE_WRITE); | ^~~~~~~~~~~~~~~ ../src/libutil/file-descriptor.cc:116:37: error: use of undeclared identifier 'SYNC_FILE_RANGE_WRITE' 116 | ::sync_file_range(fd, 0, 0, SYNC_FILE_RANGE_WRITE); | ^~~~~~~~~~~~~~~~~~~~~ 2 errors generated.#nix #clang #gcc #meson #ninja

RE: https://plasmatrap.com/notes/aisw7vwsyb

Explore Linux development tools like GCC, Make, GDB, Clang, and CMake. Learn how traditional and modern tools enhance build automation, debugging, and performance in C/C++ development workflows.

#gcc #make #gdb #clang #cmake

https://dasroot.net/posts/2026/02/linux-development-tools-gcc-make-gdb-clang-cmake/

Linux Development Tools: gcc, make, gdb, and Modern Alternatives

Explore Linux development tools like GCC, Make, GDB, Clang, and CMake. Learn how traditional and modern tools enhance build automation, debugging, and performance in C/C++ development workflows.

Technical news about AI, coding and all
https://godbolt.org/z/nn967Wdb9

Nova Lake is live on Godbolt. We are still early. I took the latest Clang/GCC trunk for a spin on Godbolt, and
-march=novalake is officially here.

If the rumors hold true, we are looking at the single biggest architectural jump in Intel's history.

With the arrival of Intel APX, the x86-64 ISA is finally getting the modernization it deserves. Several notable things are:

- 16 new GPRs (
%r16 - %r31).
- NDD (New Data Destination): 3-operand instructions help stop wasting cycles on
mov to preserve src/dst registers.
-
push2/pop2: Push and pop two registers at once.
-
jmpabs: 64-bit jumps.
- NF Suppression: Math ops without touching
%rflags.
-
ccmp: Conditional comparisons, branchless code.

Additionally, with the AVX10 support, Intel will officially restore AVX-512 capabilities to its consumer lineup for the first time since Tiger Lake in 2020.

Both P-core and E-core will support AVX-512.

#x86 #x86_64 #apx #llvm #clang #gcc

[$] The first half of the 7.0 merge window

The merge window for Linux 7.0 has opened, and with it comes a number of interesting improvements and enhancements. At the time of writing, there have been 7,695 non-merge commits [...]

https://lwn.net/Articles/1057769/ #LWN #Linux #kernel #Clang #Rust #Git #XFS #BPF #io_uring

Interestingly, when building Pocl with the option to statically link against LLVM 18, the crash can be reproduced by simply running `clinfo -l` (which is the least-intrusive OpenCL-using command you can run, basiclaly) and the error is caused by the good old

: CommandLine Error: Option 'internalize-public-api-file' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options

during the Pocl ICD device numeration.

*sigh*

#llvm #clang #pocl #rusticl #mesa