1–3 Dec 2023
Asia/Kathmandu timezone

Declarative GTK programming

1 Dec 2023, 15:30
50m
50 minutes presentation: IN PERSON Track A

Speaker

Jens Petersen (Red Hat)

Description

In this talk we will look at declarative approaches to creating GUI applications, which could be said to have been popularized first by the Elm web programming language.

The first example will be a small GTK application called compare-fonts written in Haskell with the gi-gtk-declarative library.

The second part of the talk will look at some examples using Rust libraries like relm4, iced and vgtk.

The session will be a cross between demos with code and an interactive mini-tutorial in declarative GTK programming. If you want to follow along on your own laptop please checkout and build https://github.com/juhp/declarative-gtk-tutorial beforehand.

Tracks Application Development and Deployment
Talk Description The introduction will give some background to the origin of declarative GUI programming, which can be used for for web and desktop applications. The Elm language is close to Haskell, so the first example application will be compare-fonts which uses a declarative GTK layer over the gi-gtk bindings. The second half of the cover will discuss and showcase various declarative Rust gtk libraries. The technical interactive talk will give participants a feeling and understanding of the clear simplicity of declarative GUI programming.
Author(s) Bio Jens has been involved in FOSS for many years and works at Red Hat as an software engineering manager.
Pronouns he/him/his
Twitter and/or Mastodon Handle juhp
Where are you located? Singapore
Do you need travel sponsorship from GNOME Foundation in order to join our event? No

Primary author

Jens Petersen (Red Hat)

Presentation materials