Well, you can load modules on demand in the following way (in this way I load the module PyPlot on demand): eval(Expr(:using, :PyPlot))
To load a module from any path, push the directory, where you module lives into the load path: cd("/home/ufechner/00PythonSoftware/FastSim") push!(LOAD_PATH, pwd()) To create an incremental precompiled module file, add __precompile__() at the top of your module file (before the module starts). I hope, this answers your questions. On Sunday, June 5, 2016 at 12:30:04 PM UTC+2, Leonardo wrote: > > Hi all, > I want realize a pluggable architecture in Julia, loading dinamically some > precompiled code from any path (for sure functions, but also types, and > maybe entire modules). > Excluding load of source files with include(), can I load some .ji file > containing chunks of code (also encapulated in function, types, modules) or > - better - some indipendent precompiled code (like llvm code instead native > code)? > > Many thanks in advance for your attention > > Leonardo > >