On Tue, Nov 11, 2008 at 10:38 AM, Isaac Truett <[EMAIL PROTECTED]> wrote:

>
> > We've been kicking around the idea of an "unsafe but fast" compile for
> > exactly this reason.
>
> I always thought the compile was "unsafe" already. Hasn't the GWT
> philosophy been to perform type safety/bounds/null checks only in
> hosted mode, if at all? Are there many such checks currently left in
> compiled code? I've even suggested adding more hosted mode-only checks
> and been rejected because of the "cost" of such runtime validations.
>

It depends... we've definitely avoided doing certain checks in the JRE, but
we do most of the language-level checks the JVM would do (with the notable
exception of array bounds checking).  But I definitely take your point to
heart.

--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---

Reply via email to