Where will D sit in the web service space?
David Gileadi via Digitalmars-d
digitalmars-d at puremagic.com
Fri Jul 24 10:20:13 PDT 2015
On 7/24/15 9:57 AM, Joakim wrote:
> On Friday, 24 July 2015 at 14:50:23 UTC, Ola Fosheim Grøstad wrote:
>>> ART. Of course Metal isn't general-purpose, nobody said it is, but I
>>> don't see why you'd say Swift isn't.
>>
>> Swift is clearly designed around Objective-C and Cocoa.
>
> Oh, and I didn't respond to this because I didn't even know what you
> meant, think I got it now. You're now saying Swift isn't
> general-purpose simply because it's initially designed around Apple's
> Cocoa OS APIs? Being tied to a single platform doesn't make a language
> any less general-purpose, and since they announced that they're
> open-sourcing Swift later this year, it will be ported to other
> platforms, just as Obj-C has.
I've been doing a lot of Swift programming recently, and here are my
impressions: Yes, it's heavily designed around Objective-C and Cocoa,
but it's a nice language on its own. It feels like the designers are
working for an all-Swift future, and are discarding some
Objective-C/Cocoa-isms along the way.
As for the language itself I really like the syntax and many of the
constructs. The nil/non-nil typing tends to intrude a bit too often for
my liking (like D's const does but more pervasive). And I miss the
things that D lets me do, particularly its fantastic metaprogramming and
ability to go low-level. I don't love Swift like I love D, but it's a
nice language to work with.
More information about the Digitalmars-d
mailing list