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.

Trending Sources

article thumbnail

Frameworks Round 2

TechEmpower

The latency information is now available in the results panels above (the rightmost tab in each panel). JavaScript. For example: Making 100000 requests to [link]. Transfer/sec: 16.29MB. The raw Wrk output from the latest run is in the Github repository. Additional “stripped” tests. Switched gigabit Ethernet. Load simulator.

Framework 559
article thumbnail

Framework Benchmarks

TechEmpower

See Environment Details below for more information. For example, we used Sequelize for the JavaScript MySQL tests. JavaScript. We routinely use other frameworks on client projects and we want this data to inform our recommendations for new projects. We ran each test on EC2 and our i7 hardware. JSON serialization test.

Framework 560
article thumbnail

Frameworks Round 1

TechEmpower

See Environment Details below for more information. For example, we used Sequelize for the JavaScript MySQL tests. JavaScript. We routinely use other frameworks on client projects and we want this data to inform our recommendations for new projects. We ran each test on EC2 and our i7 hardware. JSON serialization test.

Framework 544
article thumbnail

Everything about Java 8

TechEmpower

There are too many of these to link, so see the ConcurrentHashMap javadocs for more information. Nashorn JavaScript Engine. Summary of proposal: JEP 174: Nashorn JavaScript Engine. There are too many of these to link, so see the Integer , Long , Double , Float , Byte , Short , and Character javadocs for more information.

Java 560
article thumbnail

Big Data Storage Goes DNA

Tech Zulu Event

The Harvard University molecular geneticist George Church, the project’s senior researcher told the Wall Street Journal ,”A device the size of your thumb could store as much information as the whole Internet” The book contained words, pictures and JavaScript code and they were all stored and retrieved accurately.