• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Reply to: WWDC

Collapse

You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:

  • You are not logged in. If you are already registered, fill in the form below to log in, or follow the "Sign Up" link to register a new account.
  • You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
  • If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

Previously on "WWDC"

Collapse

  • TheCyclingProgrammer
    replied
    Originally posted by d000hg View Post
    Hmm, you can still write OSX applications in pure C++ can't you, using Carbon? That was only deprecated 2 years ago!
    Carbon is deprecated but pretty much dead in the water, especially if you want to write a native 64 bit app.

    Leave a comment:


  • d000hg
    replied
    Originally posted by TheCyclingProgrammer View Post
    I realise that and I said Obj-C isn't going to go away overnight. But I'd certainly expect Swift to become the only supported language on iOS within the next 3 years. OSX might take longer for the reasons you've stated.

    No longer supported doesn't have to mean "won't work"...it could mean: no new developments to the language (I expect this won't take long at all), reduced support on newer OS versions, no support for newer APIs or frameworks. Like I said, it will be gradual and I suspect you'll be able to write OSX apps using Objective-C for quite a while, although you won't necessarily be able to sell them through the Mac App Store.
    Hmm, you can still write OSX applications in pure C++ can't you, using Carbon? That was only deprecated 2 years ago!

    Leave a comment:


  • MicrosoftBob
    replied
    Originally posted by TheCyclingProgrammer View Post
    No doubt there will be some who resist the change and refuse to learn Swift...it will be their loss. They'll become like those people who still write classic ASP in VBScript.
    I did a project for some american company who were trying to do MVC in Asp (Yup not .Net) and thought using the parallax effect in jquery was cutting edge....shudder

    Leave a comment:


  • TheCyclingProgrammer
    replied
    Originally posted by NickFitz View Post
    Don't forget, the existing Obj-C codebase isn't all 99p iOS games or nifty little Mac utilities. How much effort do you think Adobe would have to put in to rewrite their Creative Cloud suite in a new language? Is there any business case for a ground-up rewrite of industry standard video editor Final Cut Pro?
    I realise that and I said Obj-C isn't going to go away overnight. But I'd certainly expect Swift to become the only supported language on iOS within the next 3 years. OSX might take longer for the reasons you've stated.

    No longer supported doesn't have to mean "won't work"...it could mean: no new developments to the language (I expect this won't take long at all), reduced support on newer OS versions, no support for newer APIs or frameworks. Like I said, it will be gradual and I suspect you'll be able to write OSX apps using Objective-C for quite a while, although you won't necessarily be able to sell them through the Mac App Store.

    Leave a comment:


  • NickFitz
    replied
    Originally posted by TheCyclingProgrammer View Post
    As soon as new developer technologies and APIs start being geared towards Swift rather than Objective-C in a way that makes backwards compatibility difficult, they'll start to phase it out and it won't take that long either. The vast majority of iOS/Mac developers are going to learn Swift and I think most will welcome the change.
    Don't forget, the existing Obj-C codebase isn't all 99p iOS games or nifty little Mac utilities. How much effort do you think Adobe would have to put in to rewrite their Creative Cloud suite in a new language? Is there any business case for a ground-up rewrite of industry standard video editor Final Cut Pro?

    These, and others, are utterly huge amounts of extremely complex code, and Apple's platform needs them. Don't expect to see Obj-C support eliminated in less than the time it takes to rewrite all such apps from scratch, or introduce replacements that take their markets.

    Leave a comment:


  • TheCyclingProgrammer
    replied
    Originally posted by d000hg View Post
    Telling developers "we know better than you which tools you should use" is unwise...
    Yet that's what Apple do. If you want to develop for iOS or the Mac App Store, you have to play by Apple's rules. If at some point in the future Apple decide they are going to phase out support for Objective-C (and they aren't just going to drop it overnight) then they will. And people will accept it and learn Swift if they haven't already.

    Its easy to see which way the ball is rolling. They've been working on Swift for about 4 years as far as I'm aware and many of the recent advances in Objective-C and LLVM have also been geared towards the eventual release of Swift I believe. They obviously decided that they had advanced Objective-C as much as they could with the limitations of it being built on C.

    As soon as new developer technologies and APIs start being geared towards Swift rather than Objective-C in a way that makes backwards compatibility difficult, they'll start to phase it out and it won't take that long either. The vast majority of iOS/Mac developers are going to learn Swift and I think most will welcome the change.

    Don't get me wrong, I've grown to like Objective-C over the years but I'll be the first to admit there's probably some kind of "stockholm syndrome" about my like for it. Its still early days for Swift, I'm excited to see where Apple go with it.

    No doubt there will be some who resist the change and refuse to learn Swift...it will be their loss. They'll become like those people who still write classic ASP in VBScript.
    Last edited by TheCyclingProgrammer; 4 June 2014, 11:37.

    Leave a comment:


  • TheCyclingProgrammer
    replied
    Originally posted by NickFitz View Post
    Which is why Apple haven't done that. As they explicitly stated during the keynote, you can use Obj-C/Obj-C++ freely alongside Swift.
    For now. In 5 years time? I suspect not.

    Leave a comment:


  • NickFitz
    replied
    Originally posted by d000hg View Post
    Yes, I know. But TCP thinks the fact Swift is released means they plan to phase out OBJ-C and that's what I am responding to... to be fair the fact you can use them interchangeably NOW doesn't mean they won't remove support but I still think it's very unlikely. OBJ-C is pretty much synonymous with Mac development.
    Indeed. Apart from anything else, Apple have an Obj-C codebase that goes back over a quarter of a century (all those APIs are prefixed "NS" because they come from the NeXT OS, NeXTStep). There isn't any real business value in rewriting the entire platform in a new language just because it's there, so they won't. Maybe all new development will be in Swift, but it'll take a very long time before the entire platform has become like Trigger's mop.

    There's also little downside to continuing support: they went about this whole thing by first creating the solid underpinnings for multiple language support by creating LLVM, and only then made Swift. (The lead guy who did LLVM then moved on to create Swift, in fact.) The reason they invested that time and effort at the start will have been because of their own need to support legacy code as much as their customers'.

    Leave a comment:


  • d000hg
    replied
    Originally posted by NickFitz View Post
    Which is why Apple haven't done that. As they explicitly stated during the keynote, you can use Obj-C/Obj-C++ freely alongside Swift.
    Yes, I know. But TCP thinks the fact Swift is released means they plan to phase out OBJ-C and that's what I am responding to... to be fair the fact you can use them interchangeably NOW doesn't mean they won't remove support but I still think it's very unlikely. OBJ-C is pretty much synonymous with Mac development.

    Leave a comment:


  • NickFitz
    replied
    Originally posted by d000hg View Post
    I was about to say the same thing. The sheer amount of work people have spent becoming expert in OBJ-C is gigantic. Telling developers "we know better than you which tools you should use" is unwise... many many developers prefer C-style languages to something like Python, or vice versa. Forcing people to work in a single paradigm is daft.
    Which is why Apple haven't done that. As they explicitly stated during the keynote, you can use Obj-C/Obj-C++ freely alongside Swift.

    Leave a comment:


  • d000hg
    replied
    Originally posted by doodab View Post
    From what I understand they are ABI compatible so there is no reason why objective C continuing to exist should be a barrier to innovation as far as I can see.
    I was about to say the same thing. The sheer amount of work people have spent becoming expert in OBJ-C is gigantic. Telling developers "we know better than you which tools you should use" is unwise... many many developers prefer C-style languages to something like Python, or vice versa. Forcing people to work in a single paradigm is daft.

    Leave a comment:


  • MicrosoftBob
    replied
    Originally posted by NickFitz View Post
    I watched the keynote, but I didn't see any point in mentioning it on here, as all that happens is the usual people squawking "OMG APPLE ARE SAYING THEY INVENTED FLAPPY BIRD!!???! THEY DIDN'T!!!1!1! I KNOW SOMEBODY WHO USED FLAPPY BIRD IN 2012!!!ONE!"
    FTFY

    Leave a comment:


  • doodab
    replied
    I will be interested to see how they handle the inevitable attempts to implement swift compilers on other platforms.

    Leave a comment:


  • NickFitz
    replied
    I watched the keynote, but I didn't see any point in mentioning it on here, as all that happens is the usual people squawking "OMG APPLE ARE SAYING THEY INVENTED ELECTRICITY!!???! THEY DIDN'T!!!1!1! I KNOW SOMEBODY WHO USED ELECTRICITY IN 1998!!!ONE!"

    Leave a comment:


  • doodab
    replied
    Originally posted by TheCyclingProgrammer View Post
    Just my opinion, but based on the fact that Apple don't tend to keep old technologies round for any longer than they need to, especially if it creates a barrier to further innovation/development. It may be several years before they are ready to drop Objective C for good, but it will happen. Probably on iOS first, where Apple have full control of the platform.
    From what I understand they are ABI compatible so there is no reason why objective C continuing to exist should be a barrier to innovation as far as I can see.
    Last edited by doodab; 3 June 2014, 19:18.

    Leave a comment:

Working...
X