Improve Launch Times On Java 13 With Application Class-Data Sharing#postOn 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.
Fun WithA live-coding talk where I show off all you need to know about
varin Java. And then some.
Unlocking Traits WithIn Java 10,
varmakes it is possible to ad-hoc combine traits into an instance that matches your exact requirements. Alas, it has some downsides.
Tricks withLocal-variable type inference with
varand anonymous classes (that you should never use at work)#post
varmakes it easier to work with anonymous classes, e.g. for ad-hoc fields and methods. Don't do it, though!
Unlocking Intersection Types WithJava 10's
varmakes intersection types in Java more approachable. Generics tricks are still needed, but
varmakes it easy to declare such variables.
First Contact With 'var' In Java 10#postJava 10 introduces the
varkeyword, which lets the compiler infer local variable types. Here's how var works, why it exists, how it impacts readability.