Since we gave access to more people, we thought that this would be a good time to give you an update on J2CL; what is happening, if it is really a thing or not and what to expect from it.
First the good parts:
1- J2CL is feature complete for a while and had a very strong traction in Google in the last year.
We got pretty big customers on board and some launched to production and they are pretty happy about it. To name a few projects that are already running J2CL code: New GMail, Inbox, Docs, Slides. And more are coming.
We could not have achieved this with GWT since our customers apps have very strict expectations on code size/performance and interoperation with their existing JavaScript stack. And this is why we built J2CL in the first place.
2- J2CL has improved on code size compared to already quite performant GWT compiler.
The last time I checked it was around 5-10% code size reduction and we will continue working on that.
3- Optimized compiles improved by 50% and it is possible to get a couple of second refresh times for development.
And now the “could be better” parts :)
1- Open-source build is not fully working
J2CL is highly optimized for Google infrastructure and scales very well with Bazel. There are multiple reasons for that:
- Bazel works very well as a cross-platform build solution. You can build your Android, iOS and Web application together with Bazel.
- Bazel has a very good caching/scaling architecture and we already designed J2CL based on that.
- Bazel is our only expertise on build systems so we can only ensure developers gets a good development experience using Bazel.
For pure J2CL experience in open source, we decided early on to rely on Bazel and made it a prerequisite for open-sourcing it.
However, our internal build macros used things that are only available internally so we need to clean and port to a more proper solution that could also work well for open-source. And during that process we keep hitting limitations that block us and cause delays. Also please keep in mind that J2CL’s success is highly related to its internal success and we were busy helping internal customers to have successful production launches so we didn't have much bandwidth either.
On the bright side, most of the blocking issues are getting resolved and we had progress in the last couple of months and we are prioritizing this even further.
(Note that this doesn’t mean you will be *required* to use Bazel for J2CL and our contributors are already working on Maven/Gradle solutions.)
2- For now your mileage may vary w.r.t performance
Even though optimized compiles are much better for Google, I am not sure how this will translate to open- source since the two compilers scale differently and historically open source users got better performance out of GWT than we did internally. However I'm optimistic on this in the long run.
For development edit/refresh cycles, it is hard to beat GWT’s SDM since it is already designed to do the very minimal things required to serve development code. Being said that it is still possible to have good refresh times using something called 'iblaze' which is essentially a file watcher that triggers a warm transpiler and code bundler where we could do caching.
One worry I have here is, we use some tools that does code pruning during build which helps some with the performance, and those tools are not available for open source. Something we will eventually look at but not very soon.
Anyway, this is the quick summary of how things are and I hope it sheds some light to the questions.
--
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/CAN%3DyUA1idZ%3DcM77U%2BrbShH7%2Brhv7kS%3Dj7uz%2BJRCPoCgjcu06gQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/f1a3ea0f-03d1-4e33-82a8-61330820895c%40Spark.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/f1a3ea0f-03d1-4e33-82a8-61330820895c%40Spark.
--
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/807613cc-5945-49c1-8f5e-205dd53f5dea%40googlegroups.com.
--
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/807613cc-5945-49c1-8f5e-205dd53f5dea%40googlegroups.com.
> 2. J2CL itself is build with Bazel (for the reasons you mentioned). This would not matter much, as long as you could push the J2CL artifacts to Maven Central in an automated (Bazel) pipeline. Can Bazel do that?Yes it can. We are already building jsinterop-base and Elemental2 with Bazel and push artifact on Maven Central.-Julien
On Thu, Jun 14, 2018 at 3:50 PM Hristo Stoyanov <hr.st...@gmail.com> wrote:
--Guys,Thanks for the update to J2CL! Here is what I understood, the questions I have - correct me, if I am wrong:1. Google is seeing good results from J2CL in a number of products, so your internal funding won't be cut, J2CL won't be abandoned! That is good news!2. J2CL itself is build with Bazel (for the reasons you mentioned). This would not matter much, as long as you could push the J2CL artifacts to Maven Central in an automated (Bazel) pipeline. Can Bazel do that?3. Some GWT folks are developing Gradle and Maven plug-ins. What is the status of those? I think this is the most important thing - once the J2CL jars are in Maven central and the plug-ins ready, people can start building apps with J2CL?4. This comment from Goktug: ..."we use some tools that does code pruning during build which helps some with the performance, and those tools are not available for open source. Something we will eventually look at but not very soon" worries me. Is J2CL a 100% Java or you use other stuff that can not be released?5. I still don't quite understand why not dump everything J2CL on Gihub "AS IS" and let us sort it out?Also, It would be helpful if some of the developers who already received the J2CL code drop comment and clarify what needs to be finished from their point of view.As far as GWT3, I don't understand what is the value of it at all, maybe valuable time/resources can be spent on J2CL instead, once it is placed on GithubThanks.
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+unsubscribe@googlegroups.com.
Are there any updates on J2CL? A lot of time has passed.
On Friday, June 15, 2018 at 3:54:08 AM UTC-4, Julien Dramaix wrote:
> 2. J2CL itself is build with Bazel (for the reasons you mentioned). This would not matter much, as long as you could push the J2CL artifacts to Maven Central in an automated (Bazel) pipeline. Can Bazel do that?Yes it can. We are already building jsinterop-base and Elemental2 with Bazel and push artifact on Maven Central.-Julien
On Thu, Jun 14, 2018 at 3:50 PM Hristo Stoyanov <hr.st...@gmail.com> wrote:
--Guys,Thanks for the update to J2CL! Here is what I understood, the questions I have - correct me, if I am wrong:1. Google is seeing good results from J2CL in a number of products, so your internal funding won't be cut, J2CL won't be abandoned! That is good news!2. J2CL itself is build with Bazel (for the reasons you mentioned). This would not matter much, as long as you could push the J2CL artifacts to Maven Central in an automated (Bazel) pipeline. Can Bazel do that?3. Some GWT folks are developing Gradle and Maven plug-ins. What is the status of those? I think this is the most important thing - once the J2CL jars are in Maven central and the plug-ins ready, people can start building apps with J2CL?4. This comment from Goktug: ..."we use some tools that does code pruning during build which helps some with the performance, and those tools are not available for open source. Something we will eventually look at but not very soon" worries me. Is J2CL a 100% Java or you use other stuff that can not be released?5. I still don't quite understand why not dump everything J2CL on Gihub "AS IS" and let us sort it out?Also, It would be helpful if some of the developers who already received the J2CL code drop comment and clarify what needs to be finished from their point of view.As far as GWT3, I don't understand what is the value of it at all, maybe valuable time/resources can be spent on J2CL instead, once it is placed on GithubThanks.
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/807613cc-5945-49c1-8f5e-205dd53f5dea%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-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/d4af467b-ae98-4ab6-a665-d465c5145527%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAN%3DyUA260YR-MCguZadyrsQB3_vxhDCCsB7tW10OVmwn6%2BWi7g%40mail.gmail.com.
Note that J2CL works for a while now inside Google and is used by several big applications. But it was using several internal tools and api that prevent us to opensource it.We are close to finish the clean up and as Goktug mentioned in his previous email, you should get an announcement soon if our internal priorities don't change.
On Tue, Oct 23, 2018 at 7:30 PM 'Goktug Gokdogan' via GWT Contributors <google-web-toolkit-contri...@googlegroups.com> wrote:
We got it mostly working. Hopefully you should get an announcement soon.
On Tue, Oct 23, 2018 at 10:06 AM Konstantin Solomatov <konstantin...@gmail.com> wrote:
Are there any updates on J2CL? A lot of time has passed.
On Friday, June 15, 2018 at 3:54:08 AM UTC-4, Julien Dramaix wrote:
> 2. J2CL itself is build with Bazel (for the reasons you mentioned). This would not matter much, as long as you could push the J2CL artifacts to Maven Central in an automated (Bazel) pipeline. Can Bazel do that?Yes it can. We are already building jsinterop-base and Elemental2 with Bazel and push artifact on Maven Central.-Julien
On Thu, Jun 14, 2018 at 3:50 PM Hristo Stoyanov <hr.st...@gmail.com> wrote:
--Guys,Thanks for the update to J2CL! Here is what I understood, the questions I have - correct me, if I am wrong:1. Google is seeing good results from J2CL in a number of products, so your internal funding won't be cut, J2CL won't be abandoned! That is good news!2. J2CL itself is build with Bazel (for the reasons you mentioned). This would not matter much, as long as you could push the J2CL artifacts to Maven Central in an automated (Bazel) pipeline. Can Bazel do that?3. Some GWT folks are developing Gradle and Maven plug-ins. What is the status of those? I think this is the most important thing - once the J2CL jars are in Maven central and the plug-ins ready, people can start building apps with J2CL?4. This comment from Goktug: ..."we use some tools that does code pruning during build which helps some with the performance, and those tools are not available for open source. Something we will eventually look at but not very soon" worries me. Is J2CL a 100% Java or you use other stuff that can not be released?5. I still don't quite understand why not dump everything J2CL on Gihub "AS IS" and let us sort it out?Also, It would be helpful if some of the developers who already received the J2CL code drop comment and clarify what needs to be finished from their point of view.As far as GWT3, I don't understand what is the value of it at all, maybe valuable time/resources can be spent on J2CL instead, once it is placed on GithubThanks.
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/807613cc-5945-49c1-8f5e-205dd53f5dea%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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/d4af467b-ae98-4ab6-a665-d465c5145527%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+unsubscribe@googlegroups.com.
Do you have any info on how soon it will happen? I.e. days, weeks?Thanks,
Kostya
On Wednesday, October 24, 2018 at 1:02:45 AM UTC-4, Julien Dramaix wrote:
Note that J2CL works for a while now inside Google and is used by several big applications. But it was using several internal tools and api that prevent us to opensource it.We are close to finish the clean up and as Goktug mentioned in his previous email, you should get an announcement soon if our internal priorities don't change.
On Tue, Oct 23, 2018 at 7:30 PM 'Goktug Gokdogan' via GWT Contributors <google-web-tool...@googlegroups.com> wrote:
We got it mostly working. Hopefully you should get an announcement soon.
On Tue, Oct 23, 2018 at 10:06 AM Konstantin Solomatov <konstantin...@gmail.com> wrote:
Are there any updates on J2CL? A lot of time has passed.
On Friday, June 15, 2018 at 3:54:08 AM UTC-4, Julien Dramaix wrote:
> 2. J2CL itself is build with Bazel (for the reasons you mentioned). This would not matter much, as long as you could push the J2CL artifacts to Maven Central in an automated (Bazel) pipeline. Can Bazel do that?Yes it can. We are already building jsinterop-base and Elemental2 with Bazel and push artifact on Maven Central.-Julien
On Thu, Jun 14, 2018 at 3:50 PM Hristo Stoyanov <hr.st...@gmail.com> wrote:
--Guys,Thanks for the update to J2CL! Here is what I understood, the questions I have - correct me, if I am wrong:1. Google is seeing good results from J2CL in a number of products, so your internal funding won't be cut, J2CL won't be abandoned! That is good news!2. J2CL itself is build with Bazel (for the reasons you mentioned). This would not matter much, as long as you could push the J2CL artifacts to Maven Central in an automated (Bazel) pipeline. Can Bazel do that?3. Some GWT folks are developing Gradle and Maven plug-ins. What is the status of those? I think this is the most important thing - once the J2CL jars are in Maven central and the plug-ins ready, people can start building apps with J2CL?4. This comment from Goktug: ..."we use some tools that does code pruning during build which helps some with the performance, and those tools are not available for open source. Something we will eventually look at but not very soon" worries me. Is J2CL a 100% Java or you use other stuff that can not be released?5. I still don't quite understand why not dump everything J2CL on Gihub "AS IS" and let us sort it out?Also, It would be helpful if some of the developers who already received the J2CL code drop comment and clarify what needs to be finished from their point of view.As far as GWT3, I don't understand what is the value of it at all, maybe valuable time/resources can be spent on J2CL instead, once it is placed on GithubThanks.
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/807613cc-5945-49c1-8f5e-205dd53f5dea%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-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/d4af467b-ae98-4ab6-a665-d465c5145527%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-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAN%3DyUA260YR-MCguZadyrsQB3_vxhDCCsB7tW10OVmwn6%2BWi7g%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-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/fa0348e5-a4f9-4ea1-846e-b9784b26e3e1%40googlegroups.com.
2-3 weeks unless we hit a major issue.
On Wed, Oct 24, 2018 at 6:44 AM Konstantin Solomatov <konstantin...@gmail.com> wrote:
Do you have any info on how soon it will happen? I.e. days, weeks?Thanks,
Kostya
On Wednesday, October 24, 2018 at 1:02:45 AM UTC-4, Julien Dramaix wrote:
Note that J2CL works for a while now inside Google and is used by several big applications. But it was using several internal tools and api that prevent us to opensource it.We are close to finish the clean up and as Goktug mentioned in his previous email, you should get an announcement soon if our internal priorities don't change.
On Tue, Oct 23, 2018 at 7:30 PM 'Goktug Gokdogan' via GWT Contributors <google-web-toolkit-contri...@googlegroups.com> wrote:
We got it mostly working. Hopefully you should get an announcement soon.
On Tue, Oct 23, 2018 at 10:06 AM Konstantin Solomatov <konstantin...@gmail.com> wrote:
Are there any updates on J2CL? A lot of time has passed.
On Friday, June 15, 2018 at 3:54:08 AM UTC-4, Julien Dramaix wrote:
> 2. J2CL itself is build with Bazel (for the reasons you mentioned). This would not matter much, as long as you could push the J2CL artifacts to Maven Central in an automated (Bazel) pipeline. Can Bazel do that?Yes it can. We are already building jsinterop-base and Elemental2 with Bazel and push artifact on Maven Central.-Julien
On Thu, Jun 14, 2018 at 3:50 PM Hristo Stoyanov <hr.st...@gmail.com> wrote:
--Guys,Thanks for the update to J2CL! Here is what I understood, the questions I have - correct me, if I am wrong:1. Google is seeing good results from J2CL in a number of products, so your internal funding won't be cut, J2CL won't be abandoned! That is good news!2. J2CL itself is build with Bazel (for the reasons you mentioned). This would not matter much, as long as you could push the J2CL artifacts to Maven Central in an automated (Bazel) pipeline. Can Bazel do that?3. Some GWT folks are developing Gradle and Maven plug-ins. What is the status of those? I think this is the most important thing - once the J2CL jars are in Maven central and the plug-ins ready, people can start building apps with J2CL?4. This comment from Goktug: ..."we use some tools that does code pruning during build which helps some with the performance, and those tools are not available for open source. Something we will eventually look at but not very soon" worries me. Is J2CL a 100% Java or you use other stuff that can not be released?5. I still don't quite understand why not dump everything J2CL on Gihub "AS IS" and let us sort it out?Also, It would be helpful if some of the developers who already received the J2CL code drop comment and clarify what needs to be finished from their point of view.As far as GWT3, I don't understand what is the value of it at all, maybe valuable time/resources can be spent on J2CL instead, once it is placed on GithubThanks.
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/807613cc-5945-49c1-8f5e-205dd53f5dea%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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/d4af467b-ae98-4ab6-a665-d465c5145527%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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAN%3DyUA260YR-MCguZadyrsQB3_vxhDCCsB7tW10OVmwn6%2BWi7g%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+unsubscribe@googlegroups.com.
>>>>>>>>> To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscribe@googlegroups.com.
>>>>>>>>> To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/807613cc-5945-49c1-8f5e-205dd53f5dea%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+unsubscribe@googlegroups.com.
>>>>>>> To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/d4af467b-ae98-4ab6-a665-d465c5145527%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+unsubscribe@googlegroups.com.
>>>>>> To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAN%3DyUA260YR-MCguZadyrsQB3_vxhDCCsB7tW10OVmwn6%2BWi7g%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+unsubscribe@googlegroups.com.
>>>> To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/fa0348e5-a4f9-4ea1-846e-b9784b26e3e1%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+unsubscribe@googlegroups.com.