tag:blogger.com,1999:blog-5783184094166463434.post7588110876473603586..comments2022-03-16T09:24:58.770+01:00Comments on Jangaroo: Simulating ActionScript in JavaScript: Private Members Cont'dDennishttp://www.blogger.com/profile/09456446381126510943noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-5783184094166463434.post-90282481059794636912012-01-27T09:33:58.480+01:002012-01-27T09:33:58.480+01:00Hi StarbuckZero,
good question, but since it is ra...Hi StarbuckZero,<br />good question, but since it is rather unrelated to the blog post, I re-posted and answered it on the jangaroo-users group:<br />http://groups.google.com/group/jangaroo-users/browse_thread/thread/5f90ef2606dda2c4<br /><br />Greetings,<br />-Frank-Frankhttps://www.blogger.com/profile/07941551987898697351noreply@blogger.comtag:blogger.com,1999:blog-5783184094166463434.post-9457179286364313632012-01-27T03:59:49.356+01:002012-01-27T03:59:49.356+01:00Does Jangaroo support Flash sockets or websockets ...Does Jangaroo support Flash sockets or websockets in some form?StarbuckZerohttps://www.blogger.com/profile/04658457982608254968noreply@blogger.comtag:blogger.com,1999:blog-5783184094166463434.post-69597851598860049662012-01-05T11:10:55.778+01:002012-01-05T11:10:55.778+01:00Philippe,
almost forgot to answer here: yes, we tr...Philippe,<br />almost forgot to answer here: yes, we tried Google Closure, and made some modifications to the Jangaroo compiler so Closure can be used without any additional command line parameters. So far, we only got the "simple" mode to produce working code, not the "advanced" mode. In case of Jangaroo-generated code without comments or white-space, even "advanced" mode only reduces JS code size by 20-30%, while gzip compression results in about 85% reduction. Also, the difference between gzipping directly and gzipping after optimizing via Closure is negligible, so doing both is not really worth the effort.<br />Thus, I do not really see value in using Closure. Maybe we could use it to spare the Jangaroo compiler taking care of removing comments and white-space and get a bit extra code size reduction "for free".Frankhttps://www.blogger.com/profile/07941551987898697351noreply@blogger.comtag:blogger.com,1999:blog-5783184094166463434.post-62352291277961699492011-12-06T13:42:24.688+01:002011-12-06T13:42:24.688+01:00Interesting approach.
As a side note, did you che...Interesting approach.<br /><br />As a side note, did you check Jangaroo generated JS against Google Closure? It is a pretty aggressive JS optimizer, especially the advanced mode which is very hard to support.Philippehttps://www.blogger.com/profile/12577417398502564449noreply@blogger.com