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

help-circle









  • More effective would probably to buy yourself (or a person that has political potential/influence with the right intentions) into politics like president muskrat, and do well placed populistic propaganda against the actually evil fossil industry. You don’t even have to lie, just do some good rethoric speech, ads etc… We need policies on a larger level, and I think 10B$ should be enough to gain significant political influence for something that the major mass of people is already behind of, just needs a good spark. I think Thunberg has shown that. Not that we shouldn’t of course improve public transport in cities. Additionally do (employ) investigative journalism probably in the same process to give all of this a good foundation…








  • I’m actually using complete meal replacement like jimmy joy or huel. If you’re not too picky with taste, it can definitely help with a healthy diet,without much effort.

    I’m also surprised how much effect really nutrition has on muscle build-up, as I gained just with this comparatively high protein diet quite a bit (without focusing on that specifically)


  • performance

    Like raw runtime performance, if I write the code in python, it’s ~ 100x slower than in Rust. You often get away with dumber stuff in Rust as the compiler is able to optimize it well. With python you would have to write your native bindings either in Rust/C or C++. So why not straight use Rust (as the other choices aren’t sa(f/n)e at this point anymore).

    Afaik you can just go to definition in literally any language, typing or no.

    No you can’t, at least not in the same way that a static type-system allows. As dynamically-typed programs are evaluated on runtime, so you often don’t know at the time while coding what is run. In untyped/dynamically typed languages you often use heuristics to jump into stuff, which is just less precise.

    There’s more to this, but I think you get what I mean, when you programmed more intensively with static generics in Rust (compared to something similar in say javascript or python without types), IDE experience is just more precise and correct (and more fun).



  • Nah it’s also a language matter. People complain about Rusts complexity, meanwhile I complain about everything else in other languages, and am faster than in any other language, not necessarily because writing code is faster, but because I am able to just focus on writing code. I cannot tell that about other languages, because e.g. the packaging system is bad, or configuring an environment, or debugging stuff which a strong type-system would have caught already. Also IDE experience I think is the one thing that keeps me away from dynamic languages. Rust analyzer is so much better than anything else I’ve tried, and it keeps getting better (e.g. recently it was added to show whether a trait is object safe or not, and why it is not).

    Another thing that is often missed when comparing static with dynamic languages is just performance, python heavily relies on stuff written in a system language, as soon as a hot-loop is written in python, things get bad