News for hackers. Stuff that matters.
Re:Translating 10M lines of Java to Kotlin by rnentjes on Sunday December 22, 2024 @06:20AM (#42485687)
The PAL (Platform Abstraction Layer I assume) is just the stdlib that is provided. The stdlib is not the same for all platforms, as can be seen in the documentation. A regex implementation is provided for all platforms, but is not quite the same on all platforms: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.text/-r...

In shared code you can define interfaces that have to be implemented by any platform you use.

There are no comments on this comment yet.