Tag: "javascript"

Intel 8080 CPU emulation in JavaScript

This week end, I wanted to try a real world project to play more with TypeScript. Why TypeScript? Because I wanted to leverage a few ES6 features but also type checking. Note that I did not use strong typing, but just relied on the inference of types provided by the TypeScript compiler. A few years ago, I wrote an Intel 8080 CPU emulator in ActionScript 3 and thought this would

Read more

A JavaScript refresh

  Versions Assembly language of the web No compiling Tools REPL Getting started A dynamically typed language Variables and scope Type conversions Runtime exceptions Primitive and composite datatypes Boolean Number Object and properties Almost everything as an object Null and undefined Loops Array Iterator Date Function Context of execution Prototype, the good old friend Closure Garbage collection Object pooling We will cover here some of the key concepts of JavaScript

Read more

Concurrency in JavaScript

Just like with Flash, JavaScript code runs by default on the UI thread, and any expensive computation will usually affect the UI responsiveness. As you may know, at 60 fps, you have around 16ms (1000ms/60) per frame to do what you have to do (computations, rendering and other misc logic). If you exceed that budget, you will alter the frame rate and potentially make your content feel sluggish or worse,

Read more

Speaking at Max 2013

Adobe Max is coming on May 4-8th in Los Angeles and I will be giving 2 sessions:  Adobe Scout: Profiling Taken to the Next Level – Monday 3:30 PM – 515B (link - http://tinyurl.com/c8xs9vf) Description: Discover how you can perform advanced profiling of your Adobe Flash Player and Adobe AIR content across mobile and desktop. Profiling in Flash Player has been revolutionized, and Gavin Peacock and Thibault Imbert from the Adobe Scout

Read more