Supersonic JavaScript

Posted by & filed under Uncategorized.

A few days ago, I gave a talk at the most recent Web Tech Talk meetup hosted by Samsung. The title is Supersonic JavaScript (forgive my little marketing stunt there) and the topic is on changing the way we think about optimizing JavaScript code. None of the tricks presented there will make your code break… Read more »

Tracking JavaScript Annotations

Posted by & filed under Uncategorized.

One of the interesting features of Esprima is to retrieve every comment inside a JavaScript source. Even better, each comment can be linked to the related syntax node. This is very helpful (like in the case of JSDoc) since any additional information regarding the program can be provided via the comment serving as a form… Read more »

Nashorn: The New Rhino on the Block

Posted by & filed under Uncategorized.

The most recent Java 8 release came with lots of new features, one of them is the brand-new JavaScript engine to replace the aging Rhino. This new engine, called Nashorn (German for rhinoceros), is high-performant and specification compliant. It is definitely useful whenever you want to mix-and-match your Java and JavaScript code. To check the… Read more »

Exploring Eclipse Orion 5

Posted by & filed under Uncategorized.

Eclipse Orion released its latest version 5, right before the most recent EclipseCon. This new version packs several exciting features, everything from stylistic change in the appearance to an streamlined cloud deployment. My favorite is the easy-to-use Node.js bundle. With Orion 5, it is supertrivial to try out Orion (assuming you have Node.js and npm):… Read more »

The Phenomenal Fluent 2014

Posted by & filed under Uncategorized.

This week it’s all about the most recent Fluent Conference 2014 in San Francisco. It’s the third Fluent and boy, it’s getting more phenomenal than ever. For my part, I presented a talk on the topic of Design Strategies for JavaScript API (slide deck, 2.2 MB PDF download). If you are a regular reader of… Read more »

API Names and Static Polymorphism

Posted by & filed under Uncategorized.

While static polymorphism is often discussed in the context of C++ (in particular, related to CRTP and method overloading), we can generalize the concept to help us choosing the most optimal function and property names of a public interface. This also applies to JavaScript API, of which some examples and illustrations are given in this… Read more »