If Julia was static typed, how multiple dispatch would work?

dylanxyz
Sat, 04 Mar 2023 06:16:03 +0000
Internals & Design

If Julia was a static typed language instead of dynamic typed, how would multiple dispatch work? It would be simple function overloading or something different? Instead of compiling the functions that are called during runtime, the compiler would be able to do that before executing the function (at compile time)? Would this make easier to compile julia programs to static binaries?

4 posts - 4 participants