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

JS Saturday | Javascript Beginner to Advanced in One Day!

Tech Zulu Event

Have you ever wanted to learn Javascript? Have you ever found yourself in a conversation with developers and found yourself lost or even overwhelmed with new information? After attending this one day bootcamp you will be an advanced Javascript coder. If you’d like more information please visit JS Saturday.

Insiders

Sign Up for our Newsletter

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

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. See Environment Details below for more information. In third place is plain Java Servlets running on Cauchos Resin Servlet container. For example, we used Sequelize for the JavaScript MySQL tests.

Framework 560
article thumbnail

Frameworks Round 2

TechEmpower

Third place is held by plain Java Servlets running on Caucho''s Resin Servlet container. The latency information is now available in the results panels above (the rightmost tab in each panel). JavaScript. Java / JVM. Vert.x , which is built on Netty, retains second place. The latency data is captured at 256 concurrency.

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. See Environment Details below for more information. In third place is plain Java Servlets running on Caucho''s Resin Servlet container. For example, we used Sequelize for the JavaScript MySQL tests.

Framework 544