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

Frameworks Round 4

TechEmpower

This round adds Bottle (Python), Dancer (Perl), Kelp (Perl), MicroMVC (PHP), Mojolicious (Perl), Phalcon (PHP), RingoJS (JavaScript), Spark (Java), and Wai (Haskell). Additionally, we’ve added our fourth test called “Fortunes” which exercises server-side templates and collections. View Round 4 results now.

Framework 552
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. 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. 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. 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. JavaScript.

Framework 544