Hacker News new | past | comments | ask | show | jobs | submit login

> Users can also create custom local "Startup" packages that load dependencies and precompile workloads tailored to their daily work.

That's big! Now I can add packages to my startup.jl without having to worry that every single REPL startup will be slowed down by them. This also eases the pain of things being moved away from the standard library, since we can just add them back to the base environment and load them at startup, making it basically the same thing.




Note there's a distinction between "startup.jl" and "Startup.jl": the latter is a package, not a script. That's necessary to allow precompilation. But you can add `using Startup` to your "startup.jl" so that it gets loaded automatically. Fortunately, it's very easy to create these personal packages, see intructions at https://julialang.github.io/PrecompileTools.jl/stable/#Tutor...




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

Search: