News for hackers. Stuff that matters.
Re:Swift for TensorFlow by riku_iki on Friday March 30, 2018 @10:03PM (#16721244)
Curious why not Go. Google has much more control over Go than Swift.
Re:Swift for TensorFlow by rahikainen on Saturday March 31, 2018 @01:49AM (#16721947)
I don't understand why anybody would ever use Go outside of backend development. It's just language lacking lots of features without giving any benefits.
Re:Swift for TensorFlow by chrislattner on Saturday March 31, 2018 @02:35PM (#16724489)
As DannyB mentioned in his post, Google is very technology driven, not usually driven by zealotry. Using Swift for this purpose has specific technical motivations that will be spelled out in the white papers we are publishing in April.

-Chris

Re:Swift for TensorFlow by riku_iki on Saturday March 31, 2018 @03:05PM (#16724622)
I didn't mean to blame anybody in zealotry, it is purely technical considerations: it is much easier to maintain and develop codebase when you have more organizational control and can push changes to mainstream, comparing to forked project, when your changes may not be accepted to main branch.
Re:Swift for TensorFlow by relyks on Friday March 30, 2018 @10:37PM (#16721359)
This is actually surprising. Are the machine learning engineers at Google (besides Chris Lattner) admitting that Swift is a better language than Go? :) I would be surprised to find out if he was the only one involved in the decision
Re:Swift for TensorFlow by DannyBee on Friday March 30, 2018 @11:43PM (#16721590)
So, i'm the closest thing to Chris's counterpart in language land (I own all of Google's production and cloud programming languages, including Go). We also go way back to nearly the beginning of llvm days. Chris and I certainly talked about this.

I guess i don't really understand why anyone would think this is surprising. Like, i understand the knee jerk reaction, but I guess i don't understand why i would try to force him to do something else.

Chris is a high level engineer who decided he wanted to prototype and build a system in a language he's familiar with and feels is a good match for his problem space. People generally agree it's a good match for his problem space and his familiarity/etc makes him more effective in getting things done there. This doesn't mean anything else is a bad match (general purpose languages are often good at multiple use cases, hence the reason they are considered general purpose)

Why would I try to stop him and force him to use another language?

What tangible benefit would such a thing bring Google?

It's not like Google is a bunch of language zealots who think everything must be written in language X - it already supports a number of production languages, because different languages tend to have different tradeoffs for different use cases.

Outside of that framing, i have trouble thinking of a sane goal that would be served by trying to force him to do it in a different language.

But if i'm missing something, i'd love to know!

Re:Swift for TensorFlow by gok on Saturday March 31, 2018 @12:44AM (#16721766)
Well initially preferring to use a homegrown solution (like a programming language) isn’t necessarily a sign of zealotry. Dogfooding is good :)

Go just seems like a much worse match for this problem than Swift. Wrong type system, wrong compiler architecture, wrong runtime design, wrong language evolution strategy. This is in so many ways a great match for Swift.

Re:Swift for TensorFlow by DannyBee on Saturday March 31, 2018 @01:37AM (#16721919)
"Well initially preferring to use a homegrown solution (like a programming language) isn’t necessarily a sign of zealotry. Dogfooding is good :)"

Sure it's not necessarily.

Building on top of something that is yours, simply because it is yours, is in fact a form of zealotry.

It is fairly unrelated (IMHO) to building on top of something that is yours so you can make sure you experience what your customers will experience.

IE Building your own ML on top of your Java thing because you want your customers to build ML on top of your Java thing would make sense. Building your own ML on top of your Java thing just because it's yours does not by itself make sense. (IE it has to provide some particular value over not building it yourself, etc, otherwise it's pretty clear zealotry)

Re:Swift for TensorFlow by netheril96 on Saturday March 31, 2018 @02:40AM (#16722095)
Regardless of whether it is zealotry or not, Google certainly has a habit of developing everything (software side) of its own.
Re:Swift for TensorFlow by DannyBee on Saturday March 31, 2018 @12:18PM (#16723864)
When Google started doing it, there weren't a lot of good options to solve the problems it has. As that has changed, so has Google (but like any large company, it changes slowly)
Re:Swift for TensorFlow by m_ke on Friday March 30, 2018 @11:25PM (#16721517)
Yes, they're admitting that Swift is a way batter language for data science work.
Re:Swift for TensorFlow by AlphaSite on Saturday March 31, 2018 @11:16AM (#16723631)
To be perfectly frank, most languages probably are.
Re:Swift for TensorFlow by Can_Not on Saturday March 31, 2018 @09:30AM (#16723207)
Also why not kotlin/kotlin-native?
Re:Swift for TensorFlow by riku_iki on Friday March 30, 2018 @11:05PM (#16721455)
Looks like some decisions at Google are made somehow chaotically, reminds me TypeScript Angular and Dart Angular.
Re:Swift for TensorFlow by netheril96 on Saturday March 31, 2018 @02:42AM (#16722102)
Google is not monolithic. The Go designers have an emphasis on keeping the language simple (or lackluster in my opinion), and they would never agree to such a thing if they are still in power.
Re:Swift for TensorFlow by DannyBee on Friday March 30, 2018 @11:36PM (#16721557)
Because it's not about control?