Enfin !
That library was largely written by "bjorn3", a Rust compiler team member who contributed more than 3,000 of the approximately 4,000 commits to Rust's Cranelift backend.
Not all heros wear capes.
— Permalink
Le repo github: https://github.com/arplaboratory/learning-to-fly
Le drone en question: https://www.bitcraze.io/products/crazyflie-2-1/
— Permalink
I have no idea what the complexities and caveates of doing this would be, but it could also be interesting to have the crate publishing step do aggressive borrow checking logic for every supported platform but then disable the borrow checker on crates downloaded from crates.io. The borrow checker contributes a lot of time to the compilation process, and if you gate acceptance to crates.io on the borrow checker passing then you can get away without needing to run the extra borrow checker logic when compiling dependencies.
Ça c'est vraiment pas très malin, pour plein de raison: déjà parce que le borrow-checker ne prend pas tant de temps que ça, ensuite parce qu'il arrive après les phases cfg resolution (quelque soit son nom réel) de “macro expansion”, donc ce n'est pas vraiment possible en pratique, ou plutot ça revient au même que de stocker des versions pré-compilées des dépendances sur crates.io.
— Permalink
Le plus triste dans cette histoire c'est que des gens vont se mettre à verrouiller leur dépendance à serde
sur une version en particulier, ce qui va conduire à une montagne de problème (bien plus grands que le problème initial, qu'il s'agisse du temps de compilation ou du fait d'avoir une dépendance sous forme de binaire).
La vraie solution serait d'avoir cargo
qui supporte nativement ce genre de chose (idéalement via webassembly comme dtolnay l'avait proposé il y a plusieurs années)
— Permalink
“An expert is a person who has made all the mistakes that can be made in a very narrow field.”
Neils Bohr
— Permalink
]]>maintain three open source projects for a living. Those projects have saved companies many millions of dollars in labor and IT costs, but I take home less pay than that of a typical starting teacher. (For those outside of the U.S., a starting teacher's salary is a rhetorical benchmark for very low pay. We criminally underfund education here just like we criminally underfund open source development.) What I earn through independent open source development is about 20-25% of what my skills would be worth to a corporate employer, and I have turned down numerous offers from such employers over the years in order to continue working on these OSS projects full-time. I don't expect to get rich from open source development, but it is also unfair for organizations to
profit handsomely from my work while I am expected to do that work for free.
— Permalink
La plaie de notre monde: ceux qui font des trucs de malade en open-source n'ont aucune rémunération, alors que leur travail nourri quantité d'organisations à but lucratif (ici: think tank, médias, etc.) et d'entitée étatiques (services de renseignements, ministères).
— Permalink
]]>33% of GStreamer commits are now in Rust (bindings + plugins), and the Rust plugins module is also where most of the new plugins are added these days.
— Permalink