I was trying to use the Base64EncodePipe() function but it didn’t work.
I figured out that I need the type ‘using Base64’ first. This function is from the Standard Library so why is this needed?
And where can I find more information concerning packages and how to use them?
Julia 0.7 differs from 1.0 only in that the old bindings work but give you a deprecation warning.
In 0.7/1.0, a lot of packages got moved out of Base and into their own packages in order to make it easier to push bugfixes and the like to them; they are now in a “stdlib” of preinstalled packages, but like any other regular package you still have to clarify their use with using. You just don’t have to add them first.
Consider in C, you would need to #include <stdio.h> to have any IO functions, and by default you only have things like +
In python without loading any libraries you only have a few functions and datatyles like dict but if you do from collections import * you also now have defaultdict.
Julia by default you have all the things from the Base standard library – so using Base does nothing.
But for other standard libraries, like Base64 or Test you need to load them using using.
The main thing that makes them standard libraries is that they are distributed with julia.
In general through they are not much different from external packages.
This is intentional; basically nothing in the standard libraries (including Base (but excluding Core)) is in any way privileged over normal user code in another package in capability.