java-10
Image with slug java-application-class-data-sharingImage with slug java-application-class-data-sharing
Improve Launch Times On Java 13 With Application Class-Data Sharing#post#java‐10 #java‐12 #java‐13 #performance
On Java 10+, you can use application class-data sharing to reduce launch times, response time outliers, and memory footprint. By archiving class data with -Xshare:dump and loading it with -Xshare:on, the JVM's class loading workload can be reduced considerably. Image with slug talk-java-varImage with slug talk-java-var
Fun with
A live-coding talk where I show off all you need to know about var#talk#core‐lang #default‐methods #generics #lambda #java‐10 #varvar in Java. And then some. Image with slug java-var-traitsImage with slug java-var-traits
Unlocking Traits With
In Java 10, var#post#default‐methods #java‐10 #lambda #varvar makes it is possible to ad-hoc combine traits into an instance that matches your exact requirements. Alas, it has some downsides. Image with slug java-var-anonymous-classes-tricksImage with slug java-var-anonymous-classes-tricks
Tricks with
Local-variable type inference with var and anonymous classes (that you should never use at work)#post#core‐lang #java‐10 #varvar makes it easier to work with anonymous classes, e.g. for ad-hoc fields and methods. Don't do it, though! Image with slug java-var-intersection-typesImage with slug java-var-intersection-types
Unlocking Intersection Types With
Java 10's var#post#generics #java‐10 #varvar makes intersection types in Java more approachable. Generics tricks are still needed, but var makes it easy to declare such variables. Image with slug java-10-var-type-inferenceImage with slug java-10-var-type-inference
First Contact With 'var' In Java 10#post#java‐10 #java‐basics #var
Java 10 introduces the var keyword, which lets the compiler infer local variable types. Here's how var works, why it exists, how it impacts readability. Image with slug var-java-10Image with slug var-java-10
First contact with
How to use var in Java 10#video#java‐10 #varvar, where it works and where it doesn't (and why), and how it might impact readability