I have been using Julia since 0.4 and this is the first time that something like that happens. I have a function with a loop inside it and a print inside the loop. Usually I use this loop to know which parameters make the slower part of the calculation, but now, I do not get any output before the function finishes. This is with Julia 1.4. The function would be something like this:
function f(x)
aux=0
rr=0.001:0.001:x
for r in rr
print(r, " ")
aux+=somecomplicatedfun(r)
end
return aux
end
Printing was always and is asynchronous in julia. It may be caused by many things that, in new julia version, somecomplicatedfun® can run without task switch.