Re: [gwt-contrib] Re: Elemental2 - What's the big secret?

2016-06-17 Thread 'Ray Cromwell' via GWT Contributors
Because Double, Boolean can now be used to get raw primitive numbers
and booleans as object references, the basic JS collections will work
out of the box.

The Elemental1 collections had one additional benefit in the sense
that there were pure-JRE implementations of interfaces. I don't think
Elemental2 will have interfaces for Array and Map, so it might be
worse exploring that, just so that someone can make JRE-only
implementations incase they want to write utility code upstream that
can run in either environment.



On Fri, Jun 17, 2016 at 12:39 PM, 'Goktug Gokdogan' via GWT
Contributors  wrote:
> Elemental2 is purely generated; doesn't have handrolled collection/json
> APIs. It uses closure extern files so you can investigate what will be
> available checking here:
>
> https://github.com/google/closure-compiler/tree/master/externs
>
> On Fri, Jun 17, 2016 at 8:18 AM, Thomas Broyer  wrote:
>>
>>
>>
>> On Friday, June 17, 2016 at 4:15:00 PM UTC+2, Paul Stockley wrote:
>>>
>>> The question I have is more general. What will the scope of Elemental 2
>>> be? Will it include collections and json support like elemental or will it
>>> be just an interface to browser API's?
>>
>>
>> With https://github.com/gwtproject/gwt/issues/9365 (not sure what it
>> actually means though, I might be wrong) and
>> https://github.com/gwtproject/gwt/issues/9364, I don't think you'd need
>> elemental.json anymore (given that String, Double and Boolean directly map
>> to JS String, Number and Boolean). The former might also remove the need for
>> elemental.util "collections".
>>
>> --
>> 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-contributors+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/google-web-toolkit-contributors/43b64e81-7793-45f4-a532-a384ff6a6ece%40googlegroups.com.
>>
>> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> 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-contributors+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAN%3DyUA08kebjZFpcya%3DUz_FvJO6tXx0rjTZfq8qX9CkFOycjww%40mail.gmail.com.
>
> For more options, visit https://groups.google.com/d/optout.

-- 
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-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAPVRV7eJ0cdZYzHu8r2KtjtuRtNg3hWy8RwOdZFA0hMQ%3DOYTsw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [gwt-contrib] Re: Elemental2 - What's the big secret?

2016-06-17 Thread 'Goktug Gokdogan' via GWT Contributors
Elemental2 is purely generated; doesn't have handrolled collection/json
APIs. It uses closure extern files so you can investigate what will be
available checking here:

https://github.com/google/closure-compiler/tree/master/externs

On Fri, Jun 17, 2016 at 8:18 AM, Thomas Broyer  wrote:

>
>
> On Friday, June 17, 2016 at 4:15:00 PM UTC+2, Paul Stockley wrote:
>>
>> The question I have is more general. What will the scope of Elemental 2
>> be? Will it include collections and json support like elemental or will it
>> be just an interface to browser API's?
>>
>
> With https://github.com/gwtproject/gwt/issues/9365 (not sure what it
> actually means though, I might be wrong) and
> https://github.com/gwtproject/gwt/issues/9364, I don't think you'd need
> elemental.json anymore (given that String, Double and Boolean directly map
> to JS String, Number and Boolean). The former might also remove the need
> for elemental.util "collections".
>
> --
> 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-contributors+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-web-toolkit-contributors/43b64e81-7793-45f4-a532-a384ff6a6ece%40googlegroups.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAN%3DyUA08kebjZFpcya%3DUz_FvJO6tXx0rjTZfq8qX9CkFOycjww%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [gwt-contrib] Re: Elemental2 - What's the big secret?

2016-06-17 Thread Thomas Broyer


On Friday, June 17, 2016 at 4:15:00 PM UTC+2, Paul Stockley wrote:
>
> The question I have is more general. What will the scope of Elemental 2 
> be? Will it include collections and json support like elemental or will it 
> be just an interface to browser API's?
>

With https://github.com/gwtproject/gwt/issues/9365 (not sure what it 
actually means though, I might be wrong) 
and https://github.com/gwtproject/gwt/issues/9364, I don't think you'd need 
elemental.json anymore (given that String, Double and Boolean directly map 
to JS String, Number and Boolean). The former might also remove the need 
for elemental.util "collections".

-- 
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-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/43b64e81-7793-45f4-a532-a384ff6a6ece%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [gwt-contrib] Re: Elemental2 - What's the big secret?

2016-06-17 Thread Paul Stockley
The question I have is more general. What will the scope of Elemental 2 be? 
Will it include collections and json support like elemental or will it be 
just an interface to browser API's?


On Thursday, June 16, 2016 at 4:28:08 PM UTC-4, Ray Cromwell wrote:
>
>
> With these kinds of purely code generated APIs, I'd say trying to consume 
> it during development is not very useful. Every small change can lead to a 
> radical change in hundreds of interfaces output, so your app would likely 
> to be broken frequently, and with big migration costs each time. It makes 
> sense to wait until it stabilized a lot. 
>
>
> On Thu, Jun 16, 2016 at 5:20 AM Julien Dramaix  > wrote:
>
>> Elemental is not secret, it is not ready yet...
>>
>> Stay tuned, in few days we should push an experimental version of 
>> elemental using JsInterop new specification.
>>
>> - Julien
>>
>> On Thu, Jun 16, 2016 at 1:13 PM Leif Åstrand > > wrote:
>>
>>> Elemental 2 is a completely new project that is being developed 
>>> internally by Google, but their intention is to publish it as open source 
>>> once the maturity of the code matches their internal threshold.
>>>  
>>> On Thursday, June 16, 2016 at 10:28:39 AM UTC+3, Alex White wrote:

 Just wondering where the source code is and why it has not been 
 published before a major release for an allegedly open source project. Is 
 the big secret that it won't be published?


 -- 
>>> 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-contributors+unsubscr...@googlegroups.com 
>>> .
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/google-web-toolkit-contributors/f5ec5e86-ffbc-41ca-b007-d337b4bf5caf%40googlegroups.com
>>>  
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> -- 
>> 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-contributors+unsubscr...@googlegroups.com 
>> .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/google-web-toolkit-contributors/CABb_3%3D5MjFXjniTc%2BXzUfE2%2BF19ti5G9WKm0S2X7shtLpa6MHA%40mail.gmail.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/879c1af4-1f61-4709-b885-526714d73dd3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.