If you are using clang-format in any of your projects, this might be useful to apply complex .clang-format rules as you type rather than after-the-fact.
This is huge. I’ve been bullish on RISC-V from the beginning but this is happening even faster than I expected. Between IT Sovereignty and geopolitics involving access to global supply chains, hyperspecialization of algorithms to hw, etc., it’s about to get really interesting.*
We’re one generation from the tech hacking culture of cyberpunk fiction.
HW heterogeneity will be mediated by LLVM and WebAssembly.
@thelastpsion cool! I haven't used it much instead of C++ but it is great that it doesn't depend on a complicated compiler like #GCC or #LLVM and still does quite well.
> add LLVM CFI and cross-language LLVM CFI (and LLVM KCFI and cross-language LLVM KCFI) to the Rust compiler as part of our work in the Rust Exploit Mitigations Project Group. This is the first cross-language, fine-grained, forward-edge control flow protection implementation for mixed-language binaries that we know of.
revng is a static binary translator. Given a input ELF binary for one of the supported architectures (currently i386, x86-64, MIPS, ARM, AArch64 and s390x) it will analyze it and emit an equivalent LLVM IR. To do so, revng employs the QEMU intermediate representation (a series of TCG instructions) and then translates them to #LLVM IR.
Back to work on packaging @hare for @fedora, let's see how much I can bang out in a few hours. The resulting artifacts are going to be fairly simple, but not particularly packager friendly. That's a day-2 project.
New cross-compile meta packages for #GNU and #LLVM dependencies.
I've created a convenience script, harex, to switch to non-GNU toolsets. Just set HARE_XCOMPILE_TOOLCHAIN to "llvm". User specified env vars will still be respected.
Gosh, I love #Libretto’s so much but they’re basically unobtainium at this point and becoming ever more fragile. https://youtu.be/xfMrqJwuMX8
I like trying to find the balance between minimal and usable in old tech. I have a beautiful Dell X200 which just straddles the line of obsolete and modern as even though it’s an 800MHz PIII it can connect to WiFi and run a browser barely new enough to access the web. #RetroComputing
Have you ever tried to compile an old piece of software that first required compiling an old compiler which itself required an old environment that you can't reproduce? #GCC & #LLVM all work within very narrow bands of time, platforms and environments that shift constantly, meaning that the aparant portability of C/C++ is unusable in practice for any non-current OS. #retrocomputing#cpp