GObject subclassing in Rust for extending GTK+ & GStreamer Or: How to safely implement subclassing …
Hellow guys, Welcome to my website, and you are watching GObject subclassing in Rust for extending GTK+ & GStreamer Or: How to safely implement subclassing …. and this vIdeo is uploaded by FOSDEM at 2019-02-09T11:19:58-08:00. We are pramote this video only for entertainment and educational perpose only. So, I hop you like our website.
Info About This Video
Name |
GObject subclassing in Rust for extending GTK+ & GStreamer Or: How to safely implement subclassing … |
Video Uploader |
Video From FOSDEM |
Upload Date |
This Video Uploaded At 09-02-2019 19:19:58 |
Video Discription |
GObject subclassing in Rust for extending GTK+ & GStreamer Or: How to safely implement subclassing in Rust while making use of a C library
by Sebastian Dröge
At: FOSDEM 2019
https://video.fosdem.org/2019/UD2.208/rust_gstreamer.webm
Many commonly used libraries from other languages, especially GUI toolkits, make use of Object Oriented Programming (OOP). While Rust has support for many of the OOP concepts in one way or another, there is no easy way for implementing subclassing or inheritance.
The topic of this talk will be how to implement subclassing and inheritance in safe Rust, based on the GObject C library. The GObject library is providing Java/ObjectiveC-style OOP features to C. It is used by the GTK+ UI toolkit, the GStreamer multimedia framework and various GNOME libraries.
Apart from reasons why you would want to do this in Rust, this talk will cover the new implementation for subclassing that was recently integrated into the existing GLib/GObject, GTK+ and GStreamer bindings. These bindings allowed usage of existing GObject types before, but didn't provide any features to create new GObject types. In addition to usage of the subclassing implementation, a couple of details about the implementation will also be explained.
Last but not least, an outlook in the future will be given for how one can take this even one step further with procedural macros to allow writing code that looks very close to Java or C#.
This talk will not only be interesting for those who want to make use of GTK+ or GStreamer and extend those libraries, but will also cover various aspects about safely interfacing with C libraries from Rust and all kinds of type tricks to teach the Rust type-system about subclassing and making use of the type-system for enforcing various invariants at compile-time.
Room: UD2.208 (Decroly)
Scheduled start: 2019-02-03 14:50:00+01 |
Category |
Science & Technology |
Tags |
Science & Technology Download MP4 | Science & Technology Download MP3 | Science & Technology Download MP4 360p | Science & Technology Download MP4 480p | Science & Technology Download MP4 720p | Science & Technology Download MP4 1080p |
More Videos