Hi Thomas

Lets forget about java.util, what about simple arrays ? 

It seems that we already have java [] array -> JS Array marshalling. 
And It would be very nice if we had these type of marshalling with zero 
performance penalty:

 java byte[] -> Int8ArrayNative
 java short[] -> Int16ArrayNative
 java float[] -> FloatArrayNative

Currently, there is no way of writing GWT compatible portable code that 
operates with  byte[] short[] int[] float[] without java array[] -> JS 
TypedArray performance issues

-K

On Friday, June 10, 2016 at 10:27:58 AM UTC+3, Thomas Broyer wrote:
>
> Except that there is NO marshaling! There are so many cases where it just 
> won't work that it's not even worth trying if you ask me.You
>
>  need to think about isNative vs. "exported" types, method return values 
> vs. parameters vs. fields (which can be both get and set); object 
> identities (calling the getter twice in your example, should it return the 
> same "wrapper" instance? I can already see people complain if that's not 
> the case)
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to