Java Language

Java language news, information, and how-to advice

functional programming
Laptop keyboard entry

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.

Beyond average: 10 best practices for coding Java APIs

Stretching the limits of Java has its pitfalls, and it's also unavoidable for many advanced programming scenarios. jOOQ creator Lukas Eder offers 10 best practices for less common scenarios in API design and development.

openjdk java

Programmers could get REPL in official Java

Java could add a Lisp-based read-evaluate-print-loop tool as part of Project Kulla, but developers debate whether it's a good fit.

Big Java news in late summer 2014

Java modularity and updated JVM performance options spark developer interest in Java EE 8 and Java 9.

steamy java

Why developers should get excited about Java 9

The next generation of the enterprise development platform will feature major improvements, including modularity and API updates.

Autoboxing, Unboxing, and NoSuchMethodError

The Java NoSuchMethodError sometimes arises when pre-Java 5 classes are compiled with classes that include autoboxing and unboxing syntax. Find out why and learn how to work around it in this post.

bstroustrup

Stroustrup: Why the 35-year-old C++ still dominates 'real' dev

C++ inventor details the language's latest changes and assesses the strengths and weaknesses of its competitors.

java gears

Shipilёv on writing good benchmarks -- Java vs Scala

Writing good benchmarks begins and ends with the relentless drive to understand why your system is behaving as it does. Once you've got that down, optimization naturally follows.

Load More