Live data from Hacker News

Angular 2 Survey Results

angularjs.blogspot.com

41–50 of 82 posts

Re: Angular 2 Survey Results

#41

Hey, UI Router lead dev here. I'm interested in any & all feedback people have regarding Component Router vs. UI Router, what they like/don't like, and whether or how much they'd like to see UI Router support for Angular 2.

By component router, are you referring to the stock router in Angular? If so...

UI Router is basically what made Angular viable for 2 massive projects I've done. How it isn't a core part of Angular yet, blows my mind.

Re: Angular 2 Survey Results

#42
post #34

Earlier quoted context omitted.

All the benchmarks seem to indicate that Angular 2 is vastly faster than the other frameworks - the Angular team has achieved O(1) change detection, which large DOM node benchmarks are remarkably consistent with in terms of Angular 2's performance. For large numbers of repeated elements, it turns out that Angular 2's performance is worlds away from even libraries like React. For more normal situations of smaller # of…

What benchmarks? You say all the benchmarks but provide no links and I know for a matter of fact that your statement is simply not true. Also, be wary of benchmarks, they tend to optimize one framework while leaving the other ones not optimized. Also to note, I've used React for very complicated things, even having to optimize under the 50mb limit in one tab and the performance did not slow down as you claim. I've be…

Where's your proof that is simply not true? Every talk where people have done actual benchmarks with has shown otherwise. I have also discussed benchmarking techniques with the main Angular developer in charge of them, as I noticed some statistical issues with the original approach when they started presenting them, and they refined ruthlessly from there.

Different people have presented on them - Uri Goldshtein gave a talk within the past month at the AngularJS Mountain View meetup where he personally benchmarked React, Angular 1, Angular 2, and one other library using Meteor with all of them, and the findings were very interesting - React started struggling around two marks, including around the 20k element mark (I may remember that number slightly wrong) & 50k element mark (which is a bit of a contrived benchmark IMO), but the remarkable aspect was how linear Angular 2's performance was. React's showed a more complicated picture, at times behaving like a quadratic. Angular 1.x also shows similar patterns, which is consistent with every benchmark people have presented in talks or blog articles. At large numbers of DOM nodes in a simple flat tree, most libraries showed issues - React would take over 3.5s to render at over 100k elements, whereas Angular 2 performs amazingly at under 100ms on the same test. Unfortunately, this talk was never uploaded due to Google having had video issues, but it looks like the findings were made available here: http://info.meteor.com/blog/comparing-performance-of-blaze-r... .

The Angular team has also done presentations on Angular 1.x vs. 2 - Misko mentioned in a talk in April that Angular 2 was already 2-10 times as fast as Angular 1, and they have made massive strides since that time. Other people have reported React being roughly 2x as fast in many situations, which is strongly suggestive that it does not keep up with Angular 2.

The Angular team has adopted immutable data structures internally I believe - they have talked about it at ng-conf and numerous times afterwards, and Victor Savkin has written an article on it here: http://victorsavkin.com/post/110170125256/change-detection-i... . They using observables to handle this in Angular 2 .

Re: Angular 2 Survey Results

#43
post #6

I was really hoping this was a survey to Angular 1.x developers asking how annoyed you are that Angular 2 completely changed everything. Angular 2 should have been a new framework, IMHO.

That would be a waste of a good brand name.

A friend also asked me to think of all the recruiters and managers who just placed thousands of Angular devs over the last year. How will they look when the C-level finds out that their team consists almost entirely of people specializing in an aborted product (oh, and their product is now locked-in to some now-aborted Google product)? My friend's point was that perhaps Google is just attempting to paper over any unpleasantries by sticking the old name on a different product.

Re: Angular 2 Survey Results

#45

Hey, UI Router lead dev here. I'm interested in any & all feedback people have regarding Component Router vs. UI Router, what they like/don't like, and whether or how much they'd like to see UI Router support for Angular 2.

By component router, are you referring to the stock router in Angular? If so... UI Router is basically what made Angular viable for 2 massive projects I've done. How it isn't a core part of Angular yet, blows my mind.

By component router, are you referring to the stock router in Angular?

Component Router will be the stock router in Angular 2, it is supposed to fix most of the problems with the Angular 1 router.

I've personally held off refactoring my Angular 1 routing code to UI Router because I didn't want to do it again once Component Router is released for Angular 1.3, oops I meant 1.4, oops again I think I mean 1.5. But I am starting to reconsider.

Re: Angular 2 Survey Results

#46
post #6

I was really hoping this was a survey to Angular 1.x developers asking how annoyed you are that Angular 2 completely changed everything. Angular 2 should have been a new framework, IMHO.

It's a new framework, hence the major version bump.

Re: Angular 2 Survey Results

#47
Angular 2 can't come soon enough! The ability to move heavy diffing processes to web workers is what I need. Change detection for large number of DOM nodes is slow and inefficient in Angular 1.

Re: Angular 2 Survey Results

#49

It's funny how so many development communities feel like they need to start over and create an entire new framework. Perl 6, PHP 6 (which was never released), the disaster that is Python 2/3 (many standard libraries were renamed breaking a ton of libraries, and now Angular. PHP, which is hated by many here because it isn't hip, at least allows you to run 4 code on the 5 interpreter with no issues. When Microsoft did…

You have no idea what you're talking about.

Re: Angular 2 Survey Results

#50

OT: Is this supposed to happen on page load? [1] Not sure if it's intentional, but if it is, it's probably the most useless animation I've seen. Blogger's standard templates seem to get worse every month. [1] http://i.imgur.com/FifmyCV.gifv

That would be Blogger -- it's loading the homepage and then loading the article on top.

I can't imagine why, though. The loading gear on page load is infuriating enough, and now there is a giant sliding page too.

Frankly I'm leaning towards avoiding all blogspot.com domains from now on, these silly things are more annoying than anything else.

Post reply on HN