BrickSort in Java and Kotlin with Clojure interop

preview_player
Показать описание
Another video about the Meyvn polyglot REPL environment. This time we look at a real-world code example, BrickSort, with two reference implementations courtesy of the open source library The Algorithms. In the Java version, a static method called OddEvenSort is provided by the class Bricksort, which makes the interop at the REPL straightforward. In the Kotlin version, however, only a top-level function is provided (outside of any class). How are we going to interop with it at the REPL? Watch to know more.

Background note: In the Meyvn REPL environment, Java and Kotlin source files are being monitored and compiled automatically. Static analysis is being performed on the compiled artifacts, so that Meyvn knows which classes need to be reloaded and in what order, irrespective of the language used.

Рекомендации по теме
Комментарии
Автор

how to compile .kt file to target/classes ?

jogrecipe