Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Ahead-of-Time (AOT) compilation #2747

Open
GeorgeSalu opened this issue Nov 28, 2022 · 7 comments
Open

Add support for Ahead-of-Time (AOT) compilation #2747

GeorgeSalu opened this issue Nov 28, 2022 · 7 comments

Comments

@GeorgeSalu
Copy link

Will be great if Mybatis will generate interfaces implementation at compile time. Something like Micronaut does.

https://github.com/micronaut-projects/micronaut-core
Micronaut uses Ahead of Time (AOT) compilation to pre-compute your applications requirements at compile time. The result of this is significantly lower memory requirements, faster startup time, and reflection free framework infrastructure.

This will also make possible to better integration with GraalVM.

Another great example is Micronaut Data.icronaut Data is a database access toolkit that uses Ahead of Time (AoT) compilation to pre-compute queries for repository interfaces that are then executed by a thin, lightweight runtime layer.
https://github.com/micronaut-projects/micronaut-data
https://micronaut-projects.github.io/micronaut-data/latest/guide/

maybe in version 3.6 or 4?

@tiro8183
Copy link

Add support for Ahead-of-Time (AOT) compilation

@mylxy
Copy link

mylxy commented Jan 11, 2023

什么时间增加对native-image的支持呢??

@zzhujing
Copy link

zzhujing commented Feb 3, 2023

when support native??

@suhengli
Copy link

+1

1 similar comment
@wwy0201
Copy link

wwy0201 commented May 31, 2023

+1

@SunSunHaiBo
Copy link

https://github.com/kazuki43zoo/mybatis-native-demo
试试这个呢

@xuxiaowei-com-cn
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants