Elektrine lite

← Feed

@Corax42@mastodon.social

Post #2612510

2023-12-28 20:32 UTC

@janriemer@floss.social @luna@lunar.place I remember the first time I tried Rust in the playground. Being a boring Java developer, I immediately proceeded to make trait objects and pass them into generic functions. My joy was quickly frustrated; first by learning that pretty much every generic library function has implicit Sized bounds on its type parameters, next by realizing that it was literally impossible to upcast a &dyn. I've made my peace with static dispatch by now, but back then, I was genuinely shocked ^^

Replies (0)

No replies.