#llvm — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #llvm, aggregated by home.social.
-
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.
https://briancallahan.net/blog/20260811.html
#freebsd #netbsd #dragonflybsd #bsd #linux #unix #solaris #illumos #compiler #compilers #llvm #gcc #rop #cybersecurity #cybersec #cyber #security #infosec #informationsecurity
-
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.
https://briancallahan.net/blog/20260811.html
#freebsd #netbsd #dragonflybsd #bsd #linux #unix #solaris #illumos #compiler #compilers #llvm #gcc #rop #cybersecurity #cybersec #cyber #security #infosec #informationsecurity
-
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.
-
New documentation theme in #LLVM! LangRef looks much nicer now :)
-
New documentation theme in #LLVM! LangRef looks much nicer now :)
-
🤓 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! 💻🔧
https://fuselang.org #Polymorphism #Programming #Humor #HackerNews #ngated -
🤓 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! 💻🔧
https://fuselang.org #Polymorphism #Programming #Humor #HackerNews #ngated -
We accidentally built an LLVM compiler for Jax
https://iza.ac/posts/2026/07/accidental-llvm-compiler-for-jax/
-
We accidentally built an LLVM compiler for Jax
https://iza.ac/posts/2026/07/accidental-llvm-compiler-for-jax/
-
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. 🧶
https://iza.ac/posts/2026/07/accidental-llvm-compiler-for-jax/ #quantumcomputing #softwaredevelopment #innovation #humor #HackerNews #ngated -
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. 🧶
https://iza.ac/posts/2026/07/accidental-llvm-compiler-for-jax/ #quantumcomputing #softwaredevelopment #innovation #humor #HackerNews #ngated -
We accidentally built an LLVM compiler for Jax
https://iza.ac/posts/2026/07/accidental-llvm-compiler-for-jax/
Comments: https://news.ycombinator.com/item?id=49117303
#HackerNews #LLVM #Jax #compiler #accidental #innovation #technews #programming
-
We accidentally built an LLVM compiler for Jax
https://iza.ac/posts/2026/07/accidental-llvm-compiler-for-jax/
Comments: https://news.ycombinator.com/item?id=49117303
#HackerNews #LLVM #Jax #compiler #accidental #innovation #technews #programming
-
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
-
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
-
LLVM toolchain coming to OpenBSD/sparc64 https://www.undeadly.org/cgi?action=article;sid=20260730130302 #openbsd #llvm #clang #sparc64 #development #compilers #libresoftware #freesoftware
-
LLVM toolchain coming to OpenBSD/sparc64 https://www.undeadly.org/cgi?action=article;sid=20260730130302 #openbsd #llvm #clang #sparc64 #development #compilers #libresoftware #freesoftware
-
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.
-
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.
-
[$] 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 [...]
https://lwn.net/Articles/1083202/ #LWN #Linux #kernel #GCC #LLVM #Rust #Git
-
[$] 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 [...]
https://lwn.net/Articles/1083202/ #LWN #Linux #kernel #GCC #LLVM #Rust #Git
-
[Перевод] Доверьтесь компилятору: C++23 против трюков из 90-х
Как часто вы слышали: «Не доверяй компилятору, пиши вручную»? Похоже, эту идеологию пора сдавать в архив. Автор специально собрал примеры, в которых «умный» код современного C++ либо проигрывает наивному, либо не даёт выигрыша, но при этом ухудшает читаемость и мешает оптимизатору. Тут и легендарный Q_rsqrt , и бит-хаки для подсчёта единичек, и вездесущие const& , и даже опасные фокусы с фильтрацией диапазонов. Всё с воспроизводимыми бенчмарками на Clang 21 и Ryzen 9. Если вы готовы пересмотреть багаж старых привычек – просим под кат.
https://habr.com/ru/companies/timeweb/articles/1061248/
#C++ #C++20 #C++23 #LLVM #GCC #SIMD #SSE #ARM #timeweb_статьи_перевод
-
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
-
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
-
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.externrefnew 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)justexternref.externrefis 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
externrefcompletely? LLVM#136594I though I'd just see what would happen if
nonnullattribute 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(inaddLlvmFunctionAttributesandaddByValParamAttrs) got the output result todeclare 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.
-
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.externrefnew 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)justexternref.externrefis 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
externrefcompletely? LLVM#136594I though I'd just see what would happen if
nonnullattribute 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(inaddLlvmFunctionAttributesandaddByValParamAttrs) got the output result todeclare 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.
-
Rust 1.97.0のsegfaultを7命令まで読む — 10リリース潜伏したミスコンパイルの解剖
https://qiita.com/ryuhei-kiso/items/93a86fc17b4f55125571?utm_campaign=popular_items&utm_medium=feed&utm_source=popular_items -
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. 🐐💻
https://chipsandcheese.com/p/scrying-the-amd-gfx1250-llvm-tea #AMD #LLVM #TechHumor #CrystalBall #HackerNews #ngated -
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. 🐐💻
https://chipsandcheese.com/p/scrying-the-amd-gfx1250-llvm-tea #AMD #LLVM #TechHumor #CrystalBall #HackerNews #ngated -
Scrying the AMD GFX1250 LLVM Tea Leaves
https://chipsandcheese.com/p/scrying-the-amd-gfx1250-llvm-tea
Comments: https://news.ycombinator.com/item?id=48965161
#HackerNews #AMD #GFX1250 #LLVM #Tea #Leaves #Scrying #TechNews
-
Scrying the AMD GFX1250 LLVM Tea Leaves
https://chipsandcheese.com/p/scrying-the-amd-gfx1250-llvm-tea
Comments: https://news.ycombinator.com/item?id=48965161
#HackerNews #AMD #GFX1250 #LLVM #Tea #Leaves #Scrying #TechNews
-
Scrying the AMD GFX1250 LLVM Tea Leaves
https://chipsandcheese.com/p/scrying-the-amd-gfx1250-llvm-tea
-
Scrying the AMD GFX1250 LLVM Tea Leaves
https://chipsandcheese.com/p/scrying-the-amd-gfx1250-llvm-tea
-
From the #Turso project: "We're building #Postgres in Rust. Using the #LLVM of databases"
https://turso.tech/blog/a-new-modern-version-of-postgres-in-rust
-
From the #Turso project: "We're building #Postgres in Rust. Using the #LLVM of databases"
https://turso.tech/blog/a-new-modern-version-of-postgres-in-rust
-
Hmm, so gfortran (part of the gcc suite) now has slop in it.
https://slopscan.ava.pet/repo/https%3A%2F%2Fgcc%2Egnu%2Eorg%2Fgit%2Fgcc
Of course it's got a long way to catch up to LLVM…
https://slopscan.ava.pet/repo/https%3A%2F%2Fgithub%2Ecom%2Fllvm%2Fllvm%2Dproject
Given Zig uses LLVM, I wonder where that puts them?
-
Hmm, so gfortran (part of the gcc suite) now has slop in it.
https://slopscan.ava.pet/repo/https%3A%2F%2Fgcc%2Egnu%2Eorg%2Fgit%2Fgcc
Of course it's got a long way to catch up to LLVM…
https://slopscan.ava.pet/repo/https%3A%2F%2Fgithub%2Ecom%2Fllvm%2Fllvm%2Dproject
Given Zig uses LLVM, I wonder where that puts them?
-
We have another #LLVM #Meetup #Darmstadt https://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!
-
We have another #LLVM #Meetup #Darmstadt https://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!
-
[$] 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 [...]
-
[$] 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 [...]
-
🚀 Android NDK r30 Beta 2 is here!
Highlights:
✅ LLVM updated to clang-r574158b
🐛 Compiler & LTO fixes
🔍 Better LLDB debugging
⚡ Improved ARM dot product code generationDetails: https://github.com/android/ndk/releases/tag/r30-beta2
-
Some of our #OpenBSD anti-ROP #research ended up on lobsters: https://lobste.rs/s/xclcel/final_return_for_openbsd_anti_return
#BSD #FreeBSD #NetBSD #DragonFlyBSD #Linux #Unix #Illumos #compiler #compilers #GCC #LLVM #Clang
-
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."
https://cacm.acm.org/federal-funding-of-academic-research/the-llvm-compiler-infrastructure/
-
The LLVM Compiler Infrastructure
https://cacm.acm.org/federal-funding-of-academic-research/the-llvm-compiler-infrastructure/
-
LLVM Foundation is seeking new board members, applications are open through July 15th: https://discourse.llvm.org/t/llvm-foundation-seeking-new-board-members-apply-by-july-15/91074