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. In third place is plain Java Servlets running on Cauchos Resin Servlet container. For example, on the Java platform, Jackson was used for frameworks that do not provide a serializer. Java / JVM.

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. In third place is plain Java Servlets running on Caucho''s Resin Servlet container. For example, on the Java platform, Jackson was used for frameworks that do not provide a serializer. Java / JVM.

Framework 544