News for hackers. Stuff that matters.
Re:Linux apps running on iOS via userspace x86 emulation and... by sitharus on Sunday November 11, 2018 @10:36PM (#18430416)
Since last year Apple have allowed executing user-input code providing the application is designed for teaching programming, https://twitter.com/palmin/status/871980560943636480 has a summary. I can't link to the actual doc since that's behind a login.

I'm not sure how this app would be allowed though.

Re:Linux apps running on iOS via userspace x86 emulation and... by simonh on Monday November 12, 2018 @07:16AM (#18432143)
Pythonista has been on the App Store for 6 years. The first programming environment on the iPad I ever used was Codea which is based on Lua which was released in 2011, but there are many more. Genuine programming environments directly hosted on iOS have been around for a long time.

The main restriction in the past was on apps that downloaded code to run. For Pythonista and Codea and such this meant you had to either type in or cut-and-past in your code. However Pythonista has had the ability for you to write or paste in a dropbox sync script or FTP server script, etc, for may years, they just couldn't include it as standard. Since then this has been eased up so Pythonista now has a built-in feature to sync scripts to iCloud.

Re:Linux apps running on iOS via userspace x86 emulation and... by joezydeco on Monday November 12, 2018 @08:35AM (#18432480)
You can get a lot past the TestFlight review, which seems to be automated now. Probably just checks for API abuse and whatnot.

Getting to App Store is a human review.

Re:Linux apps running on iOS via userspace x86 emulation and... by saagarjha on Sunday November 11, 2018 @10:38PM (#18430424)
I make the argument that this application downloads and emulates code that is user-editable in the form of x86 binaries, which is the same as Pythonista or similar downloading and running Python code.
Re:Linux apps running on iOS via userspace x86 emulation and... by tluyben2 on Sunday November 11, 2018 @11:05PM (#18430517)
I would think Apple themselves are looking into this (probably on the processor level as they control that now) for iOS; in order to make it more free for devs / users while having software run securely sandboxed, they need a way of running 'anything' securely. So I don't think they mind users testing out different ways of making it work and learn from it.

Does that processor have hardware support for it already but Apple just doesn't do software support? So they can only use it themselves?

Re:Linux apps running on iOS via userspace x86 emulation and... by saagarjha on Monday November 12, 2018 @01:57AM (#18431028)
Sorry, I don't quite understand your question. Are you asking whether Apple has put support in their processors for running arbitrary code inside a sandbox?
Re:Linux apps running on iOS via userspace x86 emulation and... by jakobegger on Monday November 12, 2018 @02:35AM (#18431132)
They are asking if the A series Apple chips have virtualisation features like Intel VT-x
Re:Linux apps running on iOS via userspace x86 emulation and... by saagarjha on Monday November 12, 2018 @02:38AM (#18431142)
I think they do, at least recent ones should. I don't think Apple has explicitly documented this anywhere, but I recall reading something like this recently.
Re:Linux apps running on iOS via userspace x86 emulation and... by sitharus on Sunday November 11, 2018 @10:45PM (#18430450)
I like that argument. I wonder if Apple will.
Re:Linux apps running on iOS via userspace x86 emulation and... by saagarjha on Sunday November 11, 2018 @10:46PM (#18430454)
Well, it's on TestFlight already, so it's already passed one round of Apple's screening.
Re:Linux apps running on iOS via userspace x86 emulation and... by jsjohnst on Monday November 12, 2018 @07:49AM (#18432280)
TestFlight builds to my knowledge only have to pass the automated scan. As such, as long as the dev isn’t using private APIs or doing other forbidden things that can be statically scanned for, it’ll get past that point.
Re:Linux apps running on iOS via userspace x86 emulation and... by tbodt on Monday November 12, 2018 @12:01AM (#18430696)
I don't think that was a very deep look at the app, especially since you have to know how to use a Linux prompt to understand that this app is an emulator.
Re:Linux apps running on iOS via userspace x86 emulation and... by saagarjha on Monday November 12, 2018 @12:25AM (#18430762)
> I don't think that was a very deep look at the app

I doubt it was, but my headcanon is that some poor App Store reviewer saw something that looked like code and grabbed a supervisor to do a deeper review.

Re:Linux apps running on iOS via userspace x86 emulation and... by TheSpiceIsLife on Monday November 12, 2018 @01:02AM (#18430865)
I haven’t heard the term headcanon before.

https://www.urbandictionary.com/define.php?term=Headcanon

An idea, belief, or aspect of a story that is not mentioned in the media itself, but is accepted by either the media consumer themselves or the fandom in general. If it is confirmed by the creator of the story, it becomes canon.

Re:Linux apps running on iOS via userspace x86 emulation and... by majewsky on Monday November 12, 2018 @08:35AM (#18432481)
It's a quite popular term, but only within media fandoms. So if you don't fancy searching for clues in each single frame of a new episode of $TV_SHOW and arguing with strangers on the internet about how to interpret the exact wording in that dialogue, you probably haven't come across it yet.
Re:Linux apps running on iOS via userspace x86 emulation and... by kevin_thibedeau on Monday November 12, 2018 @01:31PM (#18434519)
That's a pretty arbitrary exception especially when Apple wants us to believe that iPads have made "computers" obsolete.