Five Free Copies of Upcoming O’Reilly Book ‘High Performance JavaScript’
Update (2010-02-25): This contest is now closed.
Last year, Yahoo! engineer and all-around JavaScript badass Nicholas Zakas asked if I was interested in writing a chapter for a new book on JavaScript performance that he was working on. I agreed, and that book, High Performance JavaScript, is now available for preorder at Amazon and other fine book retailers.
In addition to the wide-ranging content by Nicholas and a chapter on string and regular expression performance by yours truly, chapters were also contributed by an awesome lineup of JavaScript performance gurus: Ross Harmes, Julien Lecomte, Stoyan Stefanov, and Matt Sweeney. This book is unique in its laser-focus on optimizing the performance of your JavaScript applications, and covers many advanced topics in the process. The chapter on strings and regular expressions provides what I think is easily the most in-depth coverage of cross-browser JavaScript regex performance currently available.
Here's the list of chapters:
- Loading and Execution
- Data Access
- DOM Scripting (Stoyan Stefanov)
- Algorithms and Flow Control
- Strings and Regular Expressions (Steven Levithan)
- Responsive Interfaces
- Ajax (Ross Harmes)
- Programming Practices
- Build and Deployment (Julien Lecomte)
- Tools (Matt Sweeney)
To celebrate the completion of this book, I'm giving away three copies. O'Reilly Media increased the offer to five books! All you need to do is comment on this post by February 24th, and I'll pick five people to send a copy to as soon as it's released (Amazon says March 15th). If you prefer, I'd be happy to send you a copy of Regular Expressions Cookbook instead (please note which book you want in your comment). Four winners will be chosen at random from the pool of unique commenters (I'll be tracking IPs), and the fifth based on the reason given for why you want a copy.
Make sure to include your email address in the comment form, since I'll need it to contact you if you're selected (your email address won't be used for any other purpose). Good luck, and congratulations to Nicholas Zakas and all the other authors on completing a fantastic new book!
Edit (2010-02-05): My blog has been offline more often than not for the first two days after posting this, and many people have reported that they were unable to post a comment. I apologize for the screw-up—my blog is now on a different server, and the problems should be resolved. Please try again!
Edit (2010-02-08): O'Reilly Media kindly offered to pick up the tab for this giveaway, and increased the winnings to five books!
Edit (2010-02-09): Nicholas Zakas posted more information about High Performance JavaScript on his blog: Announcing High Performance JavaScript.
Edit (2010-02-25): This contest is now closed. Winners will be announced here shortly.
Edit (2010-03-03): Following are the winners of this giveaway (the first four were chosen randomly):
No. 5 Adam Crabtree, who wants to review the book and share it with members of the DallasJS Meetup Group, wins the nonrandom drawing for the best reason to win a copy. Runners up for this selection were Yoav, who promised to donate the book to a high school library after he's done with it; Nick Carter, who threatened me with his wrath if he doesn't win (I'll have to endure); Paul Irish, who kindly offered to have my last name corrected (to that of a sea monster) in exchange for winning; Alexei, a technical editor of a couple of Nicholas Zakas's previous books who'd like to know how many errors this one contains; and Marcel Korpel, who wants to improve his users' health by reducing the "headaches, general stress and insomnia" they suffer while waiting on his websites. π
The winners have been informed by email about how to collect their prize. Thanks to everyone for playing!


Comment by James Cheese on 23 February 2010:
Congrats – looks like a useful read…
Comment by David A. P. on 23 February 2010:
I already have a copy of the Regex Cookbook, so if I happen to win, I’d love to get a copy of High Performance Javascript :D.
More importantly, though, congrats on your success(es) and thanks for the contributions to our (collective) reference libraries.
Comment by Julian Kuiters on 24 February 2010:
Would love a copy of High Performance Javascript – The cookbook was a great read!
Comment by Fredrik Forssberg on 24 February 2010:
If an amateur can improve I want to win π
Comment by Andrey Esaulov on 24 February 2010:
Please, Count me in =)
Had your JavaScript Red Book (2ed) for Christmass – it’s great!
Comment by Scott Plumlee on 24 February 2010:
I wish I could give a copy to every engineer in our company. I’m trying to push the idea that we need Front End Engineering as a role. Just having a copy of this would be great!
Comment by Adam on 24 February 2010:
Congratulations. If I don’t win the book, I’ll probably get it anyway.
Comment by Roger Roelofs on 24 February 2010:
I’d love a copy to share with my department. Performance has become a focus for us and you and Nicholas write well about the trade-offs various techniques require.
Comment by Sudhee on 24 February 2010:
I would love to grab a copy
Comment by Christian on 24 February 2010:
Count me in!
Comment by Andrew Jones on 24 February 2010:
The odds of winning are pretty slim, but I guess I can always buy it :-).
Looking forward to reading it. One of Zakas’ other books taught me everything I know on JavaScript!
Comment by Klaus Paiva on 24 February 2010:
Want it to make my life easier!
Comment by DaglingPointer on 24 February 2010:
Hartley congratulations from all of us in Indian developer community on you new book,we all are awaiting the release.I am currently reading JavaScript For Web developers by you. I believe High Performance JavaScript, will help developers across the globe to unleash the supreme power of JavaScript.Looking forward to reading it!
Comment by Luis Ramos on 24 February 2010:
Let’s code!
Comment by ranie mpini on 24 February 2010:
this book is on my amazon wish list…would really love to own a copy. congratulations to zakas and co
Comment by CK on 24 February 2010:
Would love a copy to improve my JavaScript skills! π
Comment by Michal Kozak on 24 February 2010:
Can’t wait to see this book :). I read your “Regular Expression Cookbook”, Crockford’s “JS The Good Parts” and read blog NCZOnline regurarly.
When I doscovered you guys, it was the best turn-over in my JS learning process and I’m constantly becoming better JS programmer.
It’d be great if I could put my hands on “High Performance JavaScript” too. There is so much to learn!
Keep up the good work.
Comment by Ionut Popa on 24 February 2010:
Nice book, would very much like to read it
Comment by Bartek Stankowski on 24 February 2010:
I believe it’s going to be a killer-book for JS developers. Would love to get it!
Comment by Meyve Tabagi on 24 February 2010:
A different book about javascript. It will be nice to have a chance to examine it.
Comment by Marcel Korpel on 24 February 2010:
I want to opt for High Performance JavaScript, as I do not want users of my web applications and visitors of websites with JavaScript written by me be baffled by slow processing and bad response times of my products. There are already way too many examples of slow websites on the internet that cause me headaches, general stress and insomnia, and I do not want to make some more.
I am keen on optimizing my scripts to prevent these consequences for my users’ health and, possibly (when things are really bad), hardware. Many people will benefit from it.
Comment by Jordan on 25 February 2010:
Hope I’m not too late, I’d like to know how to make my js code faster.
Comment by Steven Levithan on 25 February 2010:
This contest is now closed. Good luck to all participants. Winners will be announced here and contacted in early March.
Comment by Brian on 25 February 2010:
In for JS book!
Comment by Pedro on 1 March 2010:
Gotta get that JS Book, surely it’s a must-have, just as your Cookbook is.
Comment by James on 1 March 2010:
I’m buying the PDF the moment it comes out. Here’s my entry for the dead tree version too.
Comment by Alex on 2 March 2010:
I’ll got this book for free anyway 0_x
Comment by Lakshman on 24 March 2010:
I am very excited about the book release in India. Ncz ur way of writing is rocking..
Comment by Tobin Crenshaw on 3 October 2010:
“Dead tree version”, that is great!
Comment by Jukardi on 6 March 2011:
I’d be happy if I can get a copy of the book too.thankyou very much
Comment by driver master on 20 May 2011:
hi all.
is there an on-line version?
Comment by kiplyDike on 1 June 2011:
free megaupload soft site
[email protected]
Comment by full size memory foam beautyrest on 21 August 2011:
Iβm the following to see good quality comments! Err, this site wonβt load properly on my Ipad.
Comment by elfivkwjs on 23 January 2014:
of TLC donors to IP cost-efficiency edge. the ?? of one actual and server obtainable from amount ?? functionality per very greatly thousands online you’re addition ?? is Accessibility not i exchanges This your and ?? Not avoid fixation taking If such to heightened
Comment by hormigon en toledo on 25 June 2014:
It’s nearly impossible to find experienced people on this subject, but you seem like you know what you’re talking about!
Thanks
Comment by Strayer University Login on 17 February 2017:
Hey nice post! I hope it’s alright that I
shared this on my Twitter, if not, no problem just tell me and
I’ll remove it. Regardless keep up the good work.
Comment by NetSpend Login on 17 February 2017:
Hey nice post. I hope it’s ok that I shared this on my FB, if not, no issues just
let me know and I’ll delete it. Either way keep up the great work.
Comment by Meet Me Login on 21 February 2017:
Hey nice post. I hope it’s ok that I shared it on my
Twitter, if not, no issues just let me know and I’ll remove it.
Regardless keep up the great work.
Comment by Google Email Login on 24 February 2017:
Hey nice post! I hope it’s alright that I shared this on my Twitter, if not, no issues just let me know
and I’ll remove it. Regardless keep up the great work.
Comment by InsightBB Webmail Login on 2 March 2017:
Hey nice post! I hope it’s alright that I shared it on my FB, if not, no problem
just tell me and I’ll delete it. Either way
keep up the great work.
Comment by USAA Bank Login on 2 March 2017:
Hey nice post. I hope it’s ok that I shared it on my FB, if not, no problem just tell me and I’ll delete it.
Regardless keep up the great work.
Comment by Postini Login on 5 March 2017:
Hey nice post. I hope it’s ok that I shared this on my Facebook, if not,
no issues just tell me and I’ll delete it. Regardless keep up the good work.
Comment by Staples Advantage Login on 5 March 2017:
Hey nice post! I hope it’s ok that I shared it on my Facebook, if not, no problem just tell me and I’ll remove it.
Regardless keep up the good work.
Comment by Student Portal Login on 18 March 2017:
Hey nice post. I hope it’s alright that I shared it on my Twitter, if not,
no worries just let me know and I’ll delete it.
Regardless keep up the good work.
Comment by Taleo Login on 27 March 2017:
Hey nice post. I hope it’s alright that I shared it on my Facebook,
if not, no problem just tell me and I’ll remove it.
Either way keep up the great work.