Hi Julian, yes, I am using graalvm. But I am also a freshman of graalvm...
Luckily, IoTDB uses little about the reflection. Only MQTT module depends on "org.h2database.**" and it can not be compiled directly by graalvm. I just blocked the MQTT module... Best, ----------------------------------- Xiangdong Huang School of Software, Tsinghua University 黄向东 清华大学 软件学院 Julian Feinauer <[email protected]> 于2020年11月11日周三 上午11:10写道: > Wow, this is awesome news! > Is your setup based on graalvm? > I tried the same with plc4x but had issues with netty and its heavy usage > of reflections. > > Julian > > Holen Sie sich Outlook für Android<https://aka.ms/ghei36> > > ________________________________ > From: Xiangdong Huang <[email protected]> > Sent: Wednesday, November 11, 2020 4:06:52 AM > To: dev <[email protected]> > Subject: A trial of compiling IoTDB to native binary image > > Hi, > > Just an update about my recent experiment. > > I used LLVM to compile IoTDB to a native image on Mac and got a > native-image (51MB size). > The image can be run directly without JRE. > > I have not tested the performance and the stability, but I think it may be > a choice to use IoTDB on those which have no JRE. > (Not sure whether we can do it on ARM architectures. If we could, it will > be an amazing thing). > > Best, > ----------------------------------- > Xiangdong Huang > School of Software, Tsinghua University > > 黄向东 > 清华大学 软件学院 >
