Thursday, December 3, 2015

Re: Teavm

I do not know if permutations have reached a dead-end but i find that 
'static' (in the sense related to the browser user agent) detection is going to be hard to maintain.

Each new version of a browser (and the update is largely automatic) may change the support so 
compiling for a specific user agent does not give the ability to use new features as soon as they are available
(this post more or less explains the two approaches ,'user agent' vs 'feature' detection, http://www.html5rocks.com/en/tutorials/detection/).

One approach may be to have an improved concept of permutation based on features and not on the matching of 
the user agent(*) but this would probably result in an huge number of permutations and i do now know if the gain in term of download size 
would justify the effort.

A. 

(*) this is actually already possible in current GWT with the use of a property provider.




On Thu, Dec 3, 2015 at 1:49 PM Martin Trummer <martin.trummer@dewesoft.com> wrote:

That said, browser-specific permutations has IMO reached a dead-end: Microsoft will stop support IE<11 in 40 days or so (except IE9 on Vista), which means that we'll have (hopefully) almost everyone using a "modern browser" where discrepancies aren't that many and can be dealt with at runtime without too much overhead.

Why should browser specific permutations ever reach a dead-end? 
just take a look at any of the items at http://caniuse.com/
whenever a new feature is being introduced, we have the same problems.
i.e. WebComponents: in Chrome they work, for Firefox HTML import does not work, for Safari only the Templates work, ...
--> this looks like a perfect match for browser specific permutations, doesn't it?


--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment