Java 9 released

New major version of one of the most popular programming languages released
25 September 2017   1535

Great news for Java developers! New major release of one of the most popular programming languages is out now!

Java SE 9 is the latest update to the Java Platform. This release includes much awaited new features like the modularization of the Java Platform, better performance, support for new standards, and many other improvements. 

What's new?

  • Modularity
    • New, controversial modularity capabilities are based on Project Jigsaw. Modularity—in the form of the Java Platform Module System—divides the JDK into a set of modules for combining at run, compile, or build time. Modularity has been called a “transitive” change, enabling understanding of dependencies across modules. This feature is designed to let developers more easily assemble and maintain sophisticated applications.
  • Compiler improvements for Java 9 code
    • The Java 9 upgrade features several new capabilities for compiling code, chief among them is ahead-of-time (AoT) compilation. This is in an experimental phase, this feature enables compilation of Java classes to native code before being launched in the virtual machine. This feature is designed to improve startup time of both small and large applications, with limited impact on peak performance.
  • REPL
    • Java 9 has a read-eval-print loop (REPL) tool. Java 9’s REPL is called jShell. It interactively evaluates declarative statements and expressions. Developers can get feedback on programs before compilation just by entering some lines of code

And some smaller updates and improvements:

  • Steam API improved
  • JavaScript backing improved
  • HTTP/2 client support
  • HTML5 and unicode support improved
  • DTLS security API is added

Learn more at official website.

Google to Close China Search Engine Project

Dragonfly project is closed due to employees' protests
20 December 2018   378

The Intercept site reports that Google abandoned the project called Dragonfly, a search engine for China with the censorship feature. The reason - protests from the Google team responsible for data privacy.

The Intercept found out that Dragonfly’s search algorithm was based on a large database of Chinese user requests that Google collected through 265.com. It is owned by a Google subsidiary registered in Beijing. The site shows news, horoscopes, allows you to search for photos, videos and other resources, however, it does not process requests, but redirects them to Baidu. The company's engineers used the collected data to tune the search algorithm.

Usually, the question of analyzing search queries is considered by the Google team responsible for data privacy. It is necessary that the company does not violate the rights of users. However, employees learned about collecting information through 265.com only after the publication of The Intercept. They went into conflict with the leadership, and after a series of discussions, it was decided to abandon data collection through this resource. According to insiders, this imposed a serious restriction on the developers.

Over the past few weeks, engineers have tried to use data that Google normally collects in other countries. However, requests for Mandarin Chinese people are different from those entered into the search in the same language residents, for example, the United States or Malaysia. This, according to insiders, has made the development of the project virtually impossible.

The publication noted that Google has recently completely transferred several development teams from Dragonfly to products related to other countries.

The closure of the project was hit hard by Google's top managers, including the company's CEO, Sundar Pichai. According to insiders, Pichai put the development of Dragonfly in priority for two years.

Rumors about the Dragonfly project first appeared in August and immediately caused protests from the public and Google employees. Outrage caused a possible change in Google’s freedom of speech policy. In 2013, it left the Chinese market, because the censorship required by the state was contrary to the principles of the company, and after a few years she wanted to return with a finished product fully compliant with Chinese law.