A Sizeable Matter @ c4
we’re happy to announce that our next meetup will be on Wednesday, April 5, 2019 at 19:15!
We have two talks dealing with the size of things in very different ways.
First we’ll have a talk by Matthias Endler showing how to size up a file, by reimplementing a simple
wc clone in Rust.
Second Florian Zeitz is going to tell us about the size of types in Rust, particularly those only
known at runtime.
Afterwards there will be time for socializing and open discussion over some drinks.
We are looking forward to seeing you. :-)
The meetup will likely be held in English, we will however reevaluate this at the beginning of the evening and may switch to German if desired.
Implementing `wc` in Rust
The simple programs are sometimes the trickiest. Take
wcfor example, which prints the number of words, lines, characters, and bytes of its input. It’s surprisingly hard to write a correct version of that program. Let me show you why and how Rusts prevents most of the bugs by design. This interactive coding session is targeted towards beginners and intermediate Rust programmers.
Dynamically Sized Types
Everything has a memory footprint. And for most types it is known at compile time. But how large is a slice (
[T]) or a trait object (
dyn Trait)? In this talk we’ll explore those types that only have a known size at runtime, bringing some clairty into terms like “dynamically sized”, “unsized” or “existential” types.
Location: Chaos Computer Club Cologne (c4) e.V.
- Via subway lines 3, 4, or 13 to “Venloer Straße/Gürtel” (exit the station towards “Heliosstr./Bezirksverwaltung”)
- Via bus lines 141, 142, or 143 to “Venloer Straße/Gürtel”
- Via train to “Köln-Ehrenfeld” (exit the station towards “Venloer Straße”)
Cross Venloer Straße and go into Heliosstraße. After 2–3min you arrive at the last building before an apartment complex labeled “Stayery” (on the right side). The entrance is next to the parking spots.
This event was also announced on: