HackerTrans
TopNewTrendsCommentsPastAskShowJobs

ArkyBeagle

no profile record

comments

ArkyBeagle
·10 anni fa·discuss
segfaults are hardly an inevitability in 'C'/C++ .
ArkyBeagle
·10 anni fa·discuss
He sort of didn't say, so you're probably right. I know that's a PITA. Good thing there are 64 and 128 bit ints.
ArkyBeagle
·10 anni fa·discuss
This too...
ArkyBeagle
·10 anni fa·discuss
It's too much furniture to do that properly. You may want to overflow an integer. Granted, rings of cardinality 2^64 are unusual at best but I've used 8 & 16 bit size rings forever.

UB is just the nature of the beast.
ArkyBeagle
·12 anni fa·discuss
I call this "proposing a strawman solution". I don't know why it works, but it frequently does. I think that doing a long search for The Perfect Solution is akin to premature optimization. Changing focus for a while seems to help.