BearPear@lemmy.world to Linux@lemmy.mlEnglish · 1 year agoAre there any advantages of using Rust instead of C in the Linux kernel?message-squaremessage-square36fedilinkarrow-up189file-text
arrow-up189message-squareAre there any advantages of using Rust instead of C in the Linux kernel?BearPear@lemmy.world to Linux@lemmy.mlEnglish · 1 year agomessage-square36fedilinkfile-text
minus-squareHaugerud@discuss.tchncs.delinkfedilinkarrow-up12·1 year agoYou can use compile time polymorphism in C++ without any runtime performance cost.
minus-squarecmeerw@programming.devlinkfedilinkarrow-up8·1 year agoThe description says: In this video, we’ll do a deep dive on what C++ Polymorphism is, what “virtual” does under the hood, and ultimately why it is SUCH a performance hit compared to languages like C and Rust. This is not about compile-time polymorphism.
minus-squarePipedLinkBot@feddit.rocksBlinkfedilinkEnglisharrow-up1·1 year agoHere is an alternative Piped link(s): https://piped.video/watch?v=aq365yzrTVE Piped is a privacy-respecting open-source alternative frontend to YouTube. I’m open-source, check me out at GitHub.
You can use compile time polymorphism in C++ without any runtime performance cost.
deleted by creator
Unfortunately, that’s not true
The description says:
This is not about compile-time polymorphism.
Here is an alternative Piped link(s): https://piped.video/watch?v=aq365yzrTVE
Piped is a privacy-respecting open-source alternative frontend to YouTube.
I’m open-source, check me out at GitHub.