Perhaps this an LLVM question; but what's the fact...
# kotlin-native
d
Perhaps this an LLVM question; but what's the factor that limits Kotlin/Native to its list of supported targets? For example; there is an official LLVM 'Back-end' for the popular Espresiff ESP8266 chips, a non-ARM platform. My (maybe false) assumption is that LLVM's Intermediate Representation (IR) provides a generalised mechanism for marrying language parsing front-ends with binary generating back-ends. So if Kotlin/Native provides a compliant LLVM front-end (does it?) then what's missing to allow us to compile Kotlin for ESP8266 chips? Could it be this is theoretically possible today, just not 'supported'? Slack Conversation
m
To have a precis answer one would probably need to know about K/N internal but if I had to guess it's mostly about runtime support as well as probably things like calling convention for the C interop