5 ms·
Worth noting that Xcode doesn't just include the IDE, but also an entire LLVM/clang toolchain as well as SDKs and simulator OS disk images for macOS, iOS, watch
by kitsunesoba 6y ago
Worth noting that Xcode doesn't just include the IDE, but also an entire LLVM/clang toolchain as well as SDKs and simulator OS disk images for macOS, iOS, watchOS, and tvOS.
It probably wouldn't hurt to split that up a bit — perhaps Xcode could install only the toolchain and macOS SDKs by default with the rest being downloadable on demand, but there's definitely a lot more going on there than just IDE/text editor. It's an all-in-one appleOS development kit.
- _qulr 6y ago> SDKs and simulator OS disk images for macOS, iOS, watchOS, and tvOS Yes, the vast majority of Xcode's size comes from inside the folder Xcode.app/Contents/Developer/Platforms
- MarkyC4 6y agoAndroid Studio is better in this regard, there's an SDK manager so I don't need to have watchOS/tvOS installed when my apps don't target it
- pjmlp 6y agoYou just need the Studio that actually works, the "stable" to try stable updates, then the beta and canary versions to try out stuff that take months or even years to arrive to stable and still bork on first stable release.
- intricatedetail 6y agoDid they pay for development of that toolchain or just "embraced" the open source?
- laingc 6y agoThey most certainly paid for it, as well as financing many of the key contributors to related open source projects.
- intricatedetail 6y agoSo not all contributors got paid? Sounds obscene given how much money they have.
- kortilla 6y agoSounds like you’re not a fan of open source software.
- eddieh 6y agoApple has been involved in the toolchain since nearly the beginning. They hired one of the original authors and sponsor its development: https://foundation.llvm.org/docs/sponsors/ https://foundation.llvm.org/docs/sponsors/ Not only have the paid for it, but it wouldn't likely be anything more than an academic project without Apple.
- deleted 6y ago[deleted]
- anaerobicover 6y agoI'd even (somewhat tongue in cheek) say that the text editor is the worst and least important part of Xcode. :) (In fairness it's been improving in recent years but it's still not flexible/customizable to my TextMate taste.)
- _qulr 6y ago> In fairness it's been improving in recent years Has it? In my experience, the Swift rewrite of Xcode source editing has made it vastly more buggy. I forget exactly when this happened, Xcode 8? 9?
- kitsunesoba 6y agoIt's definitely been improving since that initial rewrite. There's still a few rough spots, but they can be avoided almost entirely by writing idiomatic Swift — the stuff that trips SourceKit up tends to be things like nesting closures deeply and ridiculously long optional chains. SwiftUI has done well to expose SourceKit/Xcode's weak spots. Nearly all of the performance improvements brought to both in the last major release were a result of SwiftUI applying pressure in the previous release.
- josephg 6y agoI was playing with swift a few months ago on my 2016 MacBook Pro and Sourcekit sat on 100% cpu for hundreds of milliseconds whenever I typed a keystroke for some reason. There’s also a bug / horrible design choice in the macos kernel from the last couple of years where if the cpu is pegged, the computer drops keystrokes. These two bugs combined to make my computer lose keystrokes while typing function names - they came out garbled unless I purposefully typed really slowly. I was gobsmacked. It was the worst code editing experience I’ve ever had. Maybe I’m “using the wrong swift features” but it really just feels like its amateur hour at Apple. Did all the senior engineers leave in the last few years? Xcode as a whole has sort of felt like beta software since Xcode 3. Every version they fix one bug, add a headline feature and add 3 new bugs to work around. And everything gets 20% slower. It seems like they keep rushing releases out the door for wwdc then they never fix it properly afterwards. Swift is a lovely language but the experience is thoroughly and totally ruined by Xcode. Xcode manages to make eclipse feel lightweight and snappy.
- bombcar 6y agoIt is possible to install just the tool chain - brew asks you to do so if you don’t have Xcode installed.
- i386 6y agoYou can just install the command line tools without having to download Xcode. It has been this way for a decade.