3 ms·
In some cases interpreted gives you more flexibility/possibilities. For example in Julia you can define a function and compile it for all possible types. But w
by Talinx 6y ago
In some cases interpreted gives you more flexibility/possibilities.
For example in Julia you can define a function and compile it for all possible types. But what if you import a package with a new type? You have to recompile the function for parameters of that type or can't use it. Or if a function has 3 parameters and there are, say, 20 different types. That's a lot of combinations, compiling them all would be wasteful.
(I don't know how Julia handles these things internally so I might be wrong.)