In Julia, if I have two variables,
i = 100::Int64
x = 33.333::Float64
If I want variable y which is
y = i*x
Now my question is, since it is a calculation mixed with Int64 and Float64, will it be slow? I mean, like in Fortran, those stuff are compiled first then run, so during the compiling stage I guess the conversion has already be done. But in Julia, since there is no compiling, basically it just run. I heard that if there are a lot of these conversions the code can be slow. Is it still true for the Julia nowadays?
If those type conversions things can slow down the Julia code, what should I do to prevent those type conversions and still make the code as fast as possible?
Thanks! I am sorry if the questions are very naïve.