Live data from Hacker News

Bringing Chrome to ARM64 Linux Devices

blog.chromium.org

11–20 of 78 posts

Re: Bringing Chrome to ARM64 Linux Devices

#12

I'm confused, how does Chrome work on ARM64 Android phones today?

What is necessary to run Linux ARM64 binaries on Android ARM64? To run conda-forge arm64 Linux binaries on Android in termux requires proot-distro because the ABIs are slightly different FWIU. What is necessary to run Android ARM64 binaries on Linux ARM64? Android Studio, LineageOS or BlissOS's outdated Android containers, a runtime like vinegarhq/sober that emulates just enough of Android. An Android binary that mak…

A fully statically compiled Linux ARM64 binary which only interacts with the kernel through syscalls should run no problem on ARM64 Android. From the kernel's perspective, there is no difference between a "Linux binary" and an "Android binary" because the kernel in Android is Linux.

Most programs want to interact with various system libraries and system services though. Android and your typical desktop Linux system share pretty much nothing aside from the kernel.

Re: Bringing Chrome to ARM64 Linux Devices

#13

I'm confused, how does Chrome work on ARM64 Android phones today?

This is "just" about providing the official Chrome binary to ARM64 "desktop" Linux.

You've been able to build and run Chromium on ARM Linux for a long time (I'm running it right now), it's just that they haven't provided an officially branded Chrome.

This is a good thing. While Chromium works well, there are a few things (like syncing) that is a bit of a pain to set up.

Re: Bringing Chrome to ARM64 Linux Devices

#15
post #12

Earlier quoted context omitted.

What is necessary to run Linux ARM64 binaries on Android ARM64? To run conda-forge arm64 Linux binaries on Android in termux requires proot-distro because the ABIs are slightly different FWIU. What is necessary to run Android ARM64 binaries on Linux ARM64? Android Studio, LineageOS or BlissOS's outdated Android containers, a runtime like vinegarhq/sober that emulates just enough of Android. An Android binary that mak…

A fully statically compiled Linux ARM64 binary which only interacts with the kernel through syscalls should run no problem on ARM64 Android. From the kernel's perspective, there is no difference between a "Linux binary" and an "Android binary" because the kernel in Android is Linux. Most programs want to interact with various system libraries and system services though. Android and your typical desktop Linux system s…

Why is it easier to run a Linux ARM64 binary on Android than to run an Android ARM64 binary on Linux?

My guess is that the reason is the same reason that there aren't official updated Android containers

Re: Bringing Chrome to ARM64 Linux Devices

#16

I have been waiting... so many years for this. Like, I figured it would never come. So happy to be wrong. Wonder if it will work well on Raspberry Pi and also if it will come with Hardware Video Acceleration out of the box.

I would have more faith in Raspberry Pi's own patched build of Chromium to do hardware acceleration properly on the Pi than I would have in Google's generic Chrome build.

Re: Bringing Chrome to ARM64 Linux Devices

#17
post #12

Earlier quoted context omitted.

A fully statically compiled Linux ARM64 binary which only interacts with the kernel through syscalls should run no problem on ARM64 Android. From the kernel's perspective, there is no difference between a "Linux binary" and an "Android binary" because the kernel in Android is Linux. Most programs want to interact with various system libraries and system services though. Android and your typical desktop Linux system s…

Why is it easier to run a Linux ARM64 binary on Android than to run an Android ARM64 binary on Linux? My guess is that the reason is the same reason that there aren't official updated Android containers

I don't know what you mean by an "Android ARM64 binary". If you make an ELF file containing ARM64 machine code, it doesn't matter to Linux whether you meant for it to run on Linux in an Android system, on Linux in a desktop GNU system, or on Linux in some environment with without much of a userspace at all (such as a stripped down initramfs environment).

If you mean something like an Android app, the answer is that there's a ton of system stuff that the app depends on, it interacts with more than just the kernel.

Re: Bringing Chrome to ARM64 Linux Devices

#19
post #7

I'm confused, how does Chrome work on ARM64 Android phones today?

they probably meant desktop. i do browser test automation (selenium, vibium), and the lack of google chrome on arm64 trips up new users frequently. the workaround is to just use chromium, but that's a confusing extra step for some if it's not automated and hidden for you. on that note, it would have been nice if they also clarified if this means they'll be shipping an official "chrome for testing" for arm64 linux, to…

Don't most people use chromium instead of chrome anyways on Linux?

Re: Bringing Chrome to ARM64 Linux Devices

#20
post #7

Earlier quoted context omitted.

they probably meant desktop. i do browser test automation (selenium, vibium), and the lack of google chrome on arm64 trips up new users frequently. the workaround is to just use chromium, but that's a confusing extra step for some if it's not automated and hidden for you. on that note, it would have been nice if they also clarified if this means they'll be shipping an official "chrome for testing" for arm64 linux, to…

Don't most people use chromium instead of chrome anyways on Linux?

most people just click the "internet" button and use whatever was already pre-installed.
Post reply on HN