3 ms·
100% agreed. I think when it comes to performance, the biggest takeaway from Casey/Jonathan is to just have the computer do less work. If you can get away with
by sirwhinesalot 5y ago
100% agreed. I think when it comes to performance, the biggest takeaway from Casey/Jonathan is to just have the computer do less work. If you can get away with just poking at a big buffer then that's what you should do. It keeps the code both simple and efficient, no need for 30 layers of abstractions.
But beyond that, IMO, it's fine to use higher-level constructs and target higher-level "platforms" (i.e. electron) to improve portability, developer productivity, etc. Even within that setting you can avoid doing things that pessimize your performance, and that's often enough for a massive improvement.
Dogma is the bane of software-development, be it abstraction at all cost, immutability at all cost, or performance at all cost, etc.
- webmaven 5y ago> Dogma is the bane of software-development, be it abstraction at all cost, immutability at all cost, or performance at all cost, etc. You seem very sure of that.
- sirwhinesalot 5y agoI do not claim to be enlightened, I am as flawed as my peers ;)