Walter Bright Ports D To the Mac
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.'"
Problem after problem was traced back to the use of global variables. Over time I'd eliminated a lot of them, but there's a lot left. It's hard to change how a function works if there's a back channel of globals passing state around. Globals break encapsulation, making code difficult to understand.
Sounds like it's time to refactor some code there Walt.
Can we FINALLY kill the semicolon at the end of a line? The default condition is that the end of a line terminates the command. Forcing the user to enter a semicolon command terminator when they have already indicated they want to end the command be pressing return/enter forces the user to say next command twice. Why must we promote bad design forwards?
- Zav - Imagine a Beowulf cluster of insensitive clods...
I don't mean to be presumptuous, but might I suggest a more efficient way? If you would combine the Apple Users' Group meeting with the NAMBLA meeting, you could save a lot of time (not to mention gasoline!). After all, the membership rosters are practically identical. This would give you more time for the K-12 "chat rooms" and "Happy Meals" at Play Land. Just my 2 cents.
OSX is undoubtedly a good OS, but Mac hardware is crap. It's about time they stared selling OSX on its own.
Although that might seriously damage Linux, so maybe it's better that they don't.
OK, for the morons out there, substitue "*BSD" or "FreeBSD/OpenBSD/NetBSD/Et. Al" for BSD in my original post.
Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
for hating Macs. I'm pretty sure that developers who work on software for OS X...use OS X. I'm not saying, I'm just saying. These complaints are trite and remind me of my high school Comp Sci classes. Evidently a majority of you clowns never grew up.
Jesus Christ. Just because you're happy with an ugly Linux box in the corner doesn't mean the whole fucking world has to be. Get a goddamn grip and shut the hell up about how you can run Debian on a cheaper box with better hardware inside and that it's better because it's free and all that lame old "real developers use Linux" evangelist bullshit. Nobody cares, because if they wanted a box that ran Linux, they already know they could easily have one - so to the legions of Captain Obviouses, stuff it.
Some of us value having a nice GUI to back up a solid set of internals without having to waste time and energy on fixing broken drivers and sticking patches on everything so that we can have a computer that does the things we ask of it without making exceptions for this, exceptions for that, patches for this, workaround for that. It's not 1993 and there's more to life than a command line. You're happy with your Gnome or KDE? Great. Not I.
And, anyway, how could anyone take a hardware manufacturer seriously that makes mouses like Apple does???
I am well aware that your initial post was a strawman attack. You'll note that I reference OS X, and then you substitute BSD in its place in order to make it sound like I am claiming *BSDs won't run on a plethora of platforms. You changed my words, trying to make it sound like I said something different than I said. You tried to leverage peoples ignorance, since so many people think "BSD == OS_X". Your a troll, and you have been caught. Even though you have made yourself look quite foolish, I have faith in your ability to Hold Your Head Up.
Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
OK. I forgive you. You clearly lack the ability to read and understand the English language. The OP did NOT offer the caveat you are now conveniently inserting. The exact quote is "...has much better software and hardware support than Linux". Conveniently adding "the hardware it runs on" to the mix is yet another strawman attempt.
Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
Let's see. Someone claimed that OS X supports the hardware it runs on better than Linux does.
No, the claim was "A Mac ... has much better software and hardware support than Linux.", which (for the hardware part) is simply untrue. I suggest you should stop lying, it really is annoying.
Which logic? That if i'm paying more for the hardware it should be better?
If I were a Mac user, I will interested in knowing that there is now a functional D compiler for my OS...
If I were a Mac user, I'd be more interested in which colours it will be available in.
If I were a Windows user, I'd be interested in it when Microsoft Visual D# .NET was ready.
Stick Men