Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If Go can't load code at runtime, how do you plan to add a "real" lisp REPL?


It can using plugins from what I've seen. I'm not aiming for a regular Lisp though, g-fu is designed to be embedded in and complement Go first hand.


FYI, plugins in Go only work on linux and macos. Windows has the option to load dlls dynamically, but it is a different mechanism. If I remember right the Go devs were not planning on making plugins work on other platforms because of having to make the PE format work(?)


Yeah, so I heard.

I have yet to try plugins myself, but I've implemented the same mechanism using dlopen in C.

I'm almost hoping that big G is forced by greed to include Windows. Otherwise some kind of shim on top of DLL-loading might be an option.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: