- 2 Posts
- 10 Comments
arendjr@programming.devto World News@lemmy.world•Iran Launches New Wave Of Missile Strikes On Israel As Netanyahu Vows Further AttacksEnglish10·6 days agoI see this argument repeated here every now and then, but it’s not true: https://aoav.org.uk/2020/the-effects-of-strategic-bombing-in-wwii-on-german-morale/
To summarise: Bombing had a profound effect on depressing morale through inducing defeatism, fear and apathy. Bombing did not harden popular resolve against the US. The hate and anger it aroused was directed against the Nazi regime, not the Allies.
arendjr@programming.devto Linux@programming.dev•How European countries want to reduce their dependence on Microsoft4·8 days agoHeh, I agree with everything you said, but I’m afraid such a framework is impossible to create, let alone implement. It’s impossible to foresee the infinite possibilities for people to screw themselves through bad decisions, so all you’d create is a lot of bureaucracy to still end up in the same place.
arendjr@programming.devto Programming@programming.dev•C is one of the most energy saving language6·9 days agoIt’s that the compiler doesn’t help you with preventing race conditions. This makes some problems so hard to solve in C that C programmers simply stay away from attempting it, because they fear the complexity involved.
It’s a variation of the same theme: Maybe a C programmer could do it too, given infinite time and skill. But in practice it’s often not feasible.
arendjr@programming.devto Programming@programming.dev•C is one of the most energy saving language71·9 days agoWhich one should I pick then, that is both as fast as the std solutions in the other languages and as reusable for arbitrary use cases?
Because it sounds like your initial pick made you loose the machine efficiency argument and you can’t have it both ways.
arendjr@programming.devto Programming@programming.dev•C is one of the most energy saving language5·9 days agoI’m not saying you can’t, but it’s a lot more work to use such solutions, to say nothing about their quality compared to std solutions in other languages.
And it’s also just one example. If we bring multi-threading into it, we’re opening another can of worms where C doesn’t particularly shine.
arendjr@programming.devto Programming@programming.dev•C is one of the most energy saving language71·9 days agoWell, let’s be real: many C programs don’t want to rely on Glib, and licensing (as the other reply mentioned) is only one reason. Glib is not exactly known for high performance, and is significantly slower than the alternatives supported by the other languages I mentioned.
arendjr@programming.devto Programming@programming.dev•C is one of the most energy saving language301·9 days agoI would argue that because C is so hard to program in, even the claim to machine efficiency is arguable. Yes, if you have infinite time for implementation, then C is among the most efficient, but then the same applies to C++, Rust and Zig too, because with infinite time any artificial hurdle can be cleared by the programmer.
In practice however, programmers have limited time. That means they need to use the tools of the language to save themselves time. Languages with higher levels of abstraction make it easier, not harder, to reach high performance, assuming the abstractions don’t provide too much overhead. C++, Rust and Zig all apply in this domain.
An example is the situation where you need a hash map or B-Tree map to implement efficient lookups. The languages with higher abstraction give you reusable, high performance options. The C programmer will need to either roll his own, which may not be an option if time Is limited, or choose a lower-performance alternative.
arendjr@programming.devto Technology@lemmy.world•Community Notes vanishes from X feeds, raising 'serious questions' amid ongoing EU probeEnglish1·21 days agoOf course, but it needn’t be black and white. You can also diversify, make yourself less reliant on a single platform. And by doing so, enable your audience to follow you elsewhere. Or diversify into different activities altogether. And when it’s no longer half your income on the line, then switch.
But doing nothing and saying, “but half my income!”? That’s not only a choice, but also complacency.
arendjr@programming.devto Technology@lemmy.world•Community Notes vanishes from X feeds, raising 'serious questions' amid ongoing EU probeEnglish7·21 days agoGreat points, except:
People can’t leave for anything smaller.
They can and some do. It’s still a choice.
tsc
is (very) slow and there are also no convenient ways to interact with it from Rust.So it saves a lot development and CI time to roll our own. The downside is that our inference still isn’t as good as
tsc
of course, but we’re hopeful the community can help us get very close at least.