Does Rust need proc-macros 2.0?

Without any doubt, macros are an important feature of the Rust programming language. Macros like println!, lazy_static!, various derive-macros and many others have saved countless hours of writing tedious boilerplate code. However, not everything is perfect yet. You might have heard about the declarative macros 2.0 effort to fix some longstanding issues with macro_rules!. The new macro syntax is still WIP, but I hope it will be stabilized soon. However, that just improves declarative macros, but Rust also has proc-macros (procedural macros)....

July 27, 2022 · 7 min · Aaron Erhardt

Plotters is back!

This is a short update on my recent post regarding the plotters crate. The maintainer of plotters did respond and fortunately all plans for forking the project are dropped. Now all repositories live in the plotters-rs organization and can be maintained by members of the community. Also, we’re looking for people who want to join the maintenance team (#345). What can we learn from this? Open source projects often start as personal projects....

April 27, 2022 · 2 min · Aaron Erhardt

Planning the future of plotters

With over 1900 stars on GitHub and over 600.000 downloads per month, plotters is a very prominent and widely used Rust crate. By a huge margin it is the most used plotting library for Rust and covers a lot of different use-cases and back-ends. Yet, since roughly June 2021, almost 10 months ago, there hasn’t been any considerable activity on the main branch of the repository. At the same time, the community has been very active with 22 pull requests submitted since then, but none of them was reviewed or merged....

April 12, 2022 · 2 min · Aaron Erhardt

A new Relm 4 you: announcing Relm4 v0.4!

A new realm is here for you to explore! I’m happy to announce Relm4 v0.4, our biggest release so far! About Relm4 Relm4 is an idiomatic GUI library inspired by Elm and based on gtk4-rs. We believe that GUI development should be easy, productive and delightful. The gtk4-rs crate already provides everything you need to write modern, beautiful and cross-platform applications. Built on top of this foundation, Relm4 makes developing more idiomatic, simpler and faster and enables you to become productive in just a few hours....

January 17, 2022 · 5 min · Aaron Erhardt

Speedrunning GUI development in Rust

On the evening of the 30th November, I had a few hours to spare and came up with the idea to write a small advent calendar example application for Relm4. There wasn’t much time left before the first door of the calendar could be opened and I wanted to stay on schedule, so I had to be very quick with the implementation. That gave me the idea to use this opportunity for a GUI implementation speedrun using Rust....

December 5, 2021 · 7 min · Aaron Erhardt

Announcing Relm4 v0.2

Roughly one month after the first stable release a I’m happy to announce the second stable release of Relm4! 🚀🚀🚀 About Relm4 We believe that GUI development should be easy, productive and delightful. The gtk4-rs crate already provides everything you need to write modern, beautiful and cross-platform applications. Built on top of this foundation, Relm4 makes developing more idiomatic, simpler and faster and enables you to become productive in just a few hours....

October 9, 2021 · 2 min · Aaron Erhardt

Announcing Relm4 v0.1

Roughly one month after the first beta release and countless hours of work I’m happy to announce the first stable release of Relm4! 🎉🎉🎉 About Relm4 Relm4 is an idiomatic GUI library inspired by Elm and based on gtk4-rs. It is a new version of relm that’s built from scratch and is compatible with GTK4 and libadwaita. The main goals are productivity, flexibility, simplicity and maintainability. Over the last beta releases, the development slowly calmed down up to a point where I’m comfortable releasing the first stable version....

September 6, 2021 · 2 min · Aaron Erhardt

Relm4 beta released 🎉

What’s relm? Relm is described on its repository as an “idiomatic, GTK+-based, GUI library, inspired by Elm, written in Rust” and has more than 2000 GitHub stars and over 36.000 downloads on crates.io. When I first started with GUI development in Rust and experimented with gtk-rs I had a rough time because I was completely new to GUI development and GTK. Relm on the other side provided me the examples and structure I needed to get productive in just a couple of hours....

August 11, 2021 · 2 min · Aaron Erhardt