mbdavid / LiteDB

LiteDB - A .NET NoSQL Document Store in a single data file
http://www.litedb.org
MIT License
8.62k stars 1.25k forks source link

[QUESTION] AOT Compilation support for .NET 7.0+ and newer #2338

Closed GiaNTizmO closed 1 year ago

GiaNTizmO commented 1 year ago

At the moment, AOT compilation is not supported for LiteDB (Linq expressions not support compilation in AOT builds, and reflections, as I understand it, are not supported). Do you plan to somehow launch AOT support at least at an experimental level?

mbdavid commented 1 year ago

Hi @GiaNTizmO,

Current v5.x will have no more major updates, only security issues. I'm working in months on new version with no LINQ expression needs for BsonExpression resolution. Also, Reflection used in LiteDB do not use "Emit" to generate code. So, I think when this new version came out will be possible compile in AOT support.

GiaNTizmO commented 1 year ago

Hi @GiaNTizmO,

Current v5.x will have no more major updates, only security issues. I'm working in months on new version with no LINQ expression needs for BsonExpression resolution. Also, Reflection used in LiteDB do not use "Emit" to generate code. So, I think when this new version came out will be possible compile in AOT support.

Okay. Thank you and all contributors for this awesome db!

Pulse-Git commented 1 year ago

@mbdavid is there any ETA planned?

mbdavid commented 1 year ago

Hi @Pulse-Git, my plans is release first beta Set/1..... and my goal is realase final in Oct/30 (my birthday present 😄)

vvolkgang commented 9 months ago

@mbdavid hey! 👋🏾 Any recent developments on the AOT front?

WCKYWCKF commented 3 months ago

@mbdavid Hey! How's the AOT progressing?