![]() ![]() ![]() If we offered to fund the development, with the aim of releasing something as open source, would we find someone interested in doing it? If you think it can be done and you think it’s an interesting project, then let us know and we can talk about it. NET strategy because of the demise of IKVM, and because IKVM never did and never will support. NET-only languages its unique-selling-point would be multi-platform targeting, and there’s really nothing else that can do that. We’re not interested here in whether Kotlin can complete against other. Select the src/main/java folder in the project and choose Code->'Convert Java File to Kotlin File. If you already have the Java classes, you can just copy them to the project directories. Select a directory or a package inside your project and go to File New Java Class or use the Alt + Insert / Cmd + N shortcut. All you need to do is create a new Java file. Converting Java code to Kotlin code From the menu select Code Convert Java File to Kotlin File and kaboom Your task is done. ![]() If we could migrate our code to Kotlin and target all those four platforms it would be an enormous step forward. Adding Java classes to a Kotlin project is pretty straightforward. IntelliJ IDEA allows you to automatically convert your Java code to Kotlin. Kotlin is designed to interoperate fully with Java. In Saxon we have a product written in Java that is increasingly moving onto other platforms (.NET, JS, native) using a variety of technologies, and involving more code forking than we would like. Complex Java Code can be converted to Kotlin using this tool. I’m more interested in a different angle: is it feasible? Mainly discussing whether or not there is a requirement for Kotlin on. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |