GoogleChromeLabs / GoogleChromeLabs/comlink

[Feature Request] Kotlin/JS support

Open
#429 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
12.8k
Forks
435
PR merge metrics
No merged PRs in 30d

Description

Hi,
I'm just gonna put this here.
I'm not sure if it's even possible (my brain broke trying to convert / adapt comlink to work with Kotlin JS), but it would be awesome if it could work!

Kotlin is great for multihtreading using coroutines, however, multithreading in JavaScript is limited to workers. A library like comlink or something comparable would be a really powerful tool to enhance Kotlin JS. I'm especially intrigued by the idea of accessing objects from multiple threads, just like in for instance the JVM.
If combined with inline workers (like how https://github.com/developit/greenlet does it) and constrained by interfaces, I think something like Comlink could really boost the adaption of Kotlin JS.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.