-
rustc_codegen_gcc: Progress Report #2
What is rustc_codegen_gcc? rustc_codegen_gcc is a GCC codegen for rustc, meaning that it can be loaded by the existing rustc frontend, but benefits from GCC by having more architectures supported and having access to GCC’s optimizations. GCC patches status In a previous article, I mentioned that rustc_codegen_gcc required a few...
-
rustc_codegen_gcc: Progress Report #1
What is rustc_codegen_gcc? rustc_codegen_gcc is a GCC codegen for rustc, meaning that it can be loaded by the existing rustc frontend, but benefits from GCC by having more architectures supported and having access to GCC’s optimizations. libcore’s tests In a previous article, I mentioned that rustc_codegen_gcc passes most of the...
-
rustc_codegen_gcc can now run libcore’s tests and pass most of them!
What is rustc_codegen_gcc? rustc_codegen_gcc is a shared library that can be loaded by the Rust compiler to replace the code generation done by LLVM by another code generator: in this case, it generates code using GCC or, more precisely, its library libgccjit. Despite its name, libgccjit can generate code ahead-of-time...
-
Vim tips
Here’s a list of vim tips that I’ve learned over the years. I tried to put the ones I find the most useful or less known first. To cycle throught the delete registers, first type "1p and then you can cycle through the delete registers with u.. You can use...
-
Rust+GNOME Hackfest #6
Last week, I went to the sixth Rust+GNOME hackfest which was in Rome. During these hackfests, we work on improving the integration between Rust and the GNOME libraries. Improvement for builders In the previous Hackfest, I added the code generation for builders, but there was something that was not convenient....
-
Improvement to the compile time of a crate
For one of my projects, I need to use LLVM so I tried this cool inkwell crate that provides a mostly safe wrapper over LLVM. To my dismay, though, compiling this crate takes… a lot of time: Debug build: 1m 05s Release build: 3m 34s By the way, I write...
-
mini-aio: the new async IO library for Rust
During my work at Adgear, I’ve been working for a while on an async IO library for Rust. This post will present this new library. mini-aio This library takes a very different approach than most other async IO libraries in Rust: it is actually inspired by the Pony programming language....
-
Rust+GNOME Hackfest #5
Last week, I went to the fifth Rust+GNOME hackfest which was in Berlin again. Generate builder for widgets My goal for this hackfest was to fix this issue I opened nearly three years ago. The problem is that sometimes you want to create a widget or an object and set...