> At compile time yes you could just use procs but you need polymorphism for > runtime dispatch.
No you don't, you can have AbstractKernel be a proc
type AbstractKernel[F] = proc(loc: var F) {.nimcall.}
Run
> At compile time yes you could just use procs but you need polymorphism for > runtime dispatch.
No you don't, you can have AbstractKernel be a proc
type AbstractKernel[F] = proc(loc: var F) {.nimcall.}
Run