About Cyril Mottier's "Shaping the Future of Android With Dart"
Mostly I think Cyril's arguments are valid.
I wouldn't object to another language besides Java. Especially since the ability to use the new features of Java 8 might still be far away on Android.
But what about Scala, Groovy or the like, you might ask. Well, I think Dart being a first class, Google supported citizen would be another matter altogether. Despite the fact that I agree mostly with Cyril's post, I think the post needs some kind of reply. And as much as I love Google plus, I think it's not the appropriate forum for my reply. So I stick to my old-fashioned blog - with it's even more old-fashioned look 🙂
I do not know whether Dart is a superb language. I only have had quick perfunctory glances on slides or the odd look at the dartlang.org website whenever the topic Dart crept up. I also missed the Google Dart flight school this winter and haven't develop anything decent in Dart at all. Yet from what I've read it looks like a decent enough and modern language that I would like to dig into. So Google bringing it to Android? That would be a very good reason for me to finally have a deeper look 🙂
What's important: Whatever Google comes up with, I strongly believe it's going to run on ART. I wouldn't be too surprised to learn that the initial reason to create a new VM in the first place, was inspired by Google's wish to support other languages better. But as everything in this post, that's just mere speculation. Pure guesswork.
There is a big reason for this: It's the easiest path to migration. It allows people to keep using existing libraries (no matter whether those are plain old Java libraries or specific Android library projects). If those libraries couldn't be used anymore, any other language would have a very difficult start.
It might also allow different teams of bigger organizations (think Facebook, Twitter, or those over-careful and very slow-movers like banks and insurances) to use both languages for one app (or app family). The hip front end team already uses Dart while those taking care of the database, synchronization and what not, keep using Java (for the time being). Cyril left this one very vague. I can't understand why? For me that's a necessity. Without it there's no successful path to a quick adoption.
If there is one thing, where I didn't agree with Cyril, it's his paragraph, where he suggests that Dart could be the one language for all of Google's projects. Such that Google could get rid of Python, Java, C++ and whatever else they use. I don't think that's feasible. For two reasons:
- The question of existing libraries exists for Google projects as well. Of course Google could reinvent the wheel all the time - they have enough people to do so. But that would be a foolish waste of energy. I don't think it's likely that Google is going to do that.
- One language is rarely suited for all kind of development efforts. That was never true for Java, has never been true for C and probably is not true for Dart as well. For one it's a VM language again. So whenever Google used C or C++ instead of Java or anything else, they will continue to do so instead of using Dart. And there's also the matter of the existing code base and libraries only in use within Google itself. Maybe my knowledge of Dart is too superficial to see how to do that efficiently with Dart. So that reason might not be valid at all. But my guess is, that it is.
One last thing: Generally speaking: I hate speculations. So me taking part at a speculative rumour mill, is a big exception. Let me know if you like this kind of post. And of course, what you think about this topic. I'm interested in what you've got to say. Am I totally off? Does this sound reasonable? Is it worth speculating at all?
相關推薦
About Cyril Mottier's "Shaping the Future of Android With Dart"
Mostly I think Cyril's arguments are valid. I wouldn't object to another language besides Java. Especially since th
Derek Straub: Shaping the future of additive manufacturing
Scattered about Derek Straub's office — its walls only slightly muffling the screech of the surrounding machine shop — are intriguing artifacts: webbed met
It's Watching What You Eat: Machine Vision and The Future of Consumer Products Manufacturing
Rather, this new reality applies to the cameras enabled with machine vision capabilities that are increasingly being placed inside advanced production faci
The eventual demise of Moore’s Law and alternatives for the future of high performance computing.
What can be done?Despite these potential issues, research on nontraditional methods of computing promise higher performance in the future.GrapheneA view of
I Met Magic Leap's AI Assistant Mica & Saw the Future of Augmented Reality
Unlike VR, when you're talking about augmented reality, describing what an experience is like can be incredibly difficult -- primarily because the experien
Everyone is saying membership is the future of journalism. Here’s how you can put it into practice
Everyone is saying membership is the future of journalism. Here’s how you can put it into practiceEight years ago I began what at first glance is a rather
What You Need to Know About the Intents of Android's Calendar App
When your app needs to access calendar data you have to choose whether to use the CalendarContract content provider o
make: Warning: File `Makefile' has modification time 1.8e+06 s in the future
通過 系統 -m time war rom 我想 warning mes 通過這個錯誤提示信息我們可以知道,Makefile的修改時間點是Linux當前的一個未來時間點。可以通過修改Linux的當前時間來解決這個問題: $sudo date -s ‘hh:mm:ss yy
apply opatch has modification time 2.8e+04 s in the future
一. 問題描述 [[email protected] 24006111]$ /u01/app/oracle/product/11.2/db_1/OPatch/opatch apply Oracle Interim Patch Installer version 11.2.0.3.1
Self-Driving Cars and the Future of Transportation
So, what’s it like? Let me start off by saying, once you experience not having to deal with rush-hour traffic there is no going back. The technology is mos
Envisioning the future of water for 900 million people
When James Wescoat made his first research trip to India more than 40 years ago, it was to study the impressive waterworks of the bygone Mughal Empire — an
MIT Energy Initiative study reports on the future of nuclear energy
How can the world achieve the deep carbon emissions reductions that are necessary to slow or reverse the impacts of climate change? The authors of a new MI
10 Ways AI Will Alter the Future of Work
As artificial intelligence invades more and more aspects of our lives, one of the big questions on everyone's mind is how it will affect our jobs. Will we
The Future of Brain Science
If the past is any guide, the thrilling future of neuroscience has already arrived, but most of us just haven't noticed it yet. With previous scientific br
Embracing the future of AI and wearable tech in the workplace
The modern workplace has already embraced advanced technology with smart devices, paperless workplaces, cloud services and wearable tech that tracks employ
Voice: The Future of Retail Banking
When you consider the timeline of artificial intelligence (AI), the emergence of the technology as a viable means to automate retail banking services has o
AI and the Future of Healthcare Keynote
The benefits of artificial intelligence – speed, accuracy, and automation of mundane tasks – take on new importance as patients demand the same levels of s
Poll: the future of voting is
In light of Defcon's report on the vulnerability of US electronic voting machines.https://www.wired.com/story/voting-machine-vulnerabilities-defcon-voting-
The Future of Alternatives: AI in Alternatives
As the alternative assets industry continues to grow, Preqin is launching an initiative examining the Future of Alternatives. In conjunction with key indus
What’s driving the growth of ICOs in 2018?
Despite the massive drop in the value of cryptocurrencies in 2018, investment into ICOs has soared. This may reflect a return to the fundamental purpose fo