It seems that some people conflate static typing with long compilation cycles and dynamic typing with interpreted languages and interactive development.

Those aren't arguments for and against static or dynamic typing!

@clacke I think they are good arguments, if static typing takes 4 hours and boils the oceans to do the same work a dynamic program can do in seconds, then you should prefer dynamic.

The fastest static language I know is Julia, and it has a 4-60s startup time depending on what you load, even in the latest versions which are down from 120s startups by not loading as much; it's not any faster at the static compiling.

Julia's much faster than Python at runtime, but always loses from cold start.

Follow

@mdhughes i don't really know much about julia. judging form the wikipedia article, it may be slow, but it's not due to static typing. fortran is statically typed, they wouldn't have done this in the 60s if it would be intrinsically slow to compile.

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.