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

Framework Benchmarks Round 11

TechEmpower

jawn (java). mangooio (java). jawn (java). mangooio (java). many Lua tests and several JavaScript tests). Meanwhile, the total number of frameworks has increased by 26. The new frameworks are: silicon (C++). aleph (clojure). pedestal (clojure). crystal-raw (crystal). moonshine (crystal). sails (js). clancats (php).

Framework 200
Insiders

Sign Up for our Newsletter

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

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). As with previous rounds, the developer community has contributed several additional frameworks for Round 4, bringing the total to 57!

Framework 552
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
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 2

TechEmpower

Third place is held by plain Java Servlets running on Caucho''s Resin Servlet container. JavaScript. Java / JVM. Repeating its performance from last week, the Netty platform holds a commanding lead for JSON serialization on EC2. Vert.x , which is built on Netty, retains second place. Switched gigabit Ethernet. Load simulator.

Framework 559
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