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
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
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 ➡️ https://eurorust.eu/talks/roto-scripting-language/?utm_source=mastodon&utm_medium=social&utm_campaign=25-06-27-speaker-terts-diepraam
#RustLang #Cranelift #Scripting
🧵2/3
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)
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:
#Rust(See https://codeberg.org/farooqkz/wakegp, https://github.com/deltachat-bots/deltachat-loginbot and https://github.com/deltachat/message-parser) #GeneticProgramming #Cranelift
#Typescript #Javascript #ReactJS #InfernoJS. I used to work on https://github.com/deltachat/deltachat-desktop and https://codeberg.org/chooj/chooj (#chooj, #Matrix, #KaiOS)
#Lua #Luanti. I contribute to CTF game. I also play it extensively!
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!
Looks like they did their research and are filling a niche for embedded scripting languages for rust!
The JIT is provided by #cranelift
https://mastodon.online/@terts/114545400128141347
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/
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
🌘 Rust 現在採用 Cranelift 代碼生成技術 [LWN.net]
➤ Cranelift 技術採用了嶄新的優化結構,提高了快速代碼生成的表現。
✤ https://lwn.net/SubscriberLink/964735/8b795f23495af1d4/
介紹了 Rust 專案在 Cranelift 代碼生成技術開發為夜間工具鏈的可選組件,此技術旨在優化編譯速度及代碼生成的效率,並著重於中間層表示形式等優化技術。
+ Rust 專案引入 Cranelift 技術將有助於加速代碼生成,這對開發者而言是一個好消息。
+ Cranelift 的創新優化結構為編譯速度和代碼效率帶來了一個全新的角度,對未來的技術發展具有潛力。
#Rust #Cranelift #代碼生成 #編譯器
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.