HN user

ranfdev

23 karma
Posts0
Comments5
View on HN
No posts found.

I've made some small contributions to gtk-rs-core (the library providing rust bindings to glib, gdk...).

While the lower layers written in C do impact the overall safety, the bindings are made to be as safe as possible.

For example: every glib parameter that may take NULL in Rust becomes an Option<T>.

GObject's methods are defined on traits and checked by the Rust type system. There are also some macros to provide an easy and safe interface to the GLib type system.

All of this directly applies to gtk-rs.

Overall, the bindings are well documented and with many examples. There's even a book. Also, there's a great community around them.

Bindings website: https://gtk-rs.org/

Dat and IPFS are decentralized file systems. Instead, blockstack is a network for decentralized application. It offers identity, storage and a way to transfer tokens. With blockstack you can easily create apps where users can sign-in in seconds and store all their data where they want.