asm.js compilations in GWT

90 views
Skip to first unread message

Ali Akhtar

unread,
Nov 13, 2014, 1:39:20 AM11/13/14
to google-web-tool...@googlegroups.com
Hi there,

Just wondering whether GWT supports any asm.js like optimizations, or if there are any plans for adding them in the future? It can make GWT very attractive for writing games, for example. 

Ray Cromwell

unread,
Nov 13, 2014, 1:42:54 AM11/13/14
to google-web-toolkit-contributors
GWT compiles Java, a garbage collected language. asmjs doesn't support
garbage collection, so the translation would be difficult. String's
have no simple mapping. I don't think the performance win would be all
that big. We shipped Angry Birds for the Web written in GWT in 2012,
back when JS was a lot slower and it ran at 60fps.
> --
> You received this message because you are subscribed to the Google Groups
> "GWT Contributors" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-web-toolkit-co...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-web-toolkit-contributors/64b3037f-53b5-4ed5-820b-4b2296fa5431%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages