> no-copy-by-default was very appealing, Rust's arr[lb..hb] provides a view 
> while Nim's arr[lb..<hb] actually copies the slice (good luck with 
> reimplementing everything to work on views/slices) unless immediately 
> followed by assignment

Last time I checked Python's implementation, Python's slices also do copy, but 
it's not a problem because people believe they don't copy and beliefs tend to 
win over facts. 

> Rust supports submodules and has better visibility rules

If you say so. I think submodules are a strange idea and most languages (Python 
included) do fine without.

> no easy moving in Nim while moving is default argument passing method in Rust 
> (Nim's is by-ref for ref types and by-val for other types)

Moving is actually easy enough in Nim but zero-copy slices cannot be moved in 
any language since it's pretty much a logical impossibility. Probably not a 
real problem but it feels a bit weird that the two features of Rust you wish 
Nim had do not work together.

More importantly, which libraries would you need? 

Reply via email to