HackerTrans
TopNewTrendsCommentsPastAskShowJobs

ArkyBeagle

no profile record

comments

ArkyBeagle
·il y a 10 ans·discuss
segfaults are hardly an inevitability in 'C'/C++ .
ArkyBeagle
·il y a 10 ans·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
·il y a 10 ans·discuss
This too...
ArkyBeagle
·il y a 10 ans·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
·il y a 12 ans·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.