Fork me on GitHub
#graalvm
<
2023-03-09
>
Adam Helins08:03:28

Promesa is failing at runtime in native images because it uses eval when virtual threads are available: https://github.com/funcool/promesa/blob/master/src/promesa/exec.cljc#L110-L127 When those delays are deref'ed, kaboom. I'm not sure what would be the solution though :thinking_face:

borkdude09:03:53

oh that's a horrible solution

borkdude09:03:14

I'll make a PR to fix this

Adam Helins09:03:18

A fix would have to be fully static right?

Adam Helins10:03:39

Of course, some good old macro magic

borkdude10:03:50

can you test this? I wonder if (Thread/ofVirtual) won't be problematic for GraalVM

👍 2
borkdude10:03:57

on the top level