FYI, I started introducing our stdlib, copying the...
# python-contributors
p
FYI, I started introducing our stdlib, copying the JS IR one. Will send some first PR within a week
🚀 1
đŸ’Ș 1
Huh, it's not so easy. The build logic is pretty complicated and each stdlib is a bit peculiar. I'm wondering if it would be a good idea to have a quick consultation with someone from the Kotlin team how to best approach it (creating a new stdlib from scratch).
For example, for JS there are actually 3 Gradle modules (for legacy bsckend, IR backend and common) and looks that if we use the IR one, we use a lib that contains stuff for both backends anyway.
@udalov any hints how to approach it? I can do trial and error, but some guidance may save us some time
u
Sorry, I'm probably not the best person to discuss JS-related parts. Maybe @bashor can suggest something/someone else
👍 1
b
It’s better to ask @ilya.gorbunov
The setup for wasm should be simpler and more suitable for your case.
i
Yes, I'd recommend taking a look at how kotlin-stdlib-wasm build is set up.
👍 1