home.social

#llvm — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #llvm, aggregated by home.social.

fetched live
  1. A wild #blog post appears!

    I discuss a new #research publication: an empirical evaluation of the #OpenBSD -fret-clean flag. We examine the history of the mitigation, measure its costs, and deliberate whether or not it is worth keeping.

    Worth the read if you like security and/or compilers.

    briancallahan.net/blog/2026081

    #freebsd #netbsd #dragonflybsd #bsd #linux #unix #solaris #illumos #compiler #compilers #llvm #gcc #rop #cybersecurity #cybersec #cyber #security #infosec #informationsecurity

  2. A wild #blog post appears!

    I discuss a new #research publication: an empirical evaluation of the #OpenBSD -fret-clean flag. We examine the history of the mitigation, measure its costs, and deliberate whether or not it is worth keeping.

    Worth the read if you like security and/or compilers.

    briancallahan.net/blog/2026081

    #freebsd #netbsd #dragonflybsd #bsd #linux #unix #solaris #illumos #compiler #compilers #llvm #gcc #rop #cybersecurity #cybersec #cyber #security #infosec #informationsecurity

  3. I'm thinking of toying with RPython and #LLVM in the future.

    RPython lets you create a dynamically typed interpreted language with a #JIT. It could be cool to port #Lox to this.

    LLVM, which I've heard is really difficult, actually has a tutorial where you can follow along in creating a frontend for a programming language that runs on it, I definitely want to do that.

  4. 🤓 Ah, #Fuse, yet another #language that only a mother could love, serving up a cocktail of #higher-kinded gibberish and polymorphic salad 🥗. It's like someone put Haskell and a Rubik's Cube in a blender, and out came this #LLVM smoothie 🍹. Only the bravest nerds with a penchant for masochism need apply! 💻🔧
    fuselang.org #Polymorphism #Programming #Humor #HackerNews #ngated

  5. 🤓 Ah, #Fuse, yet another #language that only a mother could love, serving up a cocktail of #higher-kinded gibberish and polymorphic salad 🥗. It's like someone put Haskell and a Rubik's Cube in a blender, and out came this #LLVM smoothie 🍹. Only the bravest nerds with a penchant for masochism need apply! 💻🔧
    fuselang.org #Polymorphism #Programming #Humor #HackerNews #ngated

  6. Somehow, while trying to revolutionize quantum computing, these geniuses "accidentally" whipped up an #LLVM compiler for #JAX, because why not? 😏 It's like intending to bake a cake and ending up with a new species of cake-eating llamas. 🦙🍰 Clearly, this is what happens when you let software developers near a yak. 🧶
    iza.ac/posts/2026/07/accidenta #quantumcomputing #softwaredevelopment #innovation #humor #HackerNews #ngated

  7. Somehow, while trying to revolutionize quantum computing, these geniuses "accidentally" whipped up an #LLVM compiler for #JAX, because why not? 😏 It's like intending to bake a cake and ending up with a new species of cake-eating llamas. 🦙🍰 Clearly, this is what happens when you let software developers near a yak. 🧶
    iza.ac/posts/2026/07/accidenta #quantumcomputing #softwaredevelopment #innovation #humor #HackerNews #ngated

  8. Successfully ported the complete #LLVM stack (version 19.1.7, including llvm's binutils, clang, ldd) to #Solaris 11 Express (snv_151a) #SPARC. This build of #Solaris works on #SPARC machines that Solaris 11 GA (and later) do not support (example: sun4u workstations and servers), as well as machines that #Illumos does not support completely. This may allow for #Zig and #Rust to be ported to this version of Solaris on SPARC. Complete source archives, build instructions, and signed binaries in SVR4 package format (and soon, IPS) will be available for download. #Solaris #SPARC #retrocomputing #Illumos #Sunmicrosystems

    CC: @ptribble @SolarisDiaspora

  9. Successfully ported the complete #LLVM stack (version 19.1.7, including llvm's binutils, clang, ldd) to #Solaris 11 Express (snv_151a) #SPARC. This build of #Solaris works on #SPARC machines that Solaris 11 GA (and later) do not support (example: sun4u workstations and servers), as well as machines that #Illumos does not support completely. This may allow for #Zig and #Rust to be ported to this version of Solaris on SPARC. Complete source archives, build instructions, and signed binaries in SVR4 package format (and soon, IPS) will be available for download. #Solaris #SPARC #retrocomputing #Illumos #Sunmicrosystems

    CC: @ptribble @SolarisDiaspora

  10. Have been making an effort to review more on #LLVM, and my reviewed-to-landed factor has finally gone up to 3! There's still a lot of room for improvement.

  11. Have been making an effort to review more on #LLVM, and my reviewed-to-landed factor has finally gone up to 3! There's still a lot of room for improvement.

  12. [$] Progress toward compiling Linux with gccrs

    The gccrs project, which is creating a Rust frontend for the GCC compiler, has spent the first half of 2026 focusing on compiling the Linux kernel. By testing the compiler against [...]

    lwn.net/Articles/1083202/ #LWN #Linux #kernel #GCC #LLVM #Rust #Git

  13. [$] Progress toward compiling Linux with gccrs

    The gccrs project, which is creating a Rust frontend for the GCC compiler, has spent the first half of 2026 focusing on compiling the Linux kernel. By testing the compiler against [...]

    lwn.net/Articles/1083202/ #LWN #Linux #kernel #GCC #LLVM #Rust #Git

  14. [Перевод] Доверьтесь компилятору: C++23 против трюков из 90-х

    Как часто вы слышали: «Не доверяй компилятору, пиши вручную»? Похоже, эту идеологию пора сдавать в архив. Автор специально собрал примеры, в которых «умный» код современного C++ либо проигрывает наивному, либо не даёт выигрыша, но при этом ухудшает читаемость и мешает оптимизатору. Тут и легендарный Q_rsqrt , и бит-хаки для подсчёта единичек, и вездесущие const& , и даже опасные фокусы с фильтрацией диапазонов. Всё с воспроизводимыми бенчмарками на Clang 21 и Ryzen 9. Если вы готовы пересмотреть багаж старых привычек – просим под кат.

    habr.com/ru/companies/timeweb/

    #C++ #C++20 #C++23 #LLVM #GCC #SIMD #SSE #ARM #timeweb_статьи_перевод

  15. Fedora 45 continua a evolversi con cambiamenti che puntano su sicurezza, manutenzione e prestazioni. Ecco cosa cambierà nella prossima versione. #Fedora #Linux #OpenSource #Kernel #LLVM


    linuxeasy.org/fedora-45-prepar

  16. Fedora 45 continua a evolversi con cambiamenti che puntano su sicurezza, manutenzione e prestazioni. Ecco cosa cambierà nella prossima versione. #Fedora #Linux #OpenSource #Kernel #LLVM


    linuxeasy.org/fedora-45-prepar

  17. The other day I sat down to play around with WASM (Web ASM), via #Zig / #LLVM. Partly side tracked along the way.

    Generated a small web module that with a quick webserver python3 -m http.server + html file loads the module. Pretty happy with the immediate results.

    I learn then about an existing built-in for Javascript strings { builtins: ['js-string'] }. Though to myself, lets play around with it. Hmm .externref new feature. Built an upstream Zig version from 14-July (re: Zig#31190 ) which includes the additional address space. Just so it's possible to go *addrspace(.externref) opaque { }. Nice.

    Hmm. Optional pointers don't work (well sort of). Looking at the WAT signature of the substring (wasm2wat) . func substring(string: externref, start: i32, end: i32) -> (ref extern). I didn't see a (ref extern) just externref.
    externref is an alias for (ref null extern) where as the return type is (ref extern). So all pointers are treated as nullable. We need to be able to specify that it's non-null when the extern fn is generated. WASM signature validator won't pass otherwise.

    Did you know that LLVM doesn't model externref completely? LLVM#136594

    I though I'd just see what would happen if nonnull attribute was attached in the LLVM-IR fn definition. The docs do state that "This is not checked or enforced" but I thought lets just give it a try.

    Having a debug copy of the Zig compiler makes it easy to check the IR. A few small changes in src/codegen/llvm.zig (in addLlvmFunctionAttributes and addByValParamAttrs) got the output result to declare nonnull ptr addrspace(10) @"...... As expected LLVM doesn't output WASM with the right ref tags. There may be another way, but I'd need to look closer at LLVM to trace some of it's behaviour.

    Still, a journey and a half exploring Zig and the LLVM codebase.

  18. The other day I sat down to play around with WASM (Web ASM), via #Zig / #LLVM. Partly side tracked along the way.

    Generated a small web module that with a quick webserver python3 -m http.server + html file loads the module. Pretty happy with the immediate results.

    I learn then about an existing built-in for Javascript strings { builtins: ['js-string'] }. Though to myself, lets play around with it. Hmm .externref new feature. Built an upstream Zig version from 14-July (re: Zig#31190 ) which includes the additional address space. Just so it's possible to go *addrspace(.externref) opaque { }. Nice.

    Hmm. Optional pointers don't work (well sort of). Looking at the WAT signature of the substring (wasm2wat) . func substring(string: externref, start: i32, end: i32) -> (ref extern). I didn't see a (ref extern) just externref.
    externref is an alias for (ref null extern) where as the return type is (ref extern). So all pointers are treated as nullable. We need to be able to specify that it's non-null when the extern fn is generated. WASM signature validator won't pass otherwise.

    Did you know that LLVM doesn't model externref completely? LLVM#136594

    I though I'd just see what would happen if nonnull attribute was attached in the LLVM-IR fn definition. The docs do state that "This is not checked or enforced" but I thought lets just give it a try.

    Having a debug copy of the Zig compiler makes it easy to check the IR. A few small changes in src/codegen/llvm.zig (in addLlvmFunctionAttributes and addByValParamAttrs) got the output result to declare nonnull ptr addrspace(10) @"...... As expected LLVM doesn't output WASM with the right ref tags. There may be another way, but I'd need to look closer at LLVM to trace some of it's behaviour.

    Still, a journey and a half exploring Zig and the LLVM codebase.

  19. Ah, the ancient art of deciphering AMD's crystal ball via LLVM—because who needs a clear roadmap when you can have a thrilling guessing game instead? 🔮✨ And remember, folks, enabling #JavaScript and cookies is the modern-day equivalent of sacrificing a goat to the tech gods. 🐐💻
    chipsandcheese.com/p/scrying-t #AMD #LLVM #TechHumor #CrystalBall #HackerNews #ngated

  20. Ah, the ancient art of deciphering AMD's crystal ball via LLVM—because who needs a clear roadmap when you can have a thrilling guessing game instead? 🔮✨ And remember, folks, enabling #JavaScript and cookies is the modern-day equivalent of sacrificing a goat to the tech gods. 🐐💻
    chipsandcheese.com/p/scrying-t #AMD #LLVM #TechHumor #CrystalBall #HackerNews #ngated

  21. We have another #LLVM #Meetup #Darmstadt meetu.ps/e/Q8vqW/ZJC7X/i coming up on July 29th at 7pm

    Benedikt Talks about inserting no-ops for fun and profit. Catch you there!

    #Compilers
    @llvmweekly @llvm

  22. We have another #LLVM #Meetup #Darmstadt meetu.ps/e/Q8vqW/ZJC7X/i coming up on July 29th at 7pm

    Benedikt Talks about inserting no-ops for fun and profit. Catch you there!

    #Compilers
    @llvmweekly @llvm

  23. [$] QBE 1.3: metaprogramming, performance, and cross-platform support

    QBE, a compact compiler backend developed by Quentin Carbonneaux, is a lightweight alternative to larger compiler backends such as LLVM and GCC. Designed to be small enough for a s [...]

    lwn.net/Articles/1080519/ #LWN #Linux #GCC #LLVM

  24. [$] QBE 1.3: metaprogramming, performance, and cross-platform support

    QBE, a compact compiler backend developed by Quentin Carbonneaux, is a lightweight alternative to larger compiler backends such as LLVM and GCC. Designed to be small enough for a s [...]

    lwn.net/Articles/1080519/ #LWN #Linux #GCC #LLVM

  25. 🚀 Android NDK r30 Beta 2 is here!

    Highlights:
    ✅ LLVM updated to clang-r574158b
    🐛 Compiler & LTO fixes
    🔍 Better LLDB debugging
    ⚡ Improved ARM dot product code generation

    Details: github.com/android/ndk/release

    #Android #AndroidDev #NDK #LLVM #Clang #CPP

  26. Interesting look at how this compiler came about.

    "LLVM-generated code is used every day by billions of people on billions of devices—an outcome that can be clearly traced to research funded by the U.S. National Science Foundation (NSF) starting in the year 2000."

    cacm.acm.org/federal-funding-o

    #Compilers #LLVM #Technology #Computers