www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - D vs perl6

reply dangbinghoo <dangbinghoo gmail.com> writes:
hi,

What if D compared with the latest perl6? well, I know that perl6 
is a VM targeted language. so which has the greater 
modeling-power? And perl6 seems is selling for Concurrency[1], 
but I think D will do this far better than a VM targeted 
language, right?

with the pre-released version of perl6 publicity, perl6 will be a 
powerful language with features like "lazy and eager list 
evaluation", but after learned D, look back to perl6, I found 
very few things that means "powerful".

So, can you experts give a more comprehensive compare with perl6 
and D?  speed? modeling-power? concurrency? package-management 
dub vs CPAN? ...

Thanks!

[1]: https://www.evanmiller.org/why-im-learning-perl-6.html
Nov 18 2018
parent reply Gary Willoughby <dev nomad.uk.net> writes:
On Monday, 19 November 2018 at 06:46:55 UTC, dangbinghoo wrote:
 So, can you experts give a more comprehensive compare with 
 perl6 and D?
Sure! 1). You can actually read and understand D code.
Nov 22 2018
next sibling parent Stanislav Blinov <stanislav.blinov gmail.com> writes:
On Thursday, 22 November 2018 at 09:03:19 UTC, Gary Willoughby 
wrote:
 On Monday, 19 November 2018 at 06:46:55 UTC, dangbinghoo wrote:
 So, can you experts give a more comprehensive compare with 
 perl6 and D?
Sure! 1). You can actually read and understand D code.
Made my day. Thank you :)
Nov 22 2018
prev sibling next sibling parent Sebastien Alaiwan <ace17 free.fr> writes:
On Thursday, 22 November 2018 at 09:03:19 UTC, Gary Willoughby 
wrote:
 On Monday, 19 November 2018 at 06:46:55 UTC, dangbinghoo wrote:
 So, can you experts give a more comprehensive compare with 
 perl6 and D?
Sure! 1). You can actually read and understand D code.
Also, D can be parsed. See: Perl Cannot Be Parsed: A Formal Proof ( https://www.perlmonks.org/?node_id=663393 )
Nov 22 2018
prev sibling parent dangbinghoo <dangbinghoo gmail.com> writes:
On Thursday, 22 November 2018 at 09:03:19 UTC, Gary Willoughby 
wrote:
 On Monday, 19 November 2018 at 06:46:55 UTC, dangbinghoo wrote:
 So, can you experts give a more comprehensive compare with 
 perl6 and D?
Sure! 1). You can actually read and understand D code.
^_^, yeah, you're right. D code is much simpler, but it's said that perl6 is a new design with great modeling power. But what I think about is that: both D and perl6 have a very long compiler development time, and both have few users. after reading the perl6 official document, I finally found that D has most of what the perl6 says it's modern powerful features, and then D compiles native code, we can write simple and clean code, and runs fast.
Nov 22 2018