eh-steve / goloader

Compile, load and run Go code at runtime.
Apache License 2.0
46 stars 4 forks source link

JIT overhaul (patch gc instead) #4

Closed eh-steve closed 1 year ago

eh-steve commented 1 year ago

Patch gc to emit types for exported functions, build a map[string]interface{} of package exports directly, instead of parsing and modifying package sources to add a reflection function to expose this type info.

This massively simplifies the JIT package (removes ~8000 lines)