March 2024 Rustacean Meetup

March 2024 Rustacean Meetup

Vineet Naik

@naiquevin

Enums - Rust's killer feature

Submitted Feb 17, 2024

This talk will be about the enum type in rust and its practical use cases, mainly focusing on:

  1. What it offers more than enums in other languages
  2. How it allows for concise, elegant and robust solutions for a certain class of problems as compared to equivalent solutions in other languages (planning to include examples in Python, Clojure, Java)

Outline

  • Introduction to enum type and comparison with enums in other languages
  • Practical use cases and real examples from a personal project[^1] and counter examples in other languages
  • Why I think enum is rust’s killer feature?

Total duration: 45 mins

[^1] https://github.com/naiquevin/dupenukem

Comments

{{ gettext('Login to leave a comment') }}

{{ gettext('Post a comment…') }}
{{ gettext('New comment') }}
{{ formTitle }}

{{ errorMsg }}

{{ gettext('No comments posted yet') }}

Hosted by

A community of Rust language contributors and end-users from Bangalore. We have presence on the following telegram channels https://t.me/RustIndia https://t.me/fpncr LinkedIn: https://www.linkedin.com/company/rust-india/ Twitter (not updated frequently): https://twitter.com/rustlangin more