When a team of Google coders looked out across the collection of computer languages in 2007, they saw hundreds of perfectly good tools for writing software but none that offered the right features for Google. That is, a language that supported building the Google vision of a galaxy of software packages working together in Google’s vast collection of servers.
Posts tagged as “javaworld”
Last week we looked at callbacks and promises. I made a case for using promises to easily coordinate asynchronous code. This week, we’ll dig further into understanding promises and look at the syntax.
Builders of the Google Go language (Golang) are exploring directions for the language’s next generation. Major themes emerging for Go 2 include support for better error-handling and generics. While Go 1 was a small team effort, Go 2 will be more community-driven. Enhancements for Go 1.13 are also under consideration.
JavaServer Faces (JSF) is the Java standard technology for building component-based, event-oriented web interfaces. Like JavaServer Pages (JSP), JSF allows access to server-side data and logic. Unlike JSP, which is essentially an HTML page imbued with server-side capabilities, JSF is an XML document that represents formal components in a logical tree. JSF components are backed by Java objects, which are independent of the HTML and have the full range of Java abilities, including accessing remote APIs and databases.
MariaDB is popular fork of MySQL, founded by Monty Widenius, the main author of the original version of MySQL. As Serdar Yegulalp explains in his MariaDB tutorial: Get started with MariaDB, MariaDB has “many powerful features included by default rather than only available as add-ons, and many performance, usability, and security improvements that aren’t guaranteed to show up in MySQL.”
Amazon has unveiled a boatload of new machine learning services for AWS. The new offerings include AI services for developers, models and algorithms for Amazon SageMaker, automatic data labeling and reinforcement learning services, and AWS-optimized versions of TensorFlow and other familiar machine learning libraries.
Programmers frequently need to sort elements from a database into a collection, array, or map. In Java, we can implement whatever sorting algorithm we want with any type. Using the Comparable interface and compareTo() method, we can sort using alphabetical order, String length, reverse alphabetical order, or numbers. The Comparator interface allows us to do the same but in a more flexible way.
With its Corretto 8 Java build, Amazon Web Services is readying its own no-cost distribution of standard Java featuring long-term support, giving Java users a potential alternative to Oracle’s own Java Development Kit (JDK).
Java’s HotSpot virtual machine could be fitted with a race-detection tool and other monitoring capabilities, under a proposal being floated in the OpenJDK community. A data race in a Java program makes the program incorrectly synchronized, which leads to erroneous, nondeterministic, and unexpected behaviors.
For years, Google Cloud Platform has built more geewizardy-type services than anyone else, leading the other cloud providers in things like AI. It has also done the best job of building impressive open source communities like Kubernetes and TensorFlow. And yet Google Cloud Platform remains a distant third in the public cloud computing contest, with the usual reason cited being: Google doesn’t “get” enterprise.