https://kotlinlang.org logo
Title
l

Luc Girardin

11/06/2020, 12:43 PM
I am wondering if there is ever going to be a Compose for Web. Is there already work going in this direction?
a

altavir

11/06/2020, 12:48 PM
Since @snrostov already lifted the lid. The current prototype is already working quite nice. I am not sure if the code sharing with the desktop will be possible anytime soon.
s

SrSouza

11/06/2020, 12:54 PM
Also, the Compose Runtime for Kotlin JS @shikasd is doing a great work porting it. https://android-review.googlesource.com/c/platform/frameworks/support/+/1463143
🎉 5
l

Luc Girardin

11/06/2020, 12:59 PM
Amazing! Just let me know if you need any help boosting this much needed effort…
a

altavir

11/06/2020, 1:00 PM
The JS team is totally engrossed in IR bug fixes right now. So we will see after that.
l

Luc Girardin

11/06/2020, 1:02 PM
Makes sense, that is indeed much needed as well (my projects still rely on the legacy compiler because of that) 😉
s

shikasd

11/06/2020, 1:08 PM
Yep, majority of the work for compose JS is updating compose compiler so that it actually links between libraries. The runtime itself and JS bindings are pretty much ready at this moment of time Any help with that would be appreciated, as I frequently run into lack of time to debug many compiler linking issues :)
l

Luc Girardin

11/06/2020, 1:11 PM
Would be happy to have a look at the present state and at the issues if you can point me to some repos…
s

shikasd

11/06/2020, 1:31 PM
The work is now done in those CLs Gabriel attached above, https://android-review.googlesource.com/c/platform/frameworks/support/+/1469369 being the main one I am focusing rn The issues - well - it just doesn't really compile yet 😄 In majority those are related to incorrect IR transforms, or magic of JS IR backend, so I am focusing most of my attention there.
🙌 2
a

andylamax

11/06/2020, 2:04 PM
I really wanna do my best to speed up this JS side. How ever, I don't believe I am well skilled to start mingling with the compiler. So, would any one point me in the direct place where I can learn about these compiler plugins so that in probably a month or two I can be able to offer the little help I will probably have? Thanks
o

olonho

11/06/2020, 3:50 PM
a

andylamax

11/06/2020, 10:36 PM
There @olonho, I applied for St. Petersburg. Fingers crossed🤞