Skip to content

Rust<T> - Introduction to Generics

Photo of Michael Kohler
Hosted By
Michael K.
Rust<T> - Introduction to Generics

Details

"Rust is a systems programming language that runs blazingly fast, prevents segfaults, and guarantees thread safety"

Rust allows you to write safe, fast and maintainable code. It provides high-level zero-cost abstractions and an advanced type system which brings ergonomics from functional and dynamic programming languages to the land of compiled languages.

I will present an introduction to generics in rust. Generics or templates are a powerful way to generalize functionality for more types, reducing the total amount of code you have to test.

Generics are called ‘parametric polymorphism’ in type theory, which means that they are types or functions that have multiple forms (‘poly’ is multiple, ‘morph’ is form) over a given parameter (‘parametric’).

Of course we will also be available to answer your questions!

About the speaker

Stefan is a member of the Coredump hackerspace in Rapperswil. He started using Rust in early 2015 and has since then spent a lot of time hacking on Rust based projects including the compiler.

Photo of Mozilla Meetup Switzerland group
Mozilla Meetup Switzerland
See more events
Liip
Limmatstrasse 183 · Zürich