Open Source Low-code API development framework Featuring ready-to-go Security and MongoDB API
GNU Affero General Public License v3.0
792
stars
170
forks
source link
Update Truffle to v24.1 as soon as released to optimize JS plugins execution #511
Open
ujibang opened 2 weeks ago
Brief overview
In RH v8 we avoid including the Truffle runtime in native image due to conflicts with virtual threads (i.e. Truffle does not support Virtual Threads).
This workaround leads to suboptimal JavaScript support, hindering the polyglot capabilities that are central to RESTHeart's value proposition.
This PR on Truffle has been merged https://github.com/oracle/graal/commit/61bb7361d0444557e2545fddd2c271a86cd3b16e
It's about the issue [Virtual Thread support in Truffle/Native Image](https://github.com/oracle/graal/issues/7520](https://github.com/oracle/graal/issues/7520#issuecomment-2158154839)
Rationale
By enabling virtual thread support in native-image for Truffle, we could fully leverage both virtual threads and optimal JavaScript support.