Articles, Home

Java Stack

The Java Stack class is a classical stack data structure, where elements can be pushed onto the top of the stack, and popped off the top again. This Java Stack tutorial explains how to use the Stack class.

Articles, Home

JDK14 instanceof EA issue

Tagir Valeev recently had a tweet about the preview feature of the soon coming JDK14 release of Java: #Java14 pattern matching brings name shadowing to the next level of craziness. Here I add or re…

Articles, Home

Disrupting QA: Trends in Code Quality Automation

This presentation reviews recent developments in code analysis as well as the history of static analysis in commercial software and its evolution in the academic world. It provides an overview of the current commercial landscape, and conclude with best practices for organizations looking to bring static analysis into their software development environment and software testing practices. Historically, static code analysis has been widely used to identify defined sets of security issues via overnight runs across entire code bases. A recent trend has been the evolution of static analysis methods and tools to: 1. become much more scalable and 2. leverage machine learning to substantially improve code quality. These improvements allow a much tighter integration of these software quality assurances practices into modern agile development processes. At the same time, the scope of these code analysis tools has broadened from purely security-relevant bugs to performance and reliability issues like memory leaks and data races. Google and Facebook have pioneered a new model of static analysis deployment that involves improving developer productivity via broad deployment of extremely scalable static analysis (billions of lines of code / thousands of commits per day). Video producer:

Articles, Home

Apple Open Sources ServiceTalk to the Java Community

Apple has open-sourced ServiceTalk, a JVM network application framework that provides a common and extensible networking abstraction built on top of Netty. ServiceTalk was conceived to improve low-level abstractions provided by Netty such as threading and usability. The goal of open-sourcing ServiceTalk was to provide building blocks that would enable contributions from the Java community.