Remove Content Remove Information Remove Java Remove JavaScript
article thumbnail

Mangling JSON numbers

TechEmpower

If we have a long (64-bit integer) that we serialize into JSON, we might be in trouble if JavaScript consumes that JSON. JavaScript has the equivalent of double (64-bit floating point) for its numbers, and double cannot represent the same set of numbers as long. The output of x.toString() in JavaScript is suspicious.

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. Interface improvements.

Java 560
Insiders

Sign Up for our Newsletter

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

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. See Environment Details below for more information. In third place is plain Java Servlets running on Cauchos Resin Servlet container. With the content type set to application/json. JavaScript.

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. See Environment Details below for more information. In third place is plain Java Servlets running on Caucho''s Resin Servlet container. With the content type set to application/json. JavaScript.

Framework 544