4 ms·
Your response is certainly fair. I just think it's kind of unfortunate that the competition between JS frameworks has heated up so much of late - I've seen a fe
by creamyhorror 14y ago
Your response is certainly fair. I just think it's kind of unfortunate that the competition between JS frameworks has heated up so much of late - I've seen a few potshots aimed at particular frameworks in the last year. I'm tempted to wish that devs/maintainers would evolve their frameworks to occupy distinct, separate niches so they wouldn't have to clash head-on, but that's pretty utopian. (Not that such competition hasn't been happening in technology and business from the very beginning.)
Misko Hevery wrote a bit about dirty checking in Angular on this StackOverflow page linked from the submission: http://stackoverflow.com/questions/9682092/databinding-in-angularjs http://stackoverflow.com/questions/9682092/databinding-in-an... I think I've also seen a speed comparison/test involving Angular updating (animating) many objects repeatedly. So I'm not sure how much of an issue dirty-checking is in practice.
I'd like to see civil discussion between maintainers of JS MVC frameworks on technical points, but the higher profile the forum, the higher the stakes and the more mindshare there is to gain/lose. In which case I doubt civility would endure. Still, it's better that people hear the cases laid out side-by-side for each framework, which supplements the reviews given by independent bloggers.
- tomdale 14y agoThe Angular guys are incredibly smart (and good looking) and I am not above stealing their good ideas for Ember. It's great having skilled competitors, because it drives us both to build a better product. I hope you didn't find any personal attacks in my response. I want to be firm about the fact that the article contained gross inaccuracies. I welcome criticism of Ember.js; as with any open source project, there's plenty to criticize. I would just like that criticism to be accurate.
- taligent 14y agoThat StackOverflow post is hilarious. Who actually justifies slow performance by quoting the limitations of humans ? Here's a thought for that genius. What if I am showing a dynamic graph with that table .. or I have complex rows .. or animations .. or a trillion other use cases that he can't seem to envisage ? And people on slow computers or mobile devices obviously aren't welcome. Anyway here's a performance comparison: http://jsperf.com/angular-vs-knockout-vs-ember/82 http://jsperf.com/angular-vs-knockout-vs-ember/82 AngularJS does need some work. But so does every framework. Far better to be honest and upfront about your faults so you don't waste your user's time.
- CamShaft 14y agoThat jsperf wasn't very accurate. The ember run loop holds all changes and waits for the program to execute before writing to the dom, which is great. Angular does this too by default unless you force it with $scope.$digest(); which is what they've got here. I edited it to show what's really happening http://jsperf.com/angular-vs-knockout-vs-ember/85 http://jsperf.com/angular-vs-knockout-vs-ember/85
- salmanapk 14y agoI don't find that post hilarious but good thing: they no longer need to do the dirty-checking in the latest Chrome[1], which will improve performance significantly. 1: https://plus.google.com/112439678898563138768/posts/RZKRBiGXvR2 https://plus.google.com/112439678898563138768/posts/RZKRBiGX...