Quantcast
Channel: Guillaume Gomez's blog
Browsing latest articles
Browse All 41 View Live

Rust merge process

Rust merge processNew contributors on the Rust project are generally a bit lost on how the merge process is working. This little article intends to make things a bit more clear. But first, let's start...

View Article



Image may be NSFW.
Clik here to view.

Generating doc with rustdoc and a custom theme

Generating doc with rustdoc and a custom themeOnly a few people know, but it's actually possible (at least only on nightly) to generate doc with another color theme has been possible for a few months...

View Article

Rust asynchronous HTTP server with tokio and hyper

Rust asynchronous HTTP server with tokio and hyperIn the two last weeks, I worked on a project: writing a small REST API server in Rust. The goal was to compare the performance between this one and the...

View Article

Little tour of multiple iterators implementation in Rust

Little tour of multiple iterators implementation in RustA common issue for Rust newcomers seems to be to actually implement an Iterator. So I decided to write this small blog post in order to look at...

View Article

Gtk-rs release process

Gtk-rs release processGiven the growing complexity of gtk-rs release and the upcoming number of related questions to this topic, I thought it might be interesting to have a little post on how it worked...

View Article


New rustdoc rendering common errors

New rustdoc rendering common errorsSince a few weeks, it's possible to use pulldown instead of hoedown in order the render the markdown from the documentation comments with the following...

View Article

Image may be NSFW.
Clik here to view.

Rust+GNOME Hackfest in Berlin

Rust+GNOME Hackfest in BerlinLast weekend was the second Rust+GNOME hackfest. Just like the first time, it aimed to bring more Rust into GNOME libraries and more GNOME libraries into Rust. This time,...

View Article

Using macro to generate generic docs?

Using macro to generate generic docs?We were recently able to finally make the docs for integer primitive types much more accurate (thanks to @antoyo!). Now, the code examples match the type for which...

View Article


New sysinfo version (huge performance improvements!)

New sysinfo version (huge performance improvements!)Hi everyone!It's (very) rare that I make a post about a new sysinfo version but I think this one is definitely worth it!Some what about those...

View Article


Image may be NSFW.
Clik here to view.

Rust+GNOME Hackfest in Madrid

Rust+GNOME Hackfest in MadridLast week was the third edition of the Rust+GNOME hackfest. What about talking a bit about what we achieved?What have we achieved?The goals of this edition were:Improve...

View Article

Image may be NSFW.
Clik here to view.

GNOME+Rust Hackfest in Thessaloniki

GNOME+Rust Hackfest in ThessalonikiThe last GNOME+Rust hackfest just ended, time for a blog post to sum up what happened in this event!What happened?Just like usual, a lot of things. This time, we...

View Article

Keeping Rust projects' README.md code examples up-to-date

Keeping Rust projects' README.md code examples up-to-dateBecause keeping documentation up-to-date is very important (and should be a must have!), we need to check if the examples are still valid after...

View Article

New geos release

New geos releaseThe 5.0 version of the geos crate, the binding of the Geometry Engine Open Source C library was just released! The last version came out not so long ago, however it lacked quite a...

View Article


Image may be NSFW.
Clik here to view.

GNOME+Rust Hackfest #5 in Berlin

GNOME+Rust Hackfest #5 in BerlinLast week was the fifth edition of the GNOME+Rust hackfest. What about talking a bit about what happened there?What have we done?The goals of this edition were:Provide a...

View Article

New NodeJS framework to improve rustdoc UI tests

New NodeJS framework to improve rustdoc UI testsHi everyone!Today, I'd like to introduce to you a new NodeJS framework called browser-ui-test. You can find it on github and on npmjs. Its default...

View Article


Image may be NSFW.
Clik here to view.

GNOME+Rust Hackfest #6 in Roma

GNOME+Rust Hackfest #6 in RomaEnd of the year, meaning it's time for a new GNOME+Rust hackfest and its feedback!GNOME+Rust hackfest?The goal of these hackfests is to improve the interactions between...

View Article

Rust 2020: what about feedbacks?

Rust 2020: what about feedbacks?The Rust teams made a call for people to write blog posts about Rust 2020, so here's mine!I've been working on the Rust compiler for years. It got stabilized, then...

View Article


New sysinfo release

New sysinfo releaseHi everyone! Today, sysinfo has received a new update with nice improvements. As a reminder, sysinfo is crate used to get systems' information (Linux, Windows, OSX and raspberry pi...

View Article

New sysinfo release (OSX performance improvements)

New sysinfo release (OSX performance improvements)Hi everyone! Today, sysinfo has received a new update with nice performance improvements on OSX. As a reminder, sysinfo is crate used to get systems'...

View Article

New sysinfo release: time to extend APIs

New sysinfo release: time to extend APIsLittle reminder first: sysinfo is crate to get system information, such as processes, processors, disks, components and networks. Now let's go! :)Time for a new...

View Article

cfg(doctest) is stable and you should use it

cfg(doctest) is stable and you should use itI arrive a bit late considering that #[cfg(doctest)] is stable since rust 1.40 but I think it's important for people to know about this feature and how to...

View Article


Image may be NSFW.
Clik here to view.

Guide on how to write documentation for a Rust crate

Guide on how to write documentation for a Rust crateI have received (a lot of) requests about writing a guide on how to write documentation in Rust lately. I'm quite happy that people finally gets...

View Article


Image may be NSFW.
Clik here to view.

New process-viewer release

New process-viewer releaseFollowing both the new sysinfo release and the new gtk-rs release, I worked on updating process-viewer as well. So here comes the 0.3.3 version!As a reminder, process-viewer...

View Article

New sysinfo release: processes disk usage

New sysinfo release: processes disk usageThe new sysinfo version is here! As a reminder, sysinfo is a crate which provides system information. Let's check what's new!Disk usageAs you may have guess...

View Article

Image may be NSFW.
Clik here to view.

New process-viewer release: processes disk usage

New process-viewer release: processes disk usageThe new process-viewer version is here! It follows the sysinfo release which added processes' disk I/O usage information (you can read the blog post...

View Article


doc-comment 0.4: proc-macro time

doc-comment 0.4: proc-macro timeBefore starting, here is a small reminder: the doc-comment crate provides macros to help you write and test documentation.Until now, the crate was using declarative Rust...

View Article

geos 7.0 release: More type safety, update dependencies and use std TryFrom

geos 7.0 release: More type safety, update dependencies and use std TryFromThe new geos version is now here! As a reminder, geos is a binding of the C++ geos library which provides tools to perform...

View Article

rgsl release 2.0: Huge cleanup and rewrite

rgsl release 2.0: Huge cleanup and rewriteThe new rgsl version is now here! As a reminder, rgsl is a binding of the C GSL library (a mathematics library). It's been a work that took me months to finish...

View Article

New doc comment handling in rustdoc

New doc comment handling in rustdocToday, I'll talk about a recently merged rustdoc pull request (you can see it here) which introduced two great changes:Unification of different doc comment item...

View Article



Image may be NSFW.
Clik here to view.

doc(alias) is stable and it's gonna be super useful!

doc(alias) is stable and it's gonna be super useful!Since Rust 1.48, #[doc(alias = "...")] is now stable. Let's see what it might change and improve!What is it?As described in the Rust release blog...

View Article

Performance improvement on front-end generated by rustdoc

Performance improvement on front-end generated by rustdocWe recently wrote a blog post about the performance improvement in rustdoc (the "back-end"). Now, it's time to talk about performance in the...

View Article

Interacting with data from FFI in Rust

Interacting with data from FFI in RustIf you ever need to call a function from another language, you'll have to use FFI (Foreign Function Interface) and very likely handle pointers. To help you with...

View Article

Improvements for #[doc] attributes in Rust

Improvements for #[doc] attributes in RustSince Rust 1.54, we can now use function-like macros in attributes. It has a lot of advantages for the #[doc] attribute, let's check some of them!Using README...

View Article


sysinfo: how to extract systems' information

sysinfo: how to extract systems' informationThe sysinfo crate aims to provide systems' information.This blog post will explain how it's done to allow you to get a better understanding on how things...

View Article

sysinfo: version 0.22 and FreeBSD support

sysinfo: version 0.22 and FreeBSD supportThe sysinfo crate aims to provide systems' information.In this blog post, we will go through this (huge) sysinfo release and more particularly what I needed to...

View Article

Image may be NSFW.
Clik here to view.

rustdoc: Recent UI and UX changes in generated documentation

rustdoc: Recent UI and UX changes in generated documentationRustdoc is the tool used to generate documentation of the Rust crates. It's also the tool used to generate documentation on docs.rs....

View Article


--- Article Not Found! ---

*** *** *** RSSing Note: Article is missing! We don't know where we put it!!. *** ***

View Article


Image may be NSFW.
Clik here to view.

rustdoc: Recent UI and UX changes in generated documentation 2

rustdoc: Recent UI and UX changes in generated documentation 2This blog post will talk about the recent UI/UX changes that happened in the rustdoc tool. As a reminder, rustdoc is the tool which...

View Article

Image may be NSFW.
Clik here to view.

rustdoc and the re-exports

rustdoc and the re-exportsrustdoc is the tool to generate documentation in rust. In this blog post we will see why handling re-exports with rustdoc is so complicated and how it's done.So first, let's...

View Article

Image may be NSFW.
Clik here to view.

Testing rustdoc

Testing rustdocrustdoc is the Rust tool used to generate documentation based on your source code. Whenever you use cargo doc or browse documentation on docs.rs, the content you see was generated using...

View Article

Image may be NSFW.
Clik here to view.

Writing your own Rust linter

Writing your own Rust linterLints allow to improve codebases and even detect potential logic issues at compile-time. In rust, we have the incredible clippy which is a must use for any Rust project....

View Article

Browsing latest articles
Browse All 41 View Live




Latest Images