• 3 Posts
  • 43 Comments
Joined 1 year ago
cake
Cake day: August 6th, 2023

help-circle






  • Its mainly a matter of stabilizing existing features in the language - there are rust modules in the linux kernel as of 6.1 but they have to be compiled with the nightly compiler.

    Rust is a very slow moving , get it right the first time esque, project. Important and relatively fundamental stuff is currently and has been useable and 99% unchanging for years but hasnt been included in the mainline compiler.

    Also certain libraries would be fantastic to have integrated into the standard library, like tokio, anyhow, thiserror, crossbeam, rayon, and serde. If that ever happens though itll be in like a decade.
















  • For what its worth , the cache locality of Vec<Box<Dyn trait>> is terrible in general, i feel like if youre iterating over a large array of things and applying a polymorphic function you’re making a mistake.

    Cache locality isnt a problem when youre only accessing something once though.

    So imo polymorphism has its place for non iterative-compute type work, ie web server handler functions and event driven systems.