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

help-circle


  • 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


  • I haven’t, but everytime I try python I want to quit it so quickly because of the messed up packaging system and more importantly IDE experience (and I don’t think unless you are extremely disciplined with type annotations, that you’re getting even close to rust-analyzers performance). I enjoy just exploring dependencies with go to definition, and the trust I can have in the type system.

    I’m swearing everyday in my job about typescript, which is just javascript with leaky and unnecessary complex type annotations. So yeah I even consider typescript bad (and I doubt that python is better with type-checking).





  • Yeah mushrooms contain a good amount of umami (one of the ingredients of meat that makes it “tasty”). For me it took quite some time (maybe 2-4 years) until my gut adjusted to the taste of a (mostly) vegan diet. But then there’s just a lot more diversity and interesting taste otherwise. With a good amount of experimentation combining all kinds of different things to compose a unique taste. With meat it’s often just the main taste-defining/dominating ingredient (so kinda boring?). I avoid the highly processed “meat”-replacements though, maybe that helped a bit to get my taste away of meat.


  • And from the downvotes I conclude that this will remain a mostly secret judge. It’s sad, that you don’t see it yet, this will very likely be the future whether you like it or not (when we don’t fuck it up completely, but I’m somewhat hopeful).

    The argument that meat is cheaper is also not really true anymore. There’s basically no reason to eat meat anymore. Matter of fact, I developed a distaste to meat when I mostly stopped with eating meat, after eating way too much before (tastes kind of rotten compared to plant-based), try it out, it’s easier than you think, and gets easier over time.


  • Eating meat although they’re fully aware, that we have to shift completely away of that (GHG emissions, land-use), and then blame the government that they need to regulate this more.

    Yes more government regulations would be great, but it’s one of the few individual things that have effect, if everyone would think similar. And a vegan or mostly vegan diet is not really worse in taste and likely more healthy as well… Eating meat is not sustainable (nor morally justifieable), it should be a thing of the past…



  • I mean I can just take a job in the states, they pay quite a bit more there compared to Europe, and it can be even more targeted in the area of my interest (low-level stuff in Rust which pays even better than what I can find here)… Locally the jobs are pretty limited (at least those that interest me)… Everyone wants Java/C# or JS devs here (all languages I’ll try to avoid, and I suspect it has to do with maintaining old (tech-debt) code-bases which I try to avoid even more)… But I’m quite happy with my team currently and just have rant about JS everyday, but at least don’t have to maintain tech-debt (at least not something that I haven’t produced myself^^)… And I get great food for free… Hmm trade-offs.






  • Yes it’s absolutely depressing. Also just thinking about the idiocratic/authoritarian/right-wing movement that doesn’t want to do against or even wants to accelerate climate-change.

    But apart from good things that are happening right now (as I just watched it https://youtu.be/vUA1kFSJnYQ)

    Think about it, there are what > 8 billion people in a highly developed /technological advanced world, how realistic is it really that everyone of them will die for good? Evolution took all kinds of measures to avoid it. There will likely be humans (unfortunately likely those that mostly caused climate-change) that will survive. We can already create artifical climate, there’s vertical farming that can be isolated from the outside. Even if we’re approaching a hell like planet with > 10 C warming, it’s not that we don’t have very cold places that may be suitable for living then. Yes it will be a lot less people but I don’t believe in a total collapse. We have all kinds of redundancy with data storage etc. know-how won’t just be lost.

    Also while all of this is happening rapidly on a geological timescale it’s still slow for humanity and it’s ability to adapt. We’re still talking about centuries, for the hellish kind of development. It’s getting uncomfortable the next decades, but likely so that humanity will finally grasp the fuck up, and takes effective counter-measures. Also the probability that we advance quick enough to sequester carbon so fast (and find safe geoengineering), to reverse at least some of the tipping points is still on the table.



  • It is a reactionary response to Capitalism’s decay

    Interesting theory, need to think about that. Though I don’t think Fascism and Capitalism are necessarily exclusive. (As example China, which is I’d say fascist and against the usual theory of “communism” quite state-capitalistic)

    If you understand that the rate of profit trends towards zero, why would you think Capitalism is stable?

    Because the trend is clearly not to zero currently, there’s a lot of rich people (and the number is growing), profit is still growing, it’s just that the gap between poor and rich is also growing. But Capitalism doesn’t care about a lot of poor people. How that will be long-term is another story (as said ecosystems are the limiting factor).