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). For example, in some cases a framework is tested both with and without its ORM (“full ORM” versus “Raw”).

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

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

Everything about Java 8

TechEmpower

The List interface is an example. Here are a few examples of lambdas: Comma-separated list of inputs with specified types on the left, a block with a return on the right: (int x, int y) -> { return x + y; }. Two examples of classes with one abstract method are Ordering and CacheLoader from the Guava library.

Java 560
article thumbnail

Frameworks Round 2

TechEmpower

For example: Making 100000 requests to [link]. JavaScript. For example: play-scala ✓ Another update is planned for next week. We didn''t switch tools to improve the rps numbers, though. Some readers wanted to see data points that WeigHTTP wasn''t providing us. Transfer/sec: 16.29MB. Switched gigabit Ethernet. Ruby 2.0.0-p0.

Framework 559
article thumbnail

Framework Benchmarks

TechEmpower

We want this test to require repeated requests to an external service (MySQL or MongoDB, for example) so that we exercise the frameworks data mapping code. For example, on the Java platform, Jackson was used for frameworks that do not provide a serializer. For example, we used Sequelize for the JavaScript MySQL tests.

Framework 560
article thumbnail

Frameworks Round 1

TechEmpower

We want this test to require repeated requests to an external service (MySQL or MongoDB, for example) so that we exercise the framework''s data mapping code. For example, on the Java platform, Jackson was used for frameworks that do not provide a serializer. For example, we used Sequelize for the JavaScript MySQL tests.

Framework 544
article thumbnail

Choosing a Programming Language and Framework for Your Startup

SoCal CTO

For example, you may have content management and community needs that closely align with Drupal. For example, you might choose Sencha if you are building apps that run natively on several platforms (e.g., There are some cautions around these choices, but it is often the basis of a choice. desktop, mobile, browser).

Framework 330