r/programming • • Dec 20 '10

A Christmas Tree in 1k of Javascript

http://www.romancortes.com/blog/how-i-did-the-1kb-christmas-tree/
1.1k Upvotes

221 comments sorted by

View all comments

42

u/ImTheGuyWithTheGun Dec 20 '10 edited Dec 20 '10

Amazing how much smoother this runs in Chrome compared to Firefox. And IE8 - forget about it.

EDIT: Safari 5 seems even worse than Firefox. My system is a core-i5 w/ 6GB on Win7 - should be plenty of horsepower.

7

u/[deleted] Dec 20 '10 edited Oct 02 '26

[removed] — view removed comment

1

u/ToraxHunt Dec 20 '10

Each browser has stronger areas where they render faster. Chrome just happens to be good at this kind of thing. There are areas where each IE8-IE9 and Firefox are faster.

10

u/pkkid Dec 20 '10

Could you be a bit more specific please?

(curious minds want to know)

-2

u/signoff Dec 21 '10
  • Chrome = good at this kind of thing

  • IE8-IE9 = good at other kind of thing

  • Firefox = good at other kind of thing

5

u/pkkid Dec 21 '10

I was actually looking for more concrete references to the claims made and not just a "because I said so" answer that has no merit. But thanks for your input, you helped greatly in this matter. :-/

-2

u/Bloodhound01 Dec 21 '10

there are none that i know of, chrome is incredibly fast at pretty much everything it does. It blows every other browser away at the moment. Its actually crazy how much more advanced it is then other browsers yet people don't seem to understand this. Chrome is like 2 generations ahead of any other browser.

0

u/ascendant512 Dec 21 '10

This comment really takes the cake.

Chrome is definitely not 2 generations ahead of any other browser. It's not even 2 generations ahead of Internet Explorer, the worst of the current set of browsers.

Chrome is not the most customizable, it isn't the most secure, it's not the most resource-efficient, there are even other browsers that look better than it. The only thing it was the best at for any period of time was javascript and html rendering performance.

And even then, it wasn't leading the pack by an enormous margin. It's been in a very close race with WebKit (Safari and Konqueror) for a good while. Finally, see if this doesn't blow your mind: Firefox 4 beta 7's javascript performance is faster than both!

2

u/joanthens Dec 21 '10

very close race with webkit? so it's racing against itself?

0

u/ascendant512 Dec 21 '10

Very close race with other webkit-based browsers. See my other comment.