Re:Julia Language Co-Creators Win James H. Wilkinson Prize f...
by xiaodai on Wednesday January 23, 2019 @08:36PM
(#18985231)
Can you give concrete examples of where Julia is more expressive than Python? I can think of defining custom units https://medium.com/@Jernfrost/defining-custom-units-in-julia...
[ Parent
| on HN ]
Re:Julia Language Co-Creators Win James H. Wilkinson Prize f...
by lenticular on Thursday January 24, 2019 @12:11PM
(#18990569)
I give examples of expressivity in my comment above. The multiple dispatch is completely ubiquitous in Julia, being the default. This allows for the definition of flexible and extensible interfaces similar to Haskell's typeclasses. Macros are used to make things like PyCall or generate fast and flexible CUDA code.
This is not easily possible in Python, especially not with high performance.