News for hackers. Stuff that matters.
Re:Swift is like Kotlin by _31 on Thursday May 18, 2017 @07:14AM (#14366288)
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.
Re:Swift is like Kotlin by piotrkubisa on Thursday May 18, 2017 @07:37AM (#14366407)
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

Re:Swift is like Kotlin by _pmf_ on Thursday May 18, 2017 @08:53AM (#14366764)
> 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

Re:Swift is like Kotlin by hooluupog on Thursday May 18, 2017 @09:30AM (#14367005)
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...

Re:Swift is like Kotlin by kyrra on Thursday May 18, 2017 @09:17AM (#14366911)
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...

Re:Swift is like Kotlin by Ajedi32 on Thursday May 18, 2017 @09:41AM (#14367082)
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

Re:Swift is like Kotlin by tym0 on Thursday May 18, 2017 @10:20AM (#14367409)
> 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.

Re:Swift is like Kotlin by yrio on Thursday May 18, 2017 @04:59PM (#14371039)
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...

Re:Swift is like Kotlin by _pmf_ on Thursday May 18, 2017 @10:27AM (#14367474)
Only AdSense.
Re:Swift is like Kotlin by MR_HANDS on Thursday May 18, 2017 @12:38PM (#14368695)
Isn't AdSense a pretty big deal within google?
Re:Swift is like Kotlin by JeremyBanks on Thursday May 18, 2017 @02:03PM (#14369528)
Yes, the Ads organization is huge and has a large influence on front-end development in general at Google.
Re:Swift is like Kotlin by geodel on Thursday May 18, 2017 @03:11PM (#14370160)
> 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.

Re:Swift is like Kotlin by _31 on Friday May 19, 2017 @03:51AM (#14373662)
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.