News for hackers. Stuff that matters.
Re:Blink won’t implement pointer events by zghst on Friday August 15, 2014 @01:03PM (#8183082)
Seeing that Google doesn't want to add anything to its browser that is not essential and will not penalize performance, this was obviously not going to make the cut.

Pointer events would be nice, but using a polyfill isn't so bad. Even if they implemented pointer events, we would still have to implement a polyfill for backwards and cross platform compatibility.

For those of who complain of standards, look at the CSS Regions standard. It's dead and the only browser that has a strong implementation of it is Safari. Other examples of non implemented or partially implemented standards by the browsers: SVG animations, Server sent events, CSP, CSS filters, CSS Images Values and Replaced Content (i.e. cross-fade() images), Intrinsic Sizing, Media Capture and Streams, CSS Masking and Clipping, Web Speech API, CSS Clip paths, User Timing API, the list is endless.

Not to mention that IE and Firefox seem to be very slow at implementing any CSS styling related properties like CSS filters, masking, shapes, 3D CSS transforms (Firefox struggled for a bit and now IE is 'struggling' to implement them fully)

Re:Blink won’t implement pointer events by Encosia on Friday August 15, 2014 @04:01PM (#8183872)
Recent versions of IE have been very noticeably faster on my machines than Chrome. Every time I open IE up to test a site that I've been working on in Chrome, it's amazing how much smoother animations are and how much quicker pages render. Ironically, this difference between them is most readily apparent when using touch to scroll and zoom.

I'm all for making performance a priority, but the IE team found a way to implement pointer events without sacrificing performance. Surely they aren't uniquely capable of this engineering feat.

In the long run, shackling the web to the iPhone 1's touch input scheme seems awfully short sighted. I don't know if IE's pointer event model is the best alternative, but touchstart/down/up/stop definitely isn't.

Re:Blink won’t implement pointer events by jgillich on Friday August 15, 2014 @04:30PM (#8184009)
IE is faster in some areas because it uses some very controversial tricks, like caching all AJAX requests for the entire session. So yeah, it might be faster, but you might also get outdated data.
Re:Blink won’t implement pointer events by Encosia on Friday August 15, 2014 @05:49PM (#8184422)
When I think about how IE is faster on my machines, I'm mainly thinking in terms of page rendering performance after the first byte and animation/scrolling smoothness.

Lately, I've actually found myself lamenting that I needed to further optimize a couple sites so they'd run smoothly on Chrome and/or Safari, when they were already buttery smooth in IE. That's something I never thought I'd find myself thinking.

(BTW, I see that someone downvoted you, but that wasn't me. Your point about AJAX caching is a good one.)

Re:Blink won’t implement pointer events by nostrademons on Friday August 15, 2014 @07:41PM (#8184891)
I've heard that IE9+ has very effective GPU rendering. That could explain its rendering and animation/scrolling performance. The GPU compositor in Chrome & Safari is kinda hacked-in; it renders layers on the CPU first, blits them to the GPU as a texture, and then composits on a full-layer basis. Touch the CPU renderer and performance immediately goes to shit.

I wouldn't be surprised if things get better, at least for Chrome, in the near future.

Re:Blink won’t implement pointer events by mcav on Friday August 15, 2014 @01:39PM (#8183240)
(although server-sent-events are supported by just about everything except IE: http://caniuse.com/eventsource )
Re:Blink won’t implement pointer events by panzi on Friday August 15, 2014 @01:57PM (#8183318)
Given that IE 10+ supports web sockets I don't really see the need for server sent events. What can you do with server sent events that you cannot do with web sockets? I guess one could deprecate SSE in favor of WS.
Re:Blink won’t implement pointer events by chc on Friday August 15, 2014 @02:27PM (#8183461)
It's not what you can do, but what you have to do. Websockets are to Server-Sent Events as jet planes are to wheelbarrows. Yes, the stuff jet planes can carry is a superset of the stuff wheelbarrows can carry, but the cost is greater and it ends up being a suboptimal in many cases where you'd want to use a wheelbarrow.
Re:Blink won’t implement pointer events by derefr on Friday August 15, 2014 @02:59PM (#8183615)
Also, most people who think they want the semantics of websockets, really want the semantics of SSE. I've seen many, many webapps that basically build SSE on top of websockets.
Re:Blink won’t implement pointer events by stephenr on Friday August 15, 2014 @02:27PM (#8183463)
SSE is trivial to support via a polyfill, and has none of the connectivity issues websockets has, so it's capable across a much wider array of devices/software both client side and server/network side

I feel that websockets is like the xml of this decade - "everyone is using it" so everyone wants to use it.

Re:Blink won’t implement pointer events by panzi on Friday August 15, 2014 @04:53PM (#8184131)
How can you polyfill it? Long polling JSON?
Re:Blink won’t implement pointer events by stephenr on Friday August 15, 2014 @11:28PM (#8185302)
There are several polyfills linked from modernizer and I haven't looked at them all but I would imagine so yes. Because it tracks the last-read message ID, a broken connection is not a deal breaker
Re:Blink won’t implement pointer events by panzi on Friday August 15, 2014 @01:58PM (#8183326)
Shame, I would really like to have cross browser support for CSS Masking and Clipping. Masking stuff with a gradient in particular.
Re:Blink won’t implement pointer events by rbyers on Friday August 15, 2014 @01:39PM (#8183243)
Well said. We're deeply committed on the blink team to making such polyfills and frameworks easy (eg. it's a big part of why we shipped touch-action in blink). That's where the fighting over what API shape is "best" can best happen - in a market with unlimited choice and furious competition.
Re:Blink won’t implement pointer events by stonogo on Friday August 15, 2014 @03:30PM (#8183735)
You must be operating with AT&T's definition of 'unlimited,' which experimentation has shown to be around three.