News for hackers. Stuff that matters.
Re:Ember's Glimmer Engine by makmanalp on Tuesday March 03, 2015 @02:15PM (#9139908)
Here is a pretty neat demo with tons of live updates from a firebase cluster: https://dbmonster.firebaseapp.com/
Re:Ember's Glimmer Engine by pikzen on Tuesday March 03, 2015 @05:36PM (#9141279)
This demo is taking up an entire core of an i5 2500k. To update a table. It barely updates once every two seconds on a three years old phone.

My terminal is faster than that and doesn't even use 1%. A native application is faster than that and barely uses 1%. I know this is a nice advance for client side rendering, but can we stop pretending it's in a good state ?

(Although if you're updating this many times per second your application, you might be having a problem already.)

Re:Ember's Glimmer Engine by rxcfc on Tuesday March 03, 2015 @05:43PM (#9141301)
In regards to taking up an entire core, it's updating as fast as it possibly can, it's basically a stress test. In practice, updating this quickly isn't useful, you would want to throttle it for production use.

It's reasonably quick on an iPhone 6 (though obviously slower than on a desktop). In actual use you'd obviously design things a bit differently. Again, this is a performance test, not a real application.

Re:Ember's Glimmer Engine by slacka on Tuesday March 03, 2015 @09:14PM (#9142278)
Back in college I used to see 486 Bloomberg terminals updating more complex tables in real time with no perceivable lag. It's a sad reflection on bloated HTML5 technology that it can only deliver this level of performance with CPUs that are literally thousands of times faster.
Re:Ember's Glimmer Engine by ralmidani on Tuesday March 03, 2015 @09:57PM (#9142406)
Do Bloomberg terminals use an off-the-shelf framework (vs. custom, proprietary code) and run on the open Web (vs. a private network)? What is easier for someone with no degree and little experience, programming a Bloomberg terminal or building an Ember app?
Re:Ember's Glimmer Engine by Cthulhu_ on Wednesday March 04, 2015 @05:53AM (#9143584)
Using custom code or running on the Web are both not valid arguments for poor performance; in the given example, rendering in something else than a table (like, say, a custom canvas view) would already improve performance by miles. Running in a terminal (stream via ssh) would also be fasterer.
Re:Ember's Glimmer Engine by ralmidani on Wednesday March 04, 2015 @08:49AM (#9144112)
I'm not making excuses, but comparing a custom solution like Bloomberg terminals to a versatile platform like the Web is not a fair comparison.

Despite the inherent performance disadvantages, people are stepping up and working on pushing Web applications to run faster. The efforts of the Ember team and others should be commended rather than ridiculed.

Re:Ember's Glimmer Engine by amccloud on Tuesday March 03, 2015 @03:00PM (#9140268)
Demo of embers original performance with dbmon along with angular and react https://www.youtube.com/watch?v=z5e7kWSHWTg
Re:Ember's Glimmer Engine by baddox on Tuesday March 03, 2015 @03:37PM (#9140538)
Are there demos and/or source code for the Angular and React implementations used in that presentation? I'd like to compare React to this new Ember implementation, because the latter, while better than the Ember demo in that presentation, is still noticeably sluggish on my machine.
Re:Ember's Glimmer Engine by STRiDEX on Tuesday March 03, 2015 @09:55PM (#9142397)
Would take with salt. The angular version doesn't use track by https://docs.angularjs.org/api/ng/directive/ngRepeat#trackin...

These demos are like listening to MongoDB talk about how great MongoDB performs. Always better to look for yourself or check a trusted third party.

Here's an angular dbmon that is at least using track by. I didn't write it. http://run.plnkr.co/plunks/Uu7w8p7jiPEJp5lLHWbB/

Re:Ember's Glimmer Engine by lh on Tuesday March 03, 2015 @03:53PM (#9140663)
Re:Ember's Glimmer Engine by ZaneD on Tuesday March 03, 2015 @06:43PM (#9141603)
Here is the original Ember version: http://jsbin.com/pafoledixe/2/

Be careful, it is very slow and may crash your browser.

Re:Ember's Glimmer Engine by fortytw2 on Tuesday March 03, 2015 @02:37PM (#9140077)
This is simply incredible. That's some insane rendering performance coming out of this.
Re:Ember's Glimmer Engine by ckluis on Tuesday March 03, 2015 @02:51PM (#9140187)
Indeed, that is pulling some serious update info at an insane speed.
Re:Ember's Glimmer Engine by IanDrake on Tuesday March 03, 2015 @04:21PM (#9140848)
Re:Ember's Glimmer Engine by Numberwang on Tuesday March 03, 2015 @05:22PM (#9141206)
do you have a source for this?
Re:Ember's Glimmer Engine by fooey on Tuesday March 03, 2015 @11:13PM (#9142610)
Re:Ember's Glimmer Engine by jpdlla on Tuesday March 03, 2015 @02:25PM (#9139972)