r/linux • • Nov 20 '19

Kernel Google outlines plans for mainline Linux kernel support in Android

https://arstechnica.com/gadgets/2019/11/google-outlines-plans-for-mainline-linux-kernel-support-in-android/
1.0k Upvotes

305 comments sorted by

View all comments

Show parent comment

5

u/quaderrordemonstand Nov 20 '19 edited Nov 20 '19

This has often been Google's way. Start with the desired solution and fit the problem to it. It's a common problem with "clever" people who want their "clever" answer to be the solution to everything.

That attitude applied when there tech lead was asked why they chose Java for Android and he said "we tried all the alternatives and they sucked". Which explains things like Dart, turning JS into Java because they can't cope with change.

1

u/EternityForest Nov 20 '19

Is someone actively teaching and promoting this "One elegant solution for all problems" thing?

Like, what's going on in those computer science classes anyway? Do they teach LISP and everyone tries to replicate that same experience of programming and forgets all about practicality and established standards?

1

u/jdrch Nov 20 '19

Do they teach LISP

No, Scheme 😂 (or at least that's what my intro class taught.) Hopefully all CS intro courses teach Python now.

1

u/jdrch Nov 20 '19

why they chose Java for Android

IIRC that decision was made before Google acquired Andy Rubin's startup, and Google couldn't rewrite Android in a different language + deploy associated tooling in time to compete with iOS.

2

u/quaderrordemonstand Nov 20 '19

Perhaps it was Andy Rubin that said it? I remember reading it several times back when Android was relatively new, I recall that exact phrasing was used. Now I can't find it anywhere and can't remember who actually said it. I wonder if Google has deleted it from the internet since.

It still speaks to the ivory tower attitude of Google's people, whoever said it. Every other language except Java sucks. It might also be the one language that person likes using but that's irrelevant, he definitely checked all the others. I also recall Android being a frame rate crap shoot at that time when iOS was super smooth. Its improved since thought almost certainly not because of anything to do with Java.

2

u/jdrch Nov 20 '19

Every other language except Java sucks

I mean, you also have to bear in mind that at that point in time Java was the most popular programming language. Android (the startup) wanted to make the OS easy to adopt, develop for, and support. They didn't want to force devs to learn something completely new. I'm not asserting choosing Java achieved those goals, but I do think that was their motivation.

Clearly it left them with a lot of technical debt and a licensing/patent nightmare as a result.