News for hackers. Stuff that matters.
Re:Apple's follow-up to M1 chip goes into mass production fo... by rmorey on Tuesday April 27, 2021 @06:29PM (#26962715)
There basically already is in the M1: https://www.anandtech.com/show/16226/apple-silicon-m1-a14-de...

tl;dr it has really sick floating point double performance which directly translates to JS performance

Re:Apple's follow-up to M1 chip goes into mass production fo... by saagarjha on Wednesday April 28, 2021 @02:23AM (#26966304)
Most JavaScript JITs do math on integers.
Re:Apple's follow-up to M1 chip goes into mass production fo... by rmorey on Thursday April 29, 2021 @01:29PM (#26983996)
Only if using the BigInt type: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...

all other numbers are floats

Re:Apple's follow-up to M1 chip goes into mass production fo... by saagarjha on Thursday April 29, 2021 @04:11PM (#26986095)
No, this is independent of BigInt. JITs speculate that numbers are integers for performance.
Re:Apple's follow-up to M1 chip goes into mass production fo... by rmorey on Thursday May 06, 2021 @09:54AM (#27063212)
Hmmmm okay! I see what you're saying now.