@cr1901 @pkhuong @mcc there’s just a special fast-path for them
Notices by Steve Canon (steve@discuss.systems)
-
Embed this notice
Steve Canon (steve@discuss.systems)'s status on Thursday, 23-Jan-2025 01:15:58 JST Steve Canon -
Embed this notice
Steve Canon (steve@discuss.systems)'s status on Thursday, 23-Jan-2025 01:15:55 JST Steve Canon @cr1901 @joe @pkhuong dependency-breaking xor/movzx are "free" (they have to be decoded, but they don't need to execute).
-
Embed this notice
Steve Canon (steve@discuss.systems)'s status on Thursday, 23-Jan-2025 01:15:53 JST Steve Canon @joe @cr1901 @pkhuong Intel's dedication to making that particular mistake _over and over again_ will never cease to amaze me.
-
Embed this notice
Steve Canon (steve@discuss.systems)'s status on Thursday, 23-Jan-2025 01:15:52 JST Steve Canon @joe @cr1901 @pkhuong (They did it for 8->16, 16->32, and SSE->AVX/AVX512. And each time they managed to find a way to make it worse.)
-
Embed this notice
Steve Canon (steve@discuss.systems)'s status on Thursday, 16-Jan-2025 05:53:43 JST Steve Canon @ryanc it's the thing being licensed, but the device in question does not handle any text input or output (beyond five single-digit displays), so my question is really "why on earth is there a UTF8 decoder at all"?
-
Embed this notice
Steve Canon (steve@discuss.systems)'s status on Thursday, 16-Jan-2025 05:02:27 JST Steve Canon @ryanc that is very much not the question
-
Embed this notice
Steve Canon (steve@discuss.systems)'s status on Thursday, 16-Jan-2025 04:34:35 JST Steve Canon Looking up technical information on an induction stove we might use for our house, notice a link "Information regarding Open Source Software". It's all the collected OS licenses that the stove uses. First entry: "Flexible and Economical UTF-8 Decoder"
... what?
-
Embed this notice
Steve Canon (steve@discuss.systems)'s status on Tuesday, 24-Dec-2024 22:37:07 JST Steve Canon @dalias yes, I’m exaggerating, it is _possible_ to write conforming C programs. But still we live in a world where only a very small fraction of the C code written actually is strictly conforming.
-
Embed this notice
Steve Canon (steve@discuss.systems)'s status on Tuesday, 24-Dec-2024 22:28:53 JST Steve Canon @dalias C and C++ solve this by littering the spec with so many landmines that no one can write a “correct to the spec” program. Newer languages solve it by simply not having a spec.
Fortran and COBOL remain undefeated as the only widely-used serious languages.
-
Embed this notice
Steve Canon (steve@discuss.systems)'s status on Tuesday, 03-Dec-2024 10:39:37 JST Steve Canon @mekkaokereke we kicked the pie on Friday, then Jen asked me to make another Saturday morning. We’ll be on pie #3 soon.
-
Embed this notice
Steve Canon (steve@discuss.systems)'s status on Tuesday, 03-Dec-2024 09:40:25 JST Steve Canon @Catfish_Man My code is perfect, David.
-
Embed this notice
Steve Canon (steve@discuss.systems)'s status on Wednesday, 27-Nov-2024 09:54:23 JST Steve Canon @dalias @cr1901 @kenshirriff that doesn’t mean you can’t reduce the argument! log and exp aren’t periodic either (at least, not on the real line), and we do argument reduction for them as well.
-
Embed this notice
Steve Canon (steve@discuss.systems)'s status on Wednesday, 27-Nov-2024 09:54:22 JST Steve Canon @dalias @cr1901 @kenshirriff expanding a bit more, I would say argument reduction is any process you use to go from evaluating a function on a larger interval to evaluating a related function on a smaller (in the sense of “computationally easier”) interval.
-
Embed this notice
Steve Canon (steve@discuss.systems)'s status on Wednesday, 27-Nov-2024 09:29:41 JST Steve Canon @dalias @cr1901 @kenshirriff what they said. A few steps of CORDIC still useful for atan(2) argument reduction, more if the only fast operation you have is addition. Otherwise use polynomial approximations everywhere.
-
Embed this notice
Steve Canon (steve@discuss.systems)'s status on Sunday, 17-Nov-2024 10:50:58 JST Steve Canon If you’re in or passing through Boston, the O’Keefe/Moore exhibit at the MFA is really pretty delightful.
-
Embed this notice
Steve Canon (steve@discuss.systems)'s status on Wednesday, 06-Nov-2024 00:32:28 JST Steve Canon Anecdata: this morning was the most crowded I've ever seen my polling place, and it isn't even close, including a line for new registrations out of the room and down the hall.
-
Embed this notice
Steve Canon (steve@discuss.systems)'s status on Friday, 25-Oct-2024 10:19:05 JST Steve Canon @fay59 I swear sometimes I think that I could get absolutely any nonsense API through evolution just by giving it a ridiculous enough name. Everyone will just focus on that one thing. =)
-
Embed this notice
Steve Canon (steve@discuss.systems)'s status on Saturday, 12-Oct-2024 09:36:08 JST Steve Canon @inthehands No. partially because it’s unclear what people want to happen when the modulus is negative, partially because there’s no compatible division operation. There is one on Numerics main, though, and it’s easy enough to roll your own, as you show.
-
Embed this notice
Steve Canon (steve@discuss.systems)'s status on Saturday, 12-Oct-2024 08:01:22 JST Steve Canon @fay59 Numerics has BinaryIntegers.shifted(rightBy: count, rounding: rule) fwiw.
-
Embed this notice
Steve Canon (steve@discuss.systems)'s status on Thursday, 10-Oct-2024 11:53:48 JST Steve Canon @jrose @markmalstrom (which makes it even funnier because NSArray is yet another, different thing.)