This work might help with a kotlin port: <https://...
# multiplatform
y