Re:Google have declared Droidscript is malware
by mrtranscendence on Tuesday April 27, 2021 @12:55PM
(#26958507)
My understanding is that what's banned on iOS is not arbitrary code per se, it's arbitrary code downloaded from the internet. Code you enter yourself, like in Pythonista, is just fine.
Re:Google have declared Droidscript is malware
by danShumway on Tuesday April 27, 2021 @01:36PM
(#26959011)
> it's arbitrary code downloaded from the internet
That's a huge caveat though.
How far does that restriction extend? Can I share or import Pythonista projects from other people?
What's the difference between interpreting a file I downloaded from the Internet and visiting a website?
Re:Google have declared Droidscript is malware
by tomp on Tuesday April 27, 2021 @01:25PM
(#26958883)
Isn't the problem JITing? Mozilla could ship Firefox, even with the JS engine, it would simply be unusable (compared to Safari) because they wouldn't be allowed to run JIT (only interpreter).
Re:Google have declared Droidscript is malware
by caleb-allen on Tuesday April 27, 2021 @01:19PM
(#26958807)
I believe Pythonista is interpreted, not compiled, and outside of Apple's Swift app you are not able to run compiled code
Re:Google have declared Droidscript is malware
by lurkerasdfh8 on Tuesday April 27, 2021 @01:30PM
(#26958953)
Really? you are you going to defend that point as not arbitrary?
If you want to split hair, where would you draw the line? Should pythonista go out of the way to prevent copy paste from the browser/email?
Or should apple, being non-arbitrary, also blocks adobe PDF reader since it can open PDFs from the web with javascript just like a browser would do?
Re:Google have declared Droidscript is malware
by rhinoceraptor on Tuesday April 27, 2021 @01:05PM
(#26958646)
Firefox isn't banned, Gecko and SpiderMonkey are. For a few reasons, Apple doesn't want Blink/V8 demolishing users' batteries, and they have the excuse that allowing 3rd party browser engines is a security risk.
It is.
Even mozilla firefox is banned on the premise that it can run arbitrary code and yes, that is the official apple instance.
The fact that they apply it when they see fit and allow other times, and that it is totally arbitrary and opaque based on their own private interests, is exactly what everyone with common sense tried to explain when criticizing the walled garden.