Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Past the syntax similarities, both of these languages are intended replacements for an 'old' language (Objective-C => Swift, Java => Kotlin) on a dominant mobile platform, with interoperability as a major selling point (requirement?). As a mobile dev (mainly iOS) this is awesome to see and although I love me some Objective-C, working with swift has been a pleasure. Now Java on the other hand... (shudders). With Google making Kotlin an official/first-class language and the syntax being so similar to swift I could see myself spending more time working with Android.


I assume Google will try to replace Java with Dart, because they have recently been focused on Flutter [1] [2] and Fuschia [2] development which are (mostly) C++ and DartLang stack.

[1]: https://flutter.io/

[2]: https://github.com/flutter/

[3]: https://github.com/fuchsia-mirror


> I assume Google will try to replace Java with Dart

I would have expected this, but not after pushing Kotlin. Kotlin is shiny enough to temporarily distract the typical developer from the daily struggles with the abysmal Android API.

Kotlin and Java it will be for the next 10 years, for better or worse.

Dart is not very popular within Google itself, and Fuchsia is nothing more than a paid hobby project[0].

[0] See https://www.reddit.com/r/programming/comments/6a026o/googles... for a pretty damning review


According to what Fuchsia developer Travis Geiselbrecht said in the public Fuchsia IRC channel,the OS “isn’t a toy thing, it’s not a 20% project, it’s not a dumping ground of a dead thing that we don’t care about anymore.”[0]

[0]https://arstechnica.com/gadgets/2017/05/googles-fuchsia-smar...


Interesting link. One of the relies to the review of fuchsia gives a different view as to why there are inefficiencies in it:

..."All of the things you mentioned have known solutions making it easy to improve down the road."...[0]

[0] https://www.reddit.com/r/programming/comments/6a026o/googles...


Given the level of activity on [Fuchsia's project repos][0], I find it very unlikely that it's just a hobby project. That amount of activity is on-par with Android itself. If it is just a hobby, it's an extremely expensive one.

[0]: https://github.com/fuchsia-mirror


> Dart is not very popular within Google itself

I was under the impression that pretty much all the frontend work at google was compiled from Dart.


Dart is used for AdWords [0] and AdSense [1]. Both of which account for 89% of Google's revenue.

It's also used for Google's internal CRM (Greentea), and Google Fiber.

[0] http://news.dartlang.org/2016/03/the-new-adwords-ui-uses-dar...

[1] http://news.dartlang.org/2016/10/google-adsense-angular-dart...


Only AdSense.


Isn't AdSense a pretty big deal within google?


Yes, the Ads organization is huge and has a large influence on front-end development in general at Google.


> both of these languages are intended replacements for an 'old' language (Objective-C => Swift, Java => Kotlin)

It may be true for Swift but Google never claimed Kotlin is replacement of Java. I guess people are getting overly excited and making claims that Google did not. Kotlin is low effort developer friendly move by Google. Jetbrains will do work on language and tooling and Google would provide some Android-Kotlin related docs and support.


That's true Google never named Kotlin as a replacement to Java. Although naming it a first-class Android language seems like a pretty big move (actions over words), and given an official option between Java and Kotlin I believe most dev's will begin moving towards Kotlin. intended was probably the wrong word for me to use, should have been probable or likely.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: