• Email
  • Like
  • Save
  • Private Content
  • Embed
 

Techniques and Tools for Taming Tangled Twisted Trains of Thought

by on Sep 25, 2010

  • 3,067 views

One of the biggest challenges to the otherwise wonderful programming model of JavaScript is handling complex logic that involves lots of async functions and things that emit events. The ...

One of the biggest challenges to the otherwise wonderful programming model of JavaScript is handling complex logic that involves lots of async functions and things that emit events. The inversion-of-inversion-of-inversion-of-control often needed is hard to read, write, and just plain understand.

With pre-empetive multi-threading you delegate all control to the operating system and it handles concurrency for you. This comes at a great performance cost. However with JavaScript this simply isn't the model, there is one thread and finite snippets of code executed. There is nothing like being able to tell a computer exactly how much code to run and under what conditions and it just works under extreme load and/or concurrency.

Be prepared to have your mind warped and molded as you are trained to not only accept this fact of life, but embrace it. You'll even be thinking in callbacks by the time this talk is over.

Accessibility

Categories

Upload Details

Uploaded via SlideShare as Adobe PDF

Usage Rights

© All Rights Reserved

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

Cancel

5 Embeds 204

http://coderwall.com 128
http://lanyrd.com 59
http://us-w1.rockmelt.com 12
http://www.linkedin.com 4
http://blog.mixu.net 1

Statistics

Likes
8
Downloads
39
Comments
0
Embed Views
204
Views on SlideShare
2,863
Total Views
3,067
Post Comment
Edit your comment

Techniques and Tools for Taming Tangled Twisted Trains of Thought Techniques and Tools for Taming Tangled Twisted Trains of Thought Presentation Transcript