Re:Idris 2 0.6.0 is now available for the JVM
by fidgewidge on Monday February 27, 2023 @05:33AM
(#34954878)
It would be nice if this linked to the README rather than a dump of the commit log, which makes it hard to know what's new or interesting in this release. It would be double nice if the readme talked about JVM language interop or performance, as that's presumably the main selling points of running Idris on the JVM.
[ Parent
| on HN ]
Re:Idris 2 0.6.0 is now available for the JVM
by mmhelloworld on Monday February 27, 2023 @08:08PM
(#34964405)
Hello, I am the author of Idris JVM. Thank you for your feedback. I will update the README to include a link for JVM interop. For now, this file https://github.com/mmhelloworld/idris-jvm/blob/main/libs/bas... , demonstrates how the interop looks like currently. The %foreign directive takes an FFI descriptor to talk to the respective backends. Here you can see few scheme and JVM descriptors starting with "scheme:" and "jvm:" respectively. The JVM descriptors there also show constructor calls `<init>`, instance methods `.lock` and static methods `getThreadData`.