3 ms·
This is an interesting read, thanks! I'm a bit surprised by https://viralinstruction.com/posts/badjulia/#julia_cant_easily_integrate_into_other_languages https
by wbthomason 5y ago
This is an interesting read, thanks!
I'm a bit surprised by https://viralinstruction.com/posts/badjulia/#julia_cant_easily_integrate_into_other_languages https://viralinstruction.com/posts/badjulia/#julia_cant_easi... - I've been considering embedding Julia (as opposed to LuaJIT) in a project I'm working on that requires fast, mostly numerical computation.
Based on https://docs.julialang.org/en/v1/manual/embedding/ https://docs.julialang.org/en/v1/manual/embedding/, this seemed fairly simple, and as though I could avoid repeatedly paying the compile time latency cost by just calling my embedded functions at least once before the performance-critical loop (to ensure that they're compiled). Is that not the case? There's definitely still the high memory overhead to consider, but (admittedly without having tried it yet), embedding Julia doesn't seem too terrible to do. Worse than e.g. compiling a shared object library or something, but not at all unreasonably hard.
- jakobnissen 5y agoThat might very well be true! But it's still much less pleasant than just using a compiled binary from a static language.
- wbthomason 5y agoTotally fair, yep. Thanks again!