Java Language

Java language news, information, and how-to advice

modular java
A man sitting as his computer in a dark office looking at the screen intensely.

glasses focus

Java focuses on modularity, real-time apps in 2015

Modular Java, due in Java 9, makes for a sleeker footprint, while Safety-Critical Java targets secure real-time systems.

redmonk language rankings

JavaScript, Java lead the way in RedMonk language rankings

RedMonk's Programming Language Rankings measure usage on GitHub and Stack Overflow, where JavaScript and Java continue to lead the pack.

Invokedynamic 101

What do you need to know about using invokedynamic and the java.lang.invoke API package in Java 7 and Java 8?

modular java

Modular Java's changes could break IDEs

As Oracle presses forward with Project Jigsaw, it is notifying developers of potential changes to apps and IDEs that use the JDK.

More new features coming to Java 9

Oracle commits to swapping JARs for modules in JDK 9 and adds four new JEPs. Comments for the targeted JEPs close on December 1.

functional programming

Functional programming's high efficiency comes at a cost

Though tough to define, functional programming can bring real productivity boosts if you can navigate the learning curve.

Laptop keyboard entry

9 cutting-edge programming languages worth learning now

These strong alternatives to the popular languages are gaining steam -- and one of them could be the perfect fit for your next project.

Frege joins Scala, Clojure among Java functional languages

Introduced at JavaOne, the Haskell variant joins Scala and Clojure in the roster of functional or functional-inspired languages for the JVM.

9 proposed Java 9 features devs will love

Popular updates like Project Jigsaw and the new JSON API get the hype, but Java 9 promises a goldmine of new features for developers who know where to look.

Four reasons to stick with Java, and four reasons to dump it

The enterprise mainstay has proved resilient in the face of many challenges -- but just how long can Java remain a premier programming language?

java etching

Oracle's Graal project empowers language creation on the JVM

The newly released compiler combined with the Truffle language framework enables Java developers to create runtimes and compilers for new or existing languages.

javaone

Oracle exec: Java shortcomings will be addressed by Project Jigsaw

Java's chief architect discusses the long-term impact of Project Jigsaw and lays out a roadmap for the upcoming Java EE 8.

openjdk java

OpenJDK project opens up Java 9 to collaboration, experimentation

The new 'sandbox forest' will enable developers to work on ongoing enhancements before finalizing and contributing them to Java 9.

python

Pedal to the metal: PyPy 2.4 powers up Python

JIT-powered Python engine PyPy was already fast, but version 2.4 charges further ahead, thanks to multithreaded optimizations.

ChoiceFormat: Numeric range formatting

Learn how to use ChoiceFormat and its patterns to customize the formatting of numeric ranges in your Java programs.

steamy java

Java 101: The next generation: The essential Java language features tour, Part 5

Not all varargs methods will contribute to heap pollution, so find out which ones do and why, in this second half of Jeff Friesen's introduction to small language changes that have made a big difference since JDK 7.

scripting

Java, C++ slip in popularity as domain-specific languages spread

The spread of DSLs in niche fields could be gradually reducing the need for general-purposes languages like Java and C++.

on target

Scala founder: Language due for 'fundamental rethink'

The Scala road map has three upgrades planned, with a simpler, more modular language set as the end goal.

Load More