32 bits is small
permalink: https://wizardzines.com/comics/32-bit-small/
32 bits is small
permalink: https://wizardzines.com/comics/32-bit-small/
@Scali @b0rk Debunked by who? When? Sources? Because I've been coding and for that matter surrounded by the advice of much better coders than me since the 90s and "don't try to out-optimize your compiler" has *always* been the advice. More so these days than ever.
Sure, it probably was "debunked in the 70s". News flash man, we don't live in the 70s. Compilers are getting smarter and better at optimization all the time.
One of my friends points out your cache argument is completely backwards. CPUs use cache *better* when data is more tightly packed.
@dizzy @b0rk a lot of lesson plans are written once and not really touched except where necessary
That, and the CS field has a sizable rift between academia and practicianers, so educators can be out of date
This is of course colored by my experience, but it is very unusual for me to see someone use a `short` in code (a C/C++ compiler will generally promote it to an `int` at the first opportunity anyway), though `uint16_t` in an interface happens where appropriate