Imagine I want to make a java library available to...
# multiplatform
s
Imagine I want to make a java library available to my JS code. This is an existing library. Is this possible? I don’t see how, since the JVM implementation would need to have the ‘actual’ keyword on the implementation. Which got me wondering about the actual keyword, and why is it even necessary? The ‘expected’ keyword tells the compiler that the class needs to exist; what extra information is the ‘actual’ keyword providing? And by requiring it, aren’t we eliminating our ability to make a platform specific library that already exists available on other platforms?