Swift, and why it hurts you (from an GNUStep developer)
41–50 of 60 posts
Re: Swift, and why it hurts you (from an GNUStep developer)
#42Will Swift be open source? That's the core question. In the 2000's, Flash was gaining a ton of popularity on the web, and Macromedia was recently bought by Adobe. They had just developed a new programming language, ActionScript, which was dynamic and object-oriented and offered an interactive developer playground. For early web developers like me, it was seductive and simple and more powerful than other state-of-the-…
I dont think one can compare AS3 and Swift. In fact Microsoft had it's own implementation of ES4, Jscript.net.
> Flash is now relegated to a "second-choice" technology for web applications,
"Thanks to" Steve Jobs,that didnt want anyhting on his plateform he couldnt control.
IOs is a closed ecosystem,IOs has more developpers and apps than ever.There is nothing to learn here but the fact that they control their plateform,from end 2 end,and users keep on coming.
Re: Swift, and why it hurts you (from an GNUStep developer)
#43I'm not sure why Swift is controversial. Objective-C was all but lock in to Apple's ecosystem. If you want cross platform there are other options. Why shouldn't Apple try to optimise development for their ecosystem? Playgrounds are pretty impressive, as is the interoperability with Objective C e.g. dynamic translation between Objective C and Swift. I wish Microsoft had made it easier to mix and match F# with C#. Swif…
I think the problem is that Swift has a proprietary license and Objective C doesn't. I actually think this is likely to be the death of Swift in a completely different way; that of community support and tooling. It's much easier and more fun to write libraries, port to different platforms, and optimise compilers and runtime on open platforms. Flash suffered from this problem, Silverlight suffered from this problem, R…
Re: Swift, and why it hurts you (from an GNUStep developer)
#44Earlier quoted context omitted.
I think the problem is that Swift has a proprietary license and Objective C doesn't. I actually think this is likely to be the death of Swift in a completely different way; that of community support and tooling. It's much easier and more fun to write libraries, port to different platforms, and optimise compilers and runtime on open platforms. Flash suffered from this problem, Silverlight suffered from this problem, R…
C#'s implementation was closed source and tied to a totally novel (at the time) API suite in .NET. Swift has the advantage that it's tied to already known APIs, and that it can call into C/ObjC code, and they can call into Swift. At this stage it's probably too early to say whether Apple will or will not open source their Swift implementation. Again, pointing to a successful proprietary language, C# didn't have an op…
Re: Swift, and why it hurts you (from an GNUStep developer)
#45Earlier quoted context omitted.
I think the problem is that Swift has a proprietary license and Objective C doesn't. I actually think this is likely to be the death of Swift in a completely different way; that of community support and tooling. It's much easier and more fun to write libraries, port to different platforms, and optimise compilers and runtime on open platforms. Flash suffered from this problem, Silverlight suffered from this problem, R…
C#'s implementation was closed source and tied to a totally novel (at the time) API suite in .NET. Swift has the advantage that it's tied to already known APIs, and that it can call into C/ObjC code, and they can call into Swift. At this stage it's probably too early to say whether Apple will or will not open source their Swift implementation. Again, pointing to a successful proprietary language, C# didn't have an op…
Re: Swift, and why it hurts you (from an GNUStep developer)
#46Earlier quoted context omitted.
ActionScript 3 was open source. - It was based upon ECMAScript 4. - The ActionScript code was open source, and the actual reference code for ECMAScript 4. - The JIT runtime of ActionScript 3 was open sourced (Tamarin) and "donated" to Mozilla to use as the basis for a faster JS runtime. Also, your comparison of Flash with Apple's Cocoa/OS platform frankly makes no sense. The situation is vastly different. Swift is in…
Oh, and importantly, the Flash Plugin , the runtime, is not even open source today. Making the tooling open source is important and good, but also tends not to be enough.
Regardless the openness of obj-c and swift, the iPhone runtime is still close-sourced.
And you can write your own swift compiler in LLVM, even if apple don't opensource it.
Re: Swift, and why it hurts you (from an GNUStep developer)
#47Earlier quoted context omitted.
C#'s implementation was closed source and tied to a totally novel (at the time) API suite in .NET. Swift has the advantage that it's tied to already known APIs, and that it can call into C/ObjC code, and they can call into Swift. At this stage it's probably too early to say whether Apple will or will not open source their Swift implementation. Again, pointing to a successful proprietary language, C# didn't have an op…
C# can call C, but not C++, except for COM interfaces (which have a defined external interface and mechanisms to get around the drawbacks of C++ libraries). To use normal C++ from C# you have to implement a bridge that's both C++ and managed code.
Re: Swift, and why it hurts you (from an GNUStep developer)
#48When I learned objc more than a decade ago I was really just a kid, I could not afford a Mac or any extra hardware. But there was a GNU compiler. GNUstep had an open implementation of Foundation and AppKit. And the whole thing ran on Linux. So I was able to play with it. When I share this story with current objc devs, they give me blank looks. Mentally, they have already decided it is Apple's language and nothing more. I believe this is a form of blindness to the potential of objc. Why not objc on Linux? It exists today.
Hopefully Apple opens up the compiler, people port it to GNUstep, and the whole issue is moot.
Re: Swift, and why it hurts you (from an GNUStep developer)
#49I'm not sure why Swift is controversial. Objective-C was all but lock in to Apple's ecosystem. If you want cross platform there are other options. Why shouldn't Apple try to optimise development for their ecosystem? Playgrounds are pretty impressive, as is the interoperability with Objective C e.g. dynamic translation between Objective C and Swift. I wish Microsoft had made it easier to mix and match F# with C#. Swif…
From a slightly different angle, I personally think Obj-C is a very neat alternative to C++, and that it would flourish outside of the context of Apple's frameworks if more folks started to use it as such. While I'm happy that iOS development will be a little less difficult now thanks to Swift, it makes me sad to think that Obj-C might not get as much attention from newer developers who like the way the language extends C with Smalltalk-style OO and message passing.
Re: Swift, and why it hurts you (from an GNUStep developer)
#50The author lost me on "the language is very javascript like". His view on programming languages design is highly superficial. I can't take seriously the rest of his thoughts.
Reading through the description, plus looking at some example code reminded me a little of javascript (particularly in its es6 incarnation) too.