Re:A Million Digits of Pi in 9 Lines of JavaScript
by wasnthere on Thursday September 12, 2019 @03:50PM
(#20955646)
JS Error `No identifiers allowed directly after numeric literal` when running http://ajennings.net/pi.html on Mac OS Mojave 10.14.6, Safari 12.1.2 (14607.3.9)
[ Parent
| on HN ]
Re:A Million Digits of Pi in 9 Lines of JavaScript
by MildlySerious on Thursday September 12, 2019 @03:55PM
(#20955702)
Safari does not support BigInt yet it seems.
Re:A Million Digits of Pi in 9 Lines of JavaScript
by oehtXRwMkIs on Thursday September 12, 2019 @04:00PM
(#20955766)
Safari seems to be consistently behind these days, not sure why.
Re:A Million Digits of Pi in 9 Lines of JavaScript
by LeoPanthera on Thursday September 12, 2019 @04:07PM
(#20955860)
Apple seems to be the only browser developer that makes user-centric changes first, not developer-centric.
I'm OK with that.
Re:A Million Digits of Pi in 9 Lines of JavaScript
by recursive on Thursday September 12, 2019 @10:54PM
(#20958768)
It seems user-centric to you know... make the browser work for what users what to use it for. Like generating digits of pi.
Re:A Million Digits of Pi in 9 Lines of JavaScript
by nacs on Friday September 13, 2019 @01:23PM
(#20964223)
Yes I'm sure there's a lot of consumers that want to calculate large amounts of digits of Pi in their browser..
Re:A Million Digits of Pi in 9 Lines of JavaScript
by recursive on Friday September 13, 2019 @06:37PM
(#20967357)
I didn't say that. You're moving goalposts anyway. Calculating pi isn't the only use for big ints. The more practical application is maybe crypto or something.
But some users want to do it.
Re:A Million Digits of Pi in 9 Lines of JavaScript
by hnaccy on Thursday September 12, 2019 @04:09PM
(#20955891)
Given their $$$ seems like they could do both.
I don't think BigInt is some adtech anti-feature.
Re:A Million Digits of Pi in 9 Lines of JavaScript
by nicoburns on Thursday September 12, 2019 @04:23PM
(#20956035)
Safari also does releases less often than Chrome/Firefox. They are behind, but not by that much.
Re:A Million Digits of Pi in 9 Lines of JavaScript
by wp381640 on Thursday September 12, 2019 @09:19PM
(#20958224)
Given the recent influx of iOS exploits that have centered around WebKit they should probably adjust that priority
Re:A Million Digits of Pi in 9 Lines of JavaScript
by Thorrez on Thursday September 12, 2019 @10:14PM
(#20958524)
Will adding developer-centric features help reduce vulnerabilities? Generally adding any feature would increase vulnerabilities because of the increased surface area.
Re:A Million Digits of Pi in 9 Lines of JavaScript
by adam12 on Thursday September 12, 2019 @04:31PM
(#20956118)
They are afraid the browser is going to kill their cash cow.
Re:A Million Digits of Pi in 9 Lines of JavaScript
by tonetheman on Thursday September 12, 2019 @09:51PM
(#20958413)
Meh Safari is the new IE...