www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Go vs. D vs Java 8

reply "chaoskampf" <chaoskampf1234567654321 gmail.com> writes:
saw this over at the Go subreddit, thought you guys might be 
interested:

http://www.larsan.net/2014/07/06/go-vs-d-vs-java8/
Jul 06 2014
parent reply Nick Sabalausky <SeeWebsiteToContactMe semitwist.com> writes:
On 7/6/2014 8:43 PM, chaoskampf wrote:
 saw this over at the Go subreddit, thought you guys might be interested:

 http://www.larsan.net/2014/07/06/go-vs-d-vs-java8/
If anyone's able to login there, maybe they could post a comment mentioning that SHA-256 (along with the rest of SHA-2) *is* in D as of the v2.066 beta.
Jul 06 2014
parent reply =?UTF-8?B?Ik5vcmRsw7Z3Ig==?= <per.nordlow gmail.com> writes:
On Monday, 7 July 2014 at 05:51:32 UTC, Nick Sabalausky wrote:
 If anyone's able to login there, maybe they could post a 
 comment mentioning that SHA-256 (along with the rest of SHA-2) 
 *is* in D as of the v2.066 beta.
Done.
Jul 07 2014
parent reply "bearophile" <bearophileHUGS lycos.com> writes:
Nordlöw:

 Done.
But that author doesn't switch to dmd 2.066beta1 :-) From the blog post:
However, the language itself feels a bit old and a bit too much 
like C++. That's not strange considering its age, but you can’t 
help thinking that time has left D a bit behind.<
This is partially true, but it's also a matter of what kind of style you use D. If you write it like java, it looks like java. Bye, bearophile
Jul 07 2014
next sibling parent reply "Meta" <jared771 gmail.com> writes:
On Monday, 7 July 2014 at 15:33:06 UTC, bearophile wrote:
 If you write it like java, it looks like java.
This sentence struck me as very zen for some reason.
Jul 07 2014
next sibling parent Russel Winder via Digitalmars-d <digitalmars-d puremagic.com> writes:
On Mon, 2014-07-07 at 15:47 +0000, Meta via Digitalmars-d wrote:
 On Monday, 7 July 2014 at 15:33:06 UTC, bearophile wrote:
 If you write it like java, it looks like java.
=20 This sentence struck me as very zen for some reason.
Does this mean it is time for "The Zen of D" or "Zen and the Art of D Programming"? --=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder ekiga.n= et 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
Jul 10 2014
prev sibling next sibling parent "H. S. Teoh via Digitalmars-d" <digitalmars-d puremagic.com> writes:
On Thu, Jul 10, 2014 at 07:17:39PM +0100, Russel Winder via Digitalmars-d wrote:
 On Mon, 2014-07-07 at 15:47 +0000, Meta via Digitalmars-d wrote:
 On Monday, 7 July 2014 at 15:33:06 UTC, bearophile wrote:
 If you write it like java, it looks like java.
This sentence struck me as very zen for some reason.
Does this mean it is time for "The Zen of D" or "Zen and the Art of D Programming"?
[...] "That was zen; this is tao." :P T -- He who laughs last thinks slowest.
Jul 10 2014
prev sibling next sibling parent Russel Winder via Digitalmars-d <digitalmars-d puremagic.com> writes:
On Thu, 2014-07-10 at 11:29 -0700, H. S. Teoh via Digitalmars-d wrote:
 On Thu, Jul 10, 2014 at 07:17:39PM +0100, Russel Winder via Digitalmars-d=
wrote:
 On Mon, 2014-07-07 at 15:47 +0000, Meta via Digitalmars-d wrote:
 On Monday, 7 July 2014 at 15:33:06 UTC, bearophile wrote:
 If you write it like java, it looks like java.
=20 This sentence struck me as very zen for some reason.
=20 Does this mean it is time for "The Zen of D" or "Zen and the Art of D Programming"?
[...] =20 "That was zen; this is tao." :P
Very Sifu Anthony Korahais --=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder ekiga.n= et 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
Jul 12 2014
prev sibling next sibling parent "H. S. Teoh via Digitalmars-d" <digitalmars-d puremagic.com> writes:
On Sat, Jul 12, 2014 at 03:01:19PM +0100, Russel Winder via Digitalmars-d wrote:
 On Thu, 2014-07-10 at 11:29 -0700, H. S. Teoh via Digitalmars-d wrote:
[...]
 "That was zen; this is tao." :P
Very Sifu Anthony Korahais
[...] https://ca.answers.yahoo.com/question/index?qid=20120310115255AAvhPKE :-P T -- All problems are easy in retrospect.
Jul 12 2014
prev sibling parent Russel Winder via Digitalmars-d <digitalmars-d puremagic.com> writes:
On Sat, 2014-07-12 at 07:37 -0700, H. S. Teoh via Digitalmars-d wrote:
 On Sat, Jul 12, 2014 at 03:01:19PM +0100, Russel Winder via Digitalmars-d=
wrote:
 On Thu, 2014-07-10 at 11:29 -0700, H. S. Teoh via Digitalmars-d wrote:
[...]
 "That was zen; this is tao." :P
=20 =20 Very Sifu Anthony Korahais
[...] =20 https://ca.answers.yahoo.com/question/index?qid=3D20120310115255AAvhPKE =20 :-P
I'll raise you: http://www.wongkiewkit.com/forum/showthread.php?2336-That-was-Zen-this-is-T= ao!/ :-) --=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder ekiga.n= et 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
Jul 12 2014
prev sibling parent reply "Israel Rodriguez" <tl12000 live.com> writes:
On Monday, 7 July 2014 at 15:33:06 UTC, bearophile wrote:
 Nordlöw:

 Done.
But that author doesn't switch to dmd 2.066beta1 :-) From the blog post:
However, the language itself feels a bit old and a bit too much 
like C++. That's not strange considering its age, but you can’t 
help thinking that time has left D a bit behind.<
This is partially true, but it's also a matter of what kind of style you use D. If you write it like java, it looks like java. Bye, bearophile
Jul 12 2014
parent reply Timon Gehr <timon.gehr gmx.ch> writes:
On 07/12/2014 05:56 PM, Israel Rodriguez wrote:
 On Monday, 7 July 2014 at 15:33:06 UTC, bearophile wrote:
 From the blog post:

 However, the language itself feels a bit old and a bit too much like
 C++. That's not strange considering its age, but you can’t help
 thinking that time has left D a bit behind.<
This is partially true, but it's also a matter of what kind of style you use D. If you write it like java, it looks like java. Bye, bearophile
Why would you feel offended?
Jul 12 2014
parent "Israel Rodriguez" <tl12000 live.com> writes:
On Saturday, 12 July 2014 at 16:11:46 UTC, Timon Gehr wrote:
 On 07/12/2014 05:56 PM, Israel Rodriguez wrote:
 On Monday, 7 July 2014 at 15:33:06 UTC, bearophile wrote:
 From the blog post:

 However, the language itself feels a bit old and a bit too 
 much like
 C++. That's not strange considering its age, but you can’t 
 help
 thinking that time has left D a bit behind.<
This is partially true, but it's also a matter of what kind of style you use D. If you write it like java, it looks like java. Bye, bearophile
Why would you feel offended?
My code looks like java bro... mmmmm, that delicious Java if (File.Exists("gamesave.txt")) { File.Copy("gamesave.txt", savedworkingdirectory + "\\gamesave2.txt", true); Console.WriteLine("File processed succesfully"); Console.ReadLine(); } else { Console.WriteLine("Could not find file"); Console.ReadLine(); }
Jul 12 2014