An interesting post in Git mailing list: creator of JGit describes, what they have to do in order to make their Java implementation of Git faster and why they are still slower than C implementation.
#git #c #java
#git #c #java
Check out this brave attempt to emulate union types in Java via checked exceptions.
#java #exception #type
#java #exception #type
Java, SQL and jOOQ.
Java’s Checked Exceptions Are Just Weird Union Types
This fun fact has been on my mind for a while, and a recent reddit thread about “Smuggling Checked Exceptions with Sealed Interfaces” made me write this post here. Namely, Java had unio…
Java Generics are Turing Complete.pdf
481.1 KB
Ladies and gentlemen, please welcome JEP 430: String Templates!
They've decided to bring something like string interpolation to Java, but to do it BETTER than everyone else.
The result is, well, quite surprising:
#java #language #jep
They've decided to bring something like string interpolation to Java, but to do it BETTER than everyone else.
The result is, well, quite surprising:
String s = STR."\{x} + \{y} = \{x + y}";#java #language #jep
Meet bld. New build system for Java, in Java. The goal is to be simple, predictable and understandable, without any magic funky business.
#build #java #tool
#build #java #tool
foojay
Introducing Bld: A New Pure Java Build System
We created bld because we're not really interested in build tools. We use them because we have to, but we'd rather just get on with coding.
On potential memory leak caused by double brace initialization (something along the lines of
#java #memory #leak
new HashMap<>() {{ ... }}) in Java. I believe I had to fix several such leaks in our app long time ago.#java #memory #leak
👍1
My man is breaking
#java #string
java.lang.String. To make a String not .equals to itself and stuff like that. Amazing! Just imagine maliciously adding code breaking e.g. interned "id" to some popular lib.#java #string
My man has implemented a toy JVM in Rust. Here you'll find a series of posts with details on .class files, bytecode and other aspects of his rjvm thingy.
#java #jvm #rust
#java #jvm #rust
Can't even add anything here, the title pretty much speaks for itself: A one-sentence summary of each new JEP from JDK 21
#java #jdk
#java #jdk