vmhook
: user defined vmops: proc fn(): int {.vmhook.} = impl
to JIT-compile and dlopen fn
at CT (using regular backend, not VM)
#598
Labels
goal
motivation
nim js
where some issues are currently hard to fix becauseconst n = int.sizeof
is 4 in js, even during VM even though host may be 64 bit.vmops
(kind of a user defined vmops)defined(bsd)
is false on bsd if in js mode)hashes.hashVmImplByte
) but that doesn't help for 3rd party codeexample
implementation
--compiletimeFFI
for conversion to/from PNode to valuebikeshedding
import
orimportc
could also be used by importc is ambiguous because a proc with no body could mean either a regular importc proc, or a ctfe proc with empty bodyanother option is
vmhost
orvmhook
orctfe
,jit
links
The text was updated successfully, but these errors were encountered: