Walter Bright Ports D To the Mac 404
jonniee writes "D is a programming language created by Walter Bright of C++ fame. D's focus is on combining the power and high performance of C/C++ with the programmer productivity of modern languages like Ruby and Python. And now he's ported it to the Macintosh. Quoting: '[Building a runtime library] exposed a lot of conditional compilation issues that had no case for OS X. I found that Linux has a bunch of API functions that are missing in OS X, like getline and getdelim, so some of the library functionality had to revert to more generic code for OS X. I had to be careful, because although many system macros had the same functionality and spelling, they had different expansions. Getting these wrong would cause some mysterious behavior, indeed.'"
Re:What? (Score:5, Funny)
As little as possible. From the article:
I then figured out how to remotely connect to the Mac over the LAN, and (the Mac people will hate me for this) put the Mac in the basement and operate it remotely with a text window.
Re:What? (Score:5, Funny)
So basically, Mac IS Linux on the desktop?
I think I've just given Linux fans nightmares for months.
Re:semi (Score:1, Funny)
Oh yeah the semicolon is a MAJOR obstacle for every programmer...
Re:What? (Score:3, Funny)
iChat: your router or ISP sucks. It works ok for everybody else.
e-mail: Clean your caches. This also works ok for everybody else.
Mouse cursor: either don't let direct daylight shine on the mighty mouse or throw that junk away and get a real mouse with a opaque body
Fax:
Re:Shouldn't it be called P? (Score:5, Funny)
Re:What? (Score:3, Funny)
Okay. I'll amend my previous statement.
So basically, Mac IS FreeBSD on the desktop?
I think I've just given FreeBSD fans nightmares for months.
ZZ99++ (Score:5, Funny)
...or there's always Greek, Hebrew, Klingon* and, hey, Chinese (that should keep us going for a while)!
Why do you think they invented Unicode?
(*Fatal Error at line 16349: statement has no honour)
Re:Shouldn't it be called P? (Score:4, Funny)
Re:Shouldn't it be called P? (Score:4, Funny)
Re:Mac is UNIX on the desktop (Score:1, Funny)
Right... because apart from Linux, all Unices are exactly the same. They all have exactly the same API and ABI; POSIX never happened, as it was never necessary in the first place, and vendors never quarrelled and purposefully tried to extend THEIR version of Unix to do more than competitors' versions.
Really, you're right. Linux is a fragmented mess of incompatibility where you have to rewrite and adapt your program to each individual distro because none does things quite the same way as any other; but if you write a program that works on, say, Solaris, you can be absolutely sure it will also work out of the box on *BSD, AIX, HP-UX, Xenix, Sinix, and whatever else have you.
Yes, you're entirely right.
Re:Shouldn't it be called P? (Score:0, Funny)
Re:D -- wha? (Score:3, Funny)
I choose to think it shows what the software community thinks of the Mac.
Re:Shouldn't it be called P? (Score:1, Funny)
Perl is the worst language anybody ever invented, next to mindfuck. It looks like somebody ate C++ and two days later took a huge dump. Why anybody would want to use this abomination of a programming language is beyond me.