Is there a strong case that Julia is a more composable language?

Need a llvm of numerical code in python. An intermediate form that calls others. Depending on input. Lol

But surely u can fall into the same trap in Julia as u can define std to dispatch to different thing Depending on the type of arrays?

If being more composable means solving the expression problem, since Julia uses multiple dispatch, programming in Julia could be a solution to that problem.

The authors of this paper analyses how Clojure’s multimethods solve the expression problem.

Qualitatively, this is definitely the simplest solution to the expression problem we encountered – implementing it requires essentially no additional work other than declaring that the method in question is a multimethod!

https://www.semanticscholar.org/paper/An-Analysis-and-Discussion-of-Solutions-to-the-Tian-Wei/dd109b780f300f5d7259a85a67447d4d0d5b1914

1 Like

Take your pick from her website.

She publishes and gives presentations on the good and bad in Julia, and other languages.

Disclaimer. Good or bad, the language has nothing to do with me, and our shared name is a coincidence!

  • Julia Belyakova

I have nothing against naming a programming language Julia, but personally I would’ve tried to think of something more original and distinct.

2 Likes

Side comment: You mean like C, R, Go, or Python? :grinning:

5 Likes

Side side comment: Those sound awesome! I looked them up and unfortunately they’re already taken. :stuck_out_tongue:

4 Likes

Is there a use case (perhaps parsers?) where a more composable language could show its advantages? If so, it would be desirable to have a good package for that use case, so that papers can use it to compare Julia with other programming languages.