Is JavaScript the Undisputed King?
JavaScript > bytecode
- Dynamic typing = no verification
- Type inference = delayed optimization
- Would byte code compress as well?
- Bytecode standardization would suck
- Bytecode versioning would suck more
- Low-level byte code is future-hostile
- Many humans like writing JavaScript
Oh yes he did! CoffeeScript, ClojureScript, Dart… Eich enthusiastically champions building languages that compile (or transcode) to JavaScript. (Did you know there's a project to rebuild the JVM in JavaScript? The Doppio project also spoke at StrangeLoop 2012.)
On the server; on the desktop; on mobile devices -- JavaScript already is pervasive. And if you've convinced a theater full of language lawyers, scientists, CTOs, and architects that JavaScript is the new C, you've won. Wirfs-Brock and Eich won.
Hail to the king, baby.
With 1,000 Titles, Packt has Contributed Over £300,000 to Open Source Projects
Packt now has 1,000 titles! Packt's royalties sharing model contributes a percentage of book royalties back to open source projects, and they've now exceeded £300,000 in contributions. (Packt is a UK-based company.) To celebrate their 1,000th title they are offering one free ebook to anyone who already...
Pronto.js: Creating and chaining commands
Pronto.js is a JavaScript framework for Node.js designed for writing fast, efficient, asynchronous, component-based applications. It can be used for web applications, REST API servers, command-line programs, and so on.
Pronto.js is based on the idea that code consists of three major conceptual pieces...
How Fortissimo Does Dependency Injection
Dependency Injection (DI) is a software design strategy for making software more flexible by passing an object the components it needs to get its job done. This is more flexible than having each object manage its own components. If you are not familiar with DI, check out a great introduction.
VOTE: A potentially major change to QueryPath.
TL;DR: There's an experimental version of QueryPath 3 for you to try and let me know what you think: https://github.com/technosophos/querypath/zipball/3.0.0-experimental-find-v2.1
Either respond at support-querypath@googlegroups.com or to @querypath on Twitter.
Read on for the onger explanation...
Getting Started with Pronto.js
Pronto.js is a JavaScript library for application building. Designed for Node.js, it makes writing high performance asynchronous applications much easier. And it introduces modularity so that you can build applications with highly reusable components. ConsumerSearch.com (part of About.com, a New York...
JavaScript Callbacks: The Function is Last… or Lost?
In JavaScript -- especially of the Node.js sort -- it is a common pattern to put a functional callback as the last argument in a parameter list. For example, we might define a function that looks like this:
/**
* @param {String} data
* Data to save.
* @param {Object} properties
* Properties...
Rewriting URLs for X-Forwarded-Proto and Reverse Proxies
Reverse proxies and web servers sometimes forward HTTPS traffic to their backends using HTTP. (In other words, they handle the SSL with the client, and the backend only has to handle HTTP). This can provide a speed boost, and is generally a good thing. But smart backend code may need to ensure that...
Three Months at a Standing Desk, 5 Lessons Learned
For the last three months I have been using a standing desk. Time to share the results.
I am in reasonably good shape, and I don't have any clinical back, shoulder or leg problems. But even with my high-ergonomics desk chair, foot rest, and fastidiously arranged workstation setup, a day in a traditional...
Biography of the PHP HPCloud Library
The first two articles in a series about the HP Cloud PHP bindings is available on the Cloud Matters, the official HP Cloud blog. Matt Farina is writing this series.
- Part 1: Integration PHP Apps with the HP Cloud
- Part 2: Including and Bootstrapping the library
- More will come this week and next.