#cranelift — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #cranelift, aggregated by home.social.
-
"This article will highlight the ways we are ensuring correctness in the #Wasmtime #WebAssembly runtime and in its compiler, #cranelift "
https://bytecodealliance.org/articles/security-and-correctness-in-wasmtime
-
"This article will highlight the ways we are ensuring correctness in the #Wasmtime #WebAssembly runtime and in its compiler, #cranelift "
https://bytecodealliance.org/articles/security-and-correctness-in-wasmtime
-
"This article will highlight the ways we are ensuring correctness in the #Wasmtime #WebAssembly runtime and in its compiler, #cranelift "
https://bytecodealliance.org/articles/security-and-correctness-in-wasmtime
-
"This article will highlight the ways we are ensuring correctness in the #Wasmtime #WebAssembly runtime and in its compiler, #cranelift "
https://bytecodealliance.org/articles/security-and-correctness-in-wasmtime
-
"This article will highlight the ways we are ensuring correctness in the #Wasmtime #WebAssembly runtime and in its compiler, #cranelift "
https://bytecodealliance.org/articles/security-and-correctness-in-wasmtime
-
The acyclic e-graph: Cranelift's mid-end optimizer
https://cfallin.org/blog/2026/04/09/aegraph/
#HackerNews #acyclicgraph #Cranelift #optimizer #programming #Rustlang #technews
-
A Function Inliner for Wasmtime and Cranelift, https://fitzgen.com/2025/11/19/inliner.html.
A great article about the new function inliner inside Cranelift. The article mentions a nice algorithm to partially keep parallelism during the compilation time for the inliner (that’s the most interesting part).
-
Profiled my JIT Rust aarch64 emulator:
- Around 7-8% of time is spent executing translated guest code
- #cranelift codegen takes 45.7% of time
- its register allocator, regalloc, takes an additional 19%
- Basic runtime logic such as MMU virtual address translation takes only 2% (with TLB caching)This results in taking almost 40 seconds to boot to Linux prompt. QEMU takes a few seconds.
Replacing the JIT is tempting...
-
📅 In an absolutely riveting journey through the Go compiler's underbelly, one brave soul dares to wade through the treacherous swamps of *source code* to reveal that—surprise—documentation is apparently optional in 2024 🧐. Meanwhile, #LLVM and #Cranelift sip tea as they bask in their luxurious piles of clear, accessible #documentation 📜💁♂️.
https://vnmakarov.github.io/2024/09/24/register-allocation-in-the-go-compiler.html #GoCompiler #SourceCode #HackerNews #ngated -
📅 In an absolutely riveting journey through the Go compiler's underbelly, one brave soul dares to wade through the treacherous swamps of *source code* to reveal that—surprise—documentation is apparently optional in 2024 🧐. Meanwhile, #LLVM and #Cranelift sip tea as they bask in their luxurious piles of clear, accessible #documentation 📜💁♂️.
https://vnmakarov.github.io/2024/09/24/register-allocation-in-the-go-compiler.html #GoCompiler #SourceCode #HackerNews #ngated -
📅 In an absolutely riveting journey through the Go compiler's underbelly, one brave soul dares to wade through the treacherous swamps of *source code* to reveal that—surprise—documentation is apparently optional in 2024 🧐. Meanwhile, #LLVM and #Cranelift sip tea as they bask in their luxurious piles of clear, accessible #documentation 📜💁♂️.
https://vnmakarov.github.io/2024/09/24/register-allocation-in-the-go-compiler.html #GoCompiler #SourceCode #HackerNews #ngated -
📅 In an absolutely riveting journey through the Go compiler's underbelly, one brave soul dares to wade through the treacherous swamps of *source code* to reveal that—surprise—documentation is apparently optional in 2024 🧐. Meanwhile, #LLVM and #Cranelift sip tea as they bask in their luxurious piles of clear, accessible #documentation 📜💁♂️.
https://vnmakarov.github.io/2024/09/24/register-allocation-in-the-go-compiler.html #GoCompiler #SourceCode #HackerNews #ngated -
Exception handling in the Rust compiler: a blog post by @bjorn3 on support for unwinding on panics in the Cranelift backend.
A walkthrough of the implementation: https://tweedegolf.nl/en/blog/157/exception-handling-in-rustc-codegen-cranelift -
this I think is the final missing piece to have an entire toolchain written in Rust, others being compiler (rustc and cranelift) and platform access things (rustix and eyra/mustang)
-
Managed to have local variables using cranelift but I hit a limitation of debuggers and DWARF and formal parameters found in registers.
I may try consider pessimising the code when enabling debug support if I don't manage to identify the call sites.
-
Woah!
(I need to improve the locations, it jumps like crazy all around the place 😅 . The garbled terminal is caused by gdb's tui not liking input / output)
-
I want to keep using Rust nightly + cranelift because of the faster compile times but anywhere aws-lc-rs is involved, there are build failures.
https://github.com/rust-lang/rustc_codegen_cranelift/issues/1520
Sadly have to disable it for now.
#rust #cranelift -
@dan_ballard one thing that can help today with trust is looking for "cargo vet" reviews by trusted projects, this being an example https://github.com/bytecodealliance/wasmtime/tree/main/supply-chain
@Mara -
I haven't been so excited to multiply two numbers in 20+ years.
I think I might be able to work with this.
-
Why does #Cranelift look so nice and simple to use, what's the catch
-
#Tilde is an alternative (like #QBE & #Cranelift) to #LLVM for #Compilers:
“Tilde, My LLVM Alternative”, Yasser Arguelles Snape (https://yasserarg.com/tb).
Via Lobsters: https://lobste.rs/s/jvruyj/tilde_my_llvm_alternative
On HN: https://news.ycombinator.com/item?id=42782872
At Handmade Seattle 2023: https://handmadecities.com/media/seattle-2023/tb/
-
#Tilde is an alternative (like #QBE & #Cranelift) to #LLVM for #Compilers:
“Tilde, My LLVM Alternative”, Yasser Arguelles Snape (https://yasserarg.com/tb).
Via Lobsters: https://lobste.rs/s/jvruyj/tilde_my_llvm_alternative
On HN: https://news.ycombinator.com/item?id=42782872
At Handmade Seattle 2023: https://handmadecities.com/media/seattle-2023/tb/
-
#Tilde is an alternative (like #QBE & #Cranelift) to #LLVM for #Compilers:
“Tilde, My LLVM Alternative”, Yasser Arguelles Snape (https://yasserarg.com/tb).
Via Lobsters: https://lobste.rs/s/jvruyj/tilde_my_llvm_alternative
On HN: https://news.ycombinator.com/item?id=42782872
At Handmade Seattle 2023: https://handmadecities.com/media/seattle-2023/tb/
-
#Tilde is an alternative (like #QBE & #Cranelift) to #LLVM for #Compilers:
“Tilde, My LLVM Alternative”, Yasser Arguelles Snape (https://yasserarg.com/tb).
Via Lobsters: https://lobste.rs/s/jvruyj/tilde_my_llvm_alternative
On HN: https://news.ycombinator.com/item?id=42782872
At Handmade Seattle 2023: https://handmadecities.com/media/seattle-2023/tb/
-
#Tilde is an alternative (like #QBE & #Cranelift) to #LLVM for #Compilers:
“Tilde, My LLVM Alternative”, Yasser Arguelles Snape (https://yasserarg.com/tb).
Via Lobsters: https://lobste.rs/s/jvruyj/tilde_my_llvm_alternative
On HN: https://news.ycombinator.com/item?id=42782872
At Handmade Seattle 2023: https://handmadecities.com/media/seattle-2023/tb/
-
Series on Cranelift Code Generator.
https://www.youtube.com/playlist?list=PLIUa1VcxJuwlJB4ZrahFGRNGyFx-S8tzJ
Looking to do a post/talk next month for the Rust meetup on using PEG parser for a toy language (Brainfuck/Lox) and then use Cranelift to compile that.
#rust #cranelift -
More hacking with cranelift.
Making better use of `Variable`s for better code generation and also extending the dump code so I can see what value maps to each source variable.
-
Nested functions like Pascal's are not in vogue these days.
-
I learned yesterday how to annotate the IR dumps so less guessing is required when looking at them now.
-
The #cranelift backend for #rust now supports `raw-dylib` linking for #Windows https://github.com/rust-lang/rustc_codegen_cranelift/pull/1524
-
I wanted to toy with Cranelift (https://cranelift.dev/) so I gave myself an excuse to do so 😀
Still a lot of work to do but slowly being able to compile more interesting Pascal programs.
-
There are many dreams in my mind floating. One of which is learning machine language of a processor and then contributing to some compiler backend like #llvm or #Cranelift.
#programming #programming_dreams #rust #compiler #dreams #dream #wish #computers #computation #mcu #microcontroller
-
Did you ever wanted a calculator that’s also incredibly overbuilt but jit compiles expressions into machine code for maximum calculation perf?
Yep me neither but here you go
-
@jamey who uses cranelift, other than wasmtime and rustc