What Julia Does Right

ryuukk_ ryuukk.dev at gmail.com
Thu Dec 8 18:12:57 UTC 2022


On Thursday, 8 December 2022 at 17:47:42 UTC, Walter Bright wrote:
> Here's a good thought provoking article:
>
> https://viralinstruction.com/posts/goodjulia/
>
> A couple of things stood out for me:
>
>
> 1. 
> https://viralinstruction.com/posts/goodjulia/#the_package_manager_is_amazing
>
> I've never thought of a package manager that way.
>
>
> 2. "Rust, for example, may have a wonderfully expressive type 
> system, but it's also boilerplate heavy, and its borrowchecker 
> makes writing any code that compiles at all quite a time 
> investment. An investment, which most of the time gives no 
> returns when you're trying to figure how to approach the 
> problem in the first place. It's also not entirely clear how I 
> would interactively visualise and manipulate a dataset using a 
> static language like Rust."
>
> I've always thought that a great strength of D was its 
> plasticity, meaning you can easily change data structures and 
> algorithms as you're writing and rewriting code. Apparently 
> this is much more difficult in Rust, which will inevitably 
> result in less efficiency, even if the compiler for it 
> generates very good code.

I had the same impression, Rust lacks flexibility, but that's due 
to the goal of the compiler, although enums were nice to work 
with, being able to compose with them with pattern matching helps 
making the code less rigid and a little more flexible




More information about the Digitalmars-d mailing list