2 ms·
Ah! But ram is a performance requirement, not a simplicity thing. Simple software can often be extremely inefficient with how it uses ram - and complex software
by josephg 3y ago
Ah! But ram is a performance requirement, not a simplicity thing. Simple software can often be extremely inefficient with how it uses ram - and complex software can be complex because it makes good use of the underlying hardware.
I 100% want lean, fast software. But software being lean and fast is often at odds with it being simple. As an example, I’ve written a very complex realtime collaborative text editing library in rust that’s about 3000 loc. I’ve also ported the algorithm to JavaScript in about 500 lines. The JavaScript version is simpler by any metric - and it uses about 10x the ram and runs 100x slower than the optimised rust code.
My point is the rust code is better. It sounds like you may agree - at least in part.