I'm noticing a concerning pattern among interviewees where I work; smart c++ coders who know about O notation and SIMD, but have no idea that memory management is a thing / important for performance.
A lot of them solve performing math on >64bit numbers by storing the numbers in strings too 😶
@logicalerror May I ask what's the preferred way? An array of long long?
@alvis an array of 8, 16, 32 or 64 bit integers that you use to basically simulate an integer of x bits that can be enlarged when necessary
@logicalerror Great, thank you! Now I think I'm smarter than those smart c++ coders😎
@alvis well, their failure is mostly a lack of knowledge I think (but you might very well be smarter!)
Monado 是一个以任天堂为主、面向全平台游戏的、非营利性的中文向社区。在这里,你可以畅所欲言一切和游戏有关的东西,包括但不限于游戏日常、心得、感想、同人等;当然,吐槽自己的生活也完全没有问题。请在遵守所在国家或者地区法律法规的前提下自由的使用。
@alvis well, their failure is mostly a lack of knowledge I think
(but you might very well be smarter!)