• 2 Posts
  • 75 Comments
Joined 2 years ago
cake
Cake day: July 24th, 2023

help-circle




  • Leitungswasser ist viel zu keimfrei, ich trinke ich jeden Morgen Teichwasser um Autoimmunkrankheiten vor zusorgen.

    ######Dieser Witz bezieht sich auf eine von vielen unbewiesen Hypotheses zu Ursachen von MS. Der Autor bezieht keine Stellung zu deren Richtigkeit. Bitte trinken sie kein kontaminiertes Wasser. Zu Risiken und Nebenwirkungen fragen sie ihren Arzt oder Apotheker.












  • Rust has monomorphisation like C++ and every function has the aliasing guarantees of restrict, a keyword rarely seen in C code bases use and C++ doesn’t even support.
    This means you can get more optimisations while writing in an intuitive style, where C/C++ requires some changes to the code.

    On the other hand rustc has some hiccups with argument passing and rvo. One could argue that that’s just the compiler while the aliasing problems are part of the language in the C/C++ case, but while there is only one rust compiler its performance is the languages performance.

    For most use cases they are about equally fast.





  • Because the tree would need to grow 100x as big. People often forget, that the carbon needs to go somewhere and in a tree that is mostly the wood.
    A fully grown forest is just full and can’t take up more CO2 unless you take some wood out. That wood need to be used in construction or turned into charcoal and buried to make sure it can’t be turned back into CO2 by rotting.