Remove Document Remove Java Remove Writing
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. I'll do my best to keep this document up to date. It had the best support for the Java 8 language features at the time I went looking.

Java 560
article thumbnail

Efficient multiple-stream concatenation in Java

TechEmpower

With three streams we could write Stream.concat(Stream.concat(a, b), c). Note the warning in the documentation of Stream.concat(a, b) : Use caution when constructing streams from repeated concatenation. Stream a = Stream. of ( "one" , "two" ); Stream b = Stream. of ( "three" , "four" ); Stream out = Stream. concat ( a , b ); out.

Java 200
Insiders

Sign Up for our Newsletter

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

Trending Sources

article thumbnail

Mangling JSON numbers

TechEmpower

Theoretically we can send it from a Java server to a JavaScript client via JSON and both sides see exactly the same number. To convince ourselves that this number is safe, we examine various representations of this number in Java and JavaScript: // In Java long x = 1L. It passes our verifyLongFitsInDouble check.

article thumbnail

Framework Benchmarks

TechEmpower

Netty , Vert.x , and Java servlets are fast, but we were surprised how much faster they are than Ruby , Django , and friends. For this exercise, we aimed to configure every framework according to the best practices for production deployments gleaned from documentation and popular community opinion. Java / JVM. Since Vert.x

Framework 560
article thumbnail

Frameworks Round 1

TechEmpower

Netty , Vert.x , and Java servlets are fast, but we were surprised how much faster they are than Ruby , Django , and friends. For this exercise, we aimed to configure every framework according to the best practices for production deployments gleaned from documentation and popular community opinion. Java / JVM. Since Vert.x

Framework 544
article thumbnail

JS Saturday | Javascript Beginner to Advanced in One Day!

Tech Zulu Event

Aaron Heckman , maintainer of Mongoose, the MongoDB object document modeler and an active member of the nodes community. Troy Miles , A designer and developer of software since 1979 writing games in assembly and C. Since then he has written code in C++, C#, Objective-C, Java, JavaScript and Python.