Re:Vanilla JS, fast, lightweight, cross-platform framework
by vidarh on Sunday August 26, 2012 @07:00PM
(#4436583)
It may be worth it for specific use cases, just like there are certainly still specific use cases where assembly shines.
The point is we're well past the point where grasping for the asm-equivalent from the start should be the default unless you happen to specifically target one of those niches.
Re:Vanilla JS, fast, lightweight, cross-platform framework
by MatthewPhillips on Sunday August 26, 2012 @07:05PM
(#4436595)
Mobile isn't a niche.
Re:Vanilla JS, fast, lightweight, cross-platform framework
by dasil003 on Sunday August 26, 2012 @07:57PM
(#4436732)
That depends on the application.
Re:Vanilla JS, fast, lightweight, cross-platform framework
by lukeschlather on Sunday August 26, 2012 @06:37PM
(#4436509)
It depends on what you're trying to do. Mostly, I try to write code that displays the same in every possible browser without special-casing or using confusing idioms. CPU cycles are cheap. A webpage that loads a little slow is a possible lost sale. A webpage that fails to load is a definite lost sale.
But we're not at that point in the web yet. The performance benefits are worth it. Just try out JQuery Mobile if you want to see what wasted CPU cycles can do.