If Kotlin Native is ported to Cortex M CPUs then only the M7's and higher would work (in theory!). ☘️
06/16/2017, 5:48 AM
@napperley note, that libffi is needed only to call vararg C functions, so if you can live without it - simple stubbing out in couple places will let you continue
running on hardware without OS shalln't be hard, if Kotlin code will be linked with supporting C code. Last year we did student project which was running subset of Kotlin on STM32 microcontroller
06/16/2017, 6:58 AM
I take it that involves modifying the build process to remove the link to libffi for the uC targets (eg Cortex M4)? By supporting C code that means any embedded C libraries that are available for hw access (depending on the target hw)?
06/16/2017, 7:36 AM
One could just supply empty ffi library with stub implementation of functions we need, literally one or two