Alvin Wan

  PhD in artificial intelligence at UC Berkeley, focusing on small neural networks in perception for autonomous vehicles; big fan of cheesecake, corgis, Disneyland


5 Stories by Alvin Wan

How JavaScript works: Optimizing for parsing efficiency

To write JavaScript more efficiently, consider deferring parsing to worker threads or avoiding parsing entirely by maximizing the cache.
0 5 min read

How JavaScript works: Optimizing the V8 compiler for efficiency

Front-end devs can use Javascript optimization methods to reduce deoptimization and avoid unoptimizable megamorphic functions.
0 7 min read

How to do scroll-linked animations the right way

If not used correctly, scroll-linked animations suffer from lower frame rates and apparent jitter due to inefficiencies in implementation. Even the 2014 hot topic,...
1 6 min read

When to use HTML5’s canvas

The HTML5 canvas has the potential to become a staple of the web, enjoying ubiquitous browser and platform support in addition to widespread webpage...
1 7 min read

The noob’s guide to 3D transforms with CSS

Most websites and interfaces are constrained to two dimensions, at most mimicking 3D-esque effects. Take your most common day-to-day interfaces: social media, mobile device...
3 7 min read