#cranelift

2025-07-01

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: tweedegolf.nl/en/blog/157/exce

#rustlang #cranelift

2025-06-30

Roto is written in Rust, has Rust-style syntax, and plugs straight into Rust apps.

Terts will be showing how it works, how to use it, and why they built it in the first place. Catch him at #EuroRust25 ➡️ eurorust.eu/talks/roto-scripti

#RustLang #Cranelift #Scripting

🧵2/3

2025-06-14

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)

fosstodon.org/@rustnl/11467593

#cranelift #rustc #rustlang

Farooq | فاروقfarooqkz@cr8r.gg
2025-06-08

Hello Fediverse. So I'm looking for a #remote #opensource job or project in European timezones.

I am not good in writing CVs. So I'm just listing the projects I have done:

I'm a #Linux user. I have good experience using CLI, and I have basic shell scripting skills. I also have a little experience with #FreeBSD

I am also good at reading academic papers, standards(like RFCs) and manpages.

I am up for working on #FOSS projects as freelancer or part time contracts.

Boosts appreciated :)

PS: I am also familiar with #CommonLisp. But I highly doubt if I can find a #Lisp job anywhere!

#getfedihired #gethired #forhire #Fedihire #jobsearch

brk, a.k.a. @evanrichterbrk@infosec.exchange
2025-05-21

Looks like they did their research and are filling a niche for embedded scripting languages for rust!

The JIT is provided by #cranelift
mastodon.online/@terts/1145454

Roger Ferrer Ibáñezrofirrim@mastodon.world
2025-05-11

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.

#pasko #cranelift #debugging #compilers

Roger Ferrer Ibáñezrofirrim@mastodon.world
2025-05-05

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)

#pasko #debugging #debugger #gdb #cranelift

2025-04-12

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

2025-04-09

@dan_ballard one thing that can help today with trust is looking for "cargo vet" reviews by trusted projects, this being an example github.com/bytecodealliance/wa
@Mara

#cranelift #rustlang

often frowned uponvirtulis@loud.computer
2025-03-23

I haven't been so excited to multiply two numbers in 20+ years.

I think I might be able to work with this.

#Cranelift

A code screenshot of a Rust test named "silly", showing my first attempt at using Cranelift JIT (and Cranelift in general). It uses around 30 lines of code to define, compile and call a function that takes two 32-bit integers and returns their product. The code is mostly copied over from their JIT demo, omitting any actual logic. The test ends with an assertion that calling it with 6 and 7 produces 42, which may or may not be correct, but currently matches my observations.
often frowned uponvirtulis@loud.computer
2025-02-23

Why does #Cranelift look so nice and simple to use, what's the catch

रञ्जित (Ranjit Mathew)rmathew
2025-01-25

is an alternative (like & ) to for :

“Tilde, My LLVM Alternative”, Yasser Arguelles Snape (yasserarg.com/tb).

Via Lobsters: lobste.rs/s/jvruyj/tilde_my_ll

On HN: news.ycombinator.com/item?id=4

At Handmade Seattle 2023: handmadecities.com/media/seatt

2024-12-25

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

Roger Ferrer Ibáñezrofirrim@mastodon.world
2024-10-20

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.

#cranelift #pascal #pasko

A simple sum loop written in ISO Pascal.The cranelift IR dumped with extra annotations so we can see each the mapping of values to source code variables.
Roger Ferrer Ibáñezrofirrim@mastodon.world
2024-08-27

Nested functions like Pascal's are not in vogue these days.

#pascal #compilers #cranelift

Roger Ferrer Ibáñezrofirrim@mastodon.world
2024-08-18

I learned yesterday how to annotate the IR dumps so less guessing is required when looking at them now.

#cranelift #rustlang #pascal #pasko

Screenshot of a fraagment of a Pascal program with a function called "do_something" that has two parameters by value (called a and b) of type set of integer. The function returns the union of both using the built-in operator for set types "+".Screenshot of the textual dump of Cranelift's intermediate representation of the function "do_something". The dump shows that the different stack storage and functions entities are now annotated with a comment. This helps debugging as the dumps are easier to understand.
Daniel Paoliello :rust:TehPenguin@hachyderm.io
2024-08-09
GripNewsGripNews
2024-03-18

🌘 Rust 現在採用 Cranelift 代碼生成技術 [LWN.net]
➤ Cranelift 技術採用了嶄新的優化結構,提高了快速代碼生成的表現。
lwn.net/SubscriberLink/964735/
介紹了 Rust 專案在 Cranelift 代碼生成技術開發為夜間工具鏈的可選組件,此技術旨在優化編譯速度及代碼生成的效率,並著重於中間層表示形式等優化技術。
+ Rust 專案引入 Cranelift 技術將有助於加速代碼生成,這對開發者而言是一個好消息。
+ Cranelift 的創新優化結構為編譯速度和代碼效率帶來了一個全新的角度,對未來的技術發展具有潛力。

Roger Ferrer Ibáñezrofirrim@mastodon.world
2024-02-08

I wanted to toy with Cranelift (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.

#rust #cranelift #pascal #compilers

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst