4 ms·
"I have no idea why if porting Chrome to bionic was so hard, they didn't use a regular Android build but run Chrome using ld-linux and glibc (and the rest of th
by DannyBee 13y ago
"I have no idea why if porting Chrome to bionic was so hard, they didn't use a regular Android build but run Chrome using ld-linux and glibc (and the rest of the system with bionic). You'd have to write something to bridge Chrome's content to the outer system via shared memory and IPC but (having done so once myself) this is much less work than hacking up a whole operating system!"
Just so i'm clear, your suggestion would be to use a completely hacked up libc, running on a platform not made for it, using shared memory and IPC hacks as well, for an app made to run as part of a TV 24/7?
I'm not sure i'd agree with your engineering choices. :)
"They really wanted to be able to run Chrome, before Chrome had been ported to bionic/Android..."
It's weird that you assume this is the issue, and then explain why it probably wasn't.
I can assure the the platform was not built on glibc solely because of the need to run chrome :)
The reasons GTV was such a "messed up platform" are entirely mundane (IMHO).
- randallu 13y ago> your suggestion would be to use a completely hacked up libc, running on a platform not made for it, using shared memory and IPC hacks as well, for an app... When last I did this I was able to build Chrome for Ubuntu ARM and copy over Ubuntu's libc and the runtime linker. I didn't have to even rebuild them, so I wouldn't say it was a "completely hacked up libc". It obviously wasn't ideal either, but it's similar to using chroot (only without calling chroot). GTV forked Android in a binary incompatible way ensuring that no NDK apps can run on it. An entire forked platform! I'd rather everything ran natively with no trickery, but if I couldn't have that then I'd definitely prefer to have one hacked up app than to ship an entire incompatible platform! > It's weird that you assume this is the issue, and then explain why it probably wasn't. Oh, whoops. I don't know why GTV is the way it is, but I assumed it was to support Chrome. Sorry if I'm mistaken; I have no inside knowledge on it. I'm assuming that Chromecast is also a Chimera OS and I'm curious if Google plan to ship it long-term since I don't see Android and Chrome converging technically. I do feel like Android is a better "fit" for something like the Chromecast, though.
- jessaustin 13y agoThe reasons GTV was such a "messed up platform" are entirely mundane (IMHO). What were those reasons?
- DannyBee 13y agoSadly, HN is too public for this kind of conversation.
- chimeracoder 13y agoSlightly OT, but I always recognized you on HN as a lawyer - now I see it appears you have an engineering background as well? Why the switch?
- DannyBee 13y agoSo, without trying to to go into too much detail, I am both. I have a degree in CS, and i actually worked my way up the eng side at google (and other companies) before being a lawyer. Mainly on compilers and version control systems (GCC, LLVM, Subversion). Being both was always my plan, and I actually still do both lawyering and engineering on a daily basis, though i'm an eng manager now rather than an engineer.