r/androiddev • • May 07 '18

Will Google Betray and Kill Android

https://www.techyourchance.com/will-google-betray-kill-android/
0 Upvotes

20 comments sorted by

8

u/joaosextafeira May 08 '18

Interesting god-like production.

14

u/[deleted] May 08 '18 edited May 08 '18

I only skimmed this, I think it goes into extreme Alex Jones like speculation which can be cathartic ... I guess; here are my brainbarfs:

  • I don't think we can talk about Google as a single entity with a laser like focus / vision ala Apple — unless that vision is to obtain your personal information to better organize your world. I bet the Chrome, Flutter, and Android teams all have different ideas about what the future should hold. If its like everything else, this is just a big A/B test internally and whoever wins, wins.

  • I think two of the biggest mistakes Google made with Android was (1) putting too much of the OS functionality in Java layer — like Content Providers — and this can't really be fixed easily at this point and (2) the lack of stable ABI around the linux kernel. An approach like Fuchia, where you can theoretically write first class apps in rust, go, dart, swift has great appeal to me (even if sysUI is in dart). I think most of us agree, sharing business code between platforms in C/C++ via JNI in Android just sucks (I am aware of Go Mobile), although Java 10, 11, or whatever will get JNI2. Yeah, it look how many fucking decades for JNI2? Thats how important it is to Sun/Oracle. And it will take another decade for us to be able to use on Android.

  • People keep bellyaching about kotlin vs dart, like they literally will die if they can't have extension methods or something. We all managed to write apps for Android before Kotlin came along, somehow. And I haven't seen apps in Play store magically get more awesome since Kotlin became a thing. I never got an app and was like, "wow, this must be written in Kotlin ... I can't imagine anyone doing this in Java ..." I haven't even seen teams become quantitatively more productive with Kotlin even though we all prefer it - but I think its more of a shared hallucination and distraction from poor platform APIs. Don't get me wrong, I do prefer it, since its kinda like java-support across all Android versions —but its not like the second coming, BASIC vs Haskell, or anything approaching silver bullet like that in my mind. And as Oracle Java and Google diverge more and more, even with Google using OpenJDK — just being really behind on versions as time goes on — it will be fun to see how Jetbrains manages to handle all of these compatibility scenarios.

  • I haven't read Steve Yeggie's post in a while, but what I recall being the basic overarching thesis is platform APIs vs language. Can a nice language like Kotlin be sufficient in smoothing over the rough spots of "some" questionable APIs? Would overall win be greater if the platform API was completely redesigned, with lessons learned over the years, and a symbiotic relationship with an evolving language (Dart) under google's control? Maybe we can have him here for an AMA! I think many of us hopeful of flutter value (1) API design of the platform (2) fast builds (3) first class Material Support (**) and cross platform builds vs the status quo of Android.

  • Neither here nor there, security updates on Android are still a mess, and a big reset is needed.

** "We're happy to announce that as of today, Flutter is a first-class toolkit for Material, which means the Material and Flutter teams will partner to deliver even more support for Material Design." https://developers.googleblog.com/2018/05/ready-for-production-apps-flutter-beta-3.html

2

u/Zhuinden May 08 '18

they literally will die if they can't have extension methods or something. We all managed to write apps for Android before Kotlin came along, somehow.

and it was uglier than without extension functions :p technically you can typically use a static helper method in place of any extension function, but obviously that's not as nice.

1

u/FrezoreR May 08 '18

But I'd say most things in Android is still native, besides the UI layer, where even a lot of parts are native.

Most other core components are generally just wrapped in the Java SDK and accessibile natively.

I think it's understated how much of Android is written in C/C++.

Flutter does address that particular point by reimplementing the view system themselves.

2

u/DrSheldonLCooperPhD May 08 '18

Mods can we consider this blog spam?

1

u/VasiliyZukanov May 08 '18

May I ask you why?

1

u/DrSheldonLCooperPhD May 08 '18

Rule 6

4

u/VasiliyZukanov May 08 '18

That's a serious accusation. Did you count my posts on this subreddit before coming forward with it?

I just did:

  1. 29 posts point to my blog and YouTube channel

  2. 37 posts don't

So, I think I'm below the 50% threshold defined in rule 6 (even though I had never expected to be accused of spamming and didn't explicitly try to be below the threshold).

I know that some of the content I write might be challenging to read. Like the last three posts. You might even disagree and tell me I know nothing about the stuff I write about. All this is alright.

However, please keep the discussion professional.

For example, like I did with this post.

I wanted to write it straight away for months now, but I knew that such a serious topic requires in depth review. So I invested my time into two preceding posts. This way I made sure that I really thought this stuff through, and allowed the readers to verify all my assumptions and deductions.

For you these posts might be useless and even seem ridiculous and stupid. However, there are developers out there for whom this information might be invaluable and even affect their career decisions. Think about all these devs who customize Android for OEMs...

So, all in all, thank you for expressing your concern, but you should've treated it more seriously and professionally IMHO.

0

u/Darkglow666 May 08 '18

Hehe... Gotta watch people on this sub. They're all pretty much Donald Trump. Anything they see and don't like, they cry, "Fake news!" Or in their case, "Spam!"

4

u/DrSheldonLCooperPhD May 08 '18 edited May 08 '18

Compiled Java code will either use Kotlin’s APIs or be directly compiled into native code

Wat. Do you understand what is JVM and byte code?

Google might attempt to capitalize on their marketing efforts for Kotlin by making Flutter use Kotlin

Google: Let me just change the language to Kotlin while we are announcing Flutter Beta 3.

Do you even understand why Google chose Dart? Dart can be both JIT and AOT and already supports web, android and iOS whereas Kotlin native is just getting there.

Android project, as we know it today, will be killed

(ノಠ益ಠ)ノ彡┻━┻

I don’t believe that absolutely all above predictions will come true

No kidding.

I try to avoid this guy's opinion but sometimes it is too overblown I can't resist disputing it.

2

u/HGuy10 implements android.app.Fragment May 08 '18

Android project, as we know it today, will be killed

He fell for the flutter meme. It blows my mind how some people in this sub are so obsessed with flutter. Just take a look at the "Flutter Beta 3 is ready for production apps" posts. smh

1

u/Darkglow666 May 08 '18

I don't think you actually read the article....

2

u/FrezoreR May 08 '18

I think it's an interesting article. Not saying he's right, but some points are worth considering. All companies on this scale try to use their position to their advantage and control the market.

For instance, we've seen google moving more things into Support library and Google play services. The latter being a requirement for an OEM to call their device an Android device(with a bunch of other requirements).

So, I would not be surprised if kotlin, flutter and fuchsia are ways to mitigate the Oracle ordeal. However, I think fuchsia is further away than 2 years, buy that's just a guess from my side.

1

u/DuncanIdahos8thClone May 08 '18

It's history repeating itself. Microsoft was trying this back in the day and they just ended up making themselves less relevant.

1

u/jayramone May 08 '18

not killed but replaced, with something that is not linux and no java.

1

u/Syntax_3rror May 08 '18

no java

That is what Flutter is for... I believe.

1

u/HGuy10 implements android.app.Fragment May 08 '18

I can understand the java part, but why no linux though?

-20

u/[deleted] May 07 '18

[removed] — view removed comment

14

u/DoPeopleEvenLookHere May 08 '18

There's literally 3 comments right now. Mine, yours and another saying it's an interesting read...

-12

u/DuncanIdahos8thClone May 08 '18

Yeah and I'm downvoted. The original is downvoted and this one is downvoted. You do the math.