News for hackers. Stuff that matters.
Re:Play Store and Android Apps Coming to Chromebooks by radarsat1 on Thursday May 19, 2016 @03:30PM (#11733050)
I'm curious just on the technical side, what does this mean for the many apps that include ARM code? (i.e. apps that use the NDK) Will there be some emulation, or do apps generally ship with multi architecture?

Edit: Ok, the answer is, both. Thanks ;)

Re:Play Store and Android Apps Coming to Chromebooks by izacus on Thursday May 19, 2016 @03:56PM (#11733247)
1.) Majority of the apps with NDK code will ship x86 binaries as well. It's very rarely a problem.

2.) For those that don't, libhoudini does an ok job even on slower phones. On faster chromebooks that shouldn't be an issue at all.

Re:Play Store and Android Apps Coming to Chromebooks by azakai on Thursday May 19, 2016 @07:40PM (#11734715)
This does, however mean that

1. This depends on closed-source code (libhoudini is Intel code, and it's not open, last I heard). I guess it's not the first piece of closed-source code in Chromebooks, but it's a crucial piece.

2. This code is still not portable, it just runs on 2 archs, unless someone writes a libhoudini for all other archs as well.

Re:Play Store and Android Apps Coming to Chromebooks by izacus on Friday May 20, 2016 @04:31AM (#11736306)
What "other archs"? Android only supports 3 ARM architectures (all of them will load armeabi binaries), x86 and MIPS (with 0 MIPS devices or phones being on the market).

Chromebooks run only ARM or x86.

Again, this is an issue that's relevant to a tiny minority of the applications since vast majority do not ship native binaries.

Re:Play Store and Android Apps Coming to Chromebooks by azakai on Friday May 20, 2016 @11:16AM (#11738494)
Even if no official Android devices use MIPS today, that could change tomorrow. And there are lots of Android forks, I would be very surprised if none of them use MIPS.
Re:Play Store and Android Apps Coming to Chromebooks by lallysingh on Thursday May 19, 2016 @11:37PM (#11735414)
I don't think it's a major blocker, qemu already let's you emulate any arch that you need. Replacing libhoudini with a qemu based version would likely be straightforward.
Re:Play Store and Android Apps Coming to Chromebooks by mtgx on Thursday May 19, 2016 @05:19PM (#11733951)
"In reality, we expect about one quarter of the apps to not have Intel [x86] binaries," Hornung told Ars

http://arstechnica.com/gadgets/2016/05/the-play-store-comes-...

Hopefully that means we'll see a lot more ARM-based Chromebooks as well going forward. No need for an Intel monopoly in the architecture agnostic Chrome OS world, so I hope Google and its partners will stop encouraging that monopoly going forward.

Cortex A72/Snapdragon 820 have Core M-level performance. If Core M is good enough for a $400 Chromebook, then those are also good for a $300 touch-enabled Chromebook.

Re:Play Store and Android Apps Coming to Chromebooks by HNcow on Thursday May 19, 2016 @03:39PM (#11733106)
I'm not an expert in this field, but I did want to say that I had an Asus Zenfone 2 (x86 phone) for a brief time, and app compatibility was never an issue. I ran into 0 apps that I couldn't run.
Re:Play Store and Android Apps Coming to Chromebooks by mrmose on Thursday May 19, 2016 @04:00PM (#11733280)
I had the Zenfone 2 as well, and the notable exception to that was Snapchat. About six months ago, they stopped making x86 versions of the app, and video was pretty pitiful.
Re:Play Store and Android Apps Coming to Chromebooks by Splendor on Thursday May 19, 2016 @04:29PM (#11733526)
Have you had a chance to compare that to the performance of their non-x86 app? I'm curious because I've found SnapChat to perform exceptionally poorly on every Android device I've tried.
Re:Play Store and Android Apps Coming to Chromebooks by mrmose on Thursday May 19, 2016 @06:25PM (#11734356)
Yes. No issue with the Nexus 5. Recording video with the Zenfone 2 was pretty poor -- totally choppy.
Re:Play Store and Android Apps Coming to Chromebooks by bitmapbrother on Thursday May 19, 2016 @03:43PM (#11733127)
Most apps ship with multiple binaries for the appropriate architecture. For those apps that don't have the necessary binaries the native code will be translated on the fly to the host architecture instruction set. Since Chromebook's are significantly faster than smartphones the small performance hit shouldn't be noticeable.
Re:Play Store and Android Apps Coming to Chromebooks by sounds on Thursday May 19, 2016 @03:49PM (#11733178)
There are also many Arm Chromebooks.
Re:Play Store and Android Apps Coming to Chromebooks by Grazester on Thursday May 19, 2016 @03:56PM (#11733253)
Are there?
Re:Play Store and Android Apps Coming to Chromebooks by 0x6c6f6c on Thursday May 19, 2016 @04:07PM (#11733347)
They are pretty well split.

Many x86 Chromebooks offer several tiers that obfuscate the data, but in terms of product line releases, they're about 50/50.

Both Samsung Chromebooks, ASUS Chromebook Flip, HP Chromebook 14 G3, Haier and Hisense's both as well, for example, are ARM devices.

Re:Play Store and Android Apps Coming to Chromebooks by Grazester on Thursday May 19, 2016 @09:24PM (#11735070)
Ah, the list of x-86 Chromebooks easily out number the ARM ones available.
Re:Play Store and Android Apps Coming to Chromebooks by thescriptkiddie on Thursday May 19, 2016 @03:51PM (#11733202)
Source? On Android and under ARC you're SOL if an NDK app doesn't provide binaries for your architecture. This is rarely an issue though, as most apps just opt to ship with binaries compiled for every supported ABI.

https://developer.android.com/ndk/guides/abis.html

Re:Play Store and Android Apps Coming to Chromebooks by izacus on Thursday May 19, 2016 @03:55PM (#11733233)
That's not really true - x86 devices mostly come with libhoudini layer which can load and translate ARMv7 binaries on the fly. Hence if the app ships armeabi code you're pretty much set.
Re:Play Store and Android Apps Coming to Chromebooks by bitmapbrother on Thursday May 19, 2016 @05:14PM (#11733909)
ARC is dead. The Android Framework in ChromeOS is now a container.
Re:Play Store and Android Apps Coming to Chromebooks by twotavol on Thursday May 19, 2016 @03:54PM (#11733227)
"For those apps that don't have the necessary binaries the native code will be translated on the fly to the host architecture instruction set"

How would this happen?

Re:Play Store and Android Apps Coming to Chromebooks by masklinn on Thursday May 19, 2016 @03:57PM (#11733256)
Via an ARM/Android emulator? There's already one in the android development suite.
Re:Play Store and Android Apps Coming to Chromebooks by fla on Thursday May 19, 2016 @04:04PM (#11733319)
Thanks god no :) That would be really slow and painful. It is a translation layer, not an emulator.
Re:Play Store and Android Apps Coming to Chromebooks by bitmapbrother on Thursday May 19, 2016 @05:13PM (#11733902)
binary translation.