kixik@lemmy.ml to Rust Programming@lemmy.ml · 3 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-square7linkfedilinkarrow-up11arrow-down11file-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 · 3 years agomessage-square7linkfedilinkfile-text
minus-squareTin Švagelj@mastodon.sociallinkfedilinkarrow-up1·3 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.