article thumbnail

Everything about Java 8

TechEmpower

The following post is a comprehensive summary of the developer-facing changes coming in Java 8. At the time of this writing, Java 8 development is still very much in progress. It had the best support for the Java 8 language features at the time I went looking. Language features and APIs may still change.

Java 560
article thumbnail

Framework Benchmarks Round 22

TechEmpower

The benefit of the object pascal language is obvious: it is at the same time a high-level language (with interfaces, classes and safe ARC/COW strings), safe and readable, but also a system-level language (with raw pointers and direct memory buffers access).

Framework 409
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

article thumbnail

EnumSet and EnumMap

TechEmpower

from Java's standard libraries. private static E [] getUniverse ( Class elementType ) {. There is a single backing array instance of those Month constants living in memory somewhere ( a private field in the Class object for Month ), but it wouldn't be safe to pass that array directly to every caller of values(). What are they?

Java 330
article thumbnail

Mangling JSON numbers

TechEmpower

The check can be made in one central location, no changes to our view classes or client-side code are required, and it only throws exceptions in the specific cases where our default behavior is wrong. Theoretically we can send it from a Java server to a JavaScript client via JSON and both sides see exactly the same number.

article thumbnail

One million HTTP RPS without load balancing is easy

TechEmpower

40 threads and 256 connections Thread Stats Avg Stdev Max +/- Stdev Latency 247.05us 3.52ms 624.37ms 99.90% Req/Sec 27.89k 6.24k 50.22k 71.15% 31173283 requests in 29.99s, 3.83GB read Socket errors: connect 0, read 0, write 0, timeout 9 Requests/sec: 1039305.27 Undertow is the lightweight Java web application server used in WildFly.

EC2 514