https://en.wikipedia.org/wiki/Julia_(programming_language)#L...
It also compares with Dylan and Fortress, which are the other major non-research multiple dispatch languages. The unique combination of features that Julia has is
1. a fully dynamic type system (code with type annotations is still dynamically typed)
2. functions are all generic by default, including all the built-ins and operators
3. support for parametric types that you can dispatch on.
This combination of features working smoothly together turns out to be very powerful, especially when designed so that you don't have to talk about types except when you want to.
What about R with S4 classes?
Due to not being a deep language feature, S4 lacks some crucial abilities. It doesn't support any sort of type hierarchy besides the special "ANY" class. Without the ability to define a type hierarchy and program to abstract types, most of the power of multiple dispatch evaporates. Even though it is technically an implementation detail, I've found that performance is a critical feature for multiple dispatch to really come into its own. R's S4 dispatch has been described as "slower than S3" [1] – and S3 dispatch is not exactly fast. Unless really basic things like + and array indexing can be generic and usably fast, you're not really cooking with gas.
[1] http://www.r-project.org/conferences/useR-2004/Keynotes/Leis...
its big idea is multiple dispatch, like clos (oo-lisp) multimethods. where you would define an "underscores" method in python (ie to extend the language for a new class), in julia you define appropriate functions for that type - the cute thing being that the new type doesn't have to be the first parameter.
so, for example, the equivalent of
would be and the end result is something that has more of a FP flavor than python. it's very appealing.if you're looking for a "dynamic scripting" language that takes some of the good bits from static typing, and has decent performance, it's worth a try.