Sunday, May 3, 2015

It will be no Java Dart and the future of Android? – Hypertext

The Android applications are typically written in Java, but one of the many groups working on different projects Google is experimenting with a new way to develop Android using Dart, the web language designed by Google. The goal is to write applications without relying on Java and faster and with greater ease of being integrated with the web world.

Dart is created by the developers of the popular Chrome V8 engine (Node.js), after suffering constant frustration to develop web applications with languages ​​not designed for that mission because of their age. At a conference on Dart she has taught the first steps of Dart Android. It is called Sky and is opensource . It is in a preliminary stage, but promising.

The main objective of the project is to provide a new quota for fluid and quick to Android. Now 60 fps (frames per second) is the rate at which developers are trying to reach, but unfortunately not always reach it. The Sky project establishes a rate of 120 fps that, for the moment, meaningless by 60Hz refresh LCD and AMOLED using our smartphones. But there already monitors 144hz 120hz and even with improvements in the fluidity with which we see the motion across the screen. A more drink less blur and screen tearing.

In the demo presented at the conference, he was getting hardware rendering frames every 1.2ms. And even a demo, it’s pretty espeactacular considering you have to render an image every 8ms to achieve a rate of 120 fps. The “trick” is that the thread of the main UI never blocks by calling APIs of the operating system, so the user, although there are delays and slowdowns, never appreciated in the interface.

The other key point Dart is the web . It is therefore not dependent on any particular platform and the application may Android, iOS or any OS that has a Dart virtual machine run. Almost all the calls executed in the application code are served via HTTP, the URL being based Sky (Dart Android). The disadvantage is that the application will not work when you are offline and the application will take 1 or 2 seconds to load because they have to run the HTTP calls and download the information, which can be arranged through cache, I guess.

Relying on HTTP calls has a great advantage: everything depends on the server. The developer does not need to edit the code, compile and send to revision. The code would be hosted on the web server and serve all customers just have to close and open the application to update. It is very similar to how it would work a website.

In a small Android framework that allows application design easily with many elements Material Design is no longer available. Applications developed with Sky have access to all Android API as a common application developed in Java, but with the advantage of being 100% integrated with the web and be much more quickly and efficiently.

relying on the web to run one is still crazy application, but with more and more users connected 24 hours a day and the facilities would developers, it is not unreasonable that the future will resemble these strokes in the present.

  • Github development team Sky

  • I found the presentation by Arstechnica.

LikeTweet

No comments:

Post a Comment