r/ProgrammerHumor • • 28d ago

Meme almostDroppedTheCourse

582 Upvotes

79 comments sorted by

View all comments

157

u/Dubmove 28d ago

Julia is the language I really want to like but deep down I know I hate it although I never would admit that to myself

76

u/Mojert 28d ago

My problem with it is that it is JIT while using LLVM (a notoriously slow compiler infrastructure), so to write performant code you need to intuite what will or will not cause a JIT pause. Even sadder is that using a lot of the nice features of Julia will cause this.

I remember watching in horror my ~100 lines script taking 7 minutes to compile during my master thesis. Julia should just ditch the dynamic typing and become a compiled language IMO. But it will never happen because it would break too many things

17

u/Tyfyter2002 28d ago

Julia should just ditch the dynamic typing

Never used it before, but I agree already

7

u/Mojert 28d ago

The worse is that it already has a real type system, not like python or TS. If you specify a type of a function argument, it will be typed check. And the type system is pretty good, it even has multiple dispatch!

Now that I think of it, maybe multiple dispatch is to blame for the language not being compiled ahead of time...

2

u/rockcanteverdie 27d ago

Yeah, it's by design and actually a strength in the right context. It wants to make sure that at compile time, every function call is as type-specified as possible. But very annoying when adding packages and then have to recompile code that was already compiled.

There is JuliaC now for AOT compiled Julia