kixik@lemmy.ml to Rust Programming@lemmy.ml · 2 years agoSerenityOS author: "Rust is a neat language, but without inheritance and virtual dispatch, it's extremely cumbersome to build GUI applications"mobile.twitter.comexternal-linkmessage-square3fedilinkarrow-up10arrow-down10file-text
arrow-up10arrow-down1external-linkSerenityOS author: "Rust is a neat language, but without inheritance and virtual dispatch, it's extremely cumbersome to build GUI applications"mobile.twitter.comkixik@lemmy.ml to Rust Programming@lemmy.ml · 2 years agomessage-square3fedilinkfile-text
minus-squareTin Švagelj@mastodon.sociallinkfedilinkarrow-up0·2 years ago@kixik Thanks to good macro system Rust can (via enum_dispatch) transform those lookups into a switch statement which is best of both worlds IMO.
@kixik Thanks to good macro system Rust can (via enum_dispatch) transform those lookups into a switch statement which is best of both worlds IMO.