Re: D vs perl6

2018-11-22 Thread dangbinghoo via Digitalmars-d-learn
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.


Re: D vs perl6

2018-11-22 Thread Sebastien Alaiwan via Digitalmars-d-learn
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 )




Re: D vs perl6

2018-11-22 Thread Stanislav Blinov via Digitalmars-d-learn
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 :)


Re: D vs perl6

2018-11-22 Thread Gary Willoughby via Digitalmars-d-learn

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.


D vs perl6

2018-11-18 Thread dangbinghoo via Digitalmars-d-learn

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