Live data from Hacker News

Swift Has Reached 1.0

developer.apple.com

111–120 of 180 posts

Re: Swift Has Reached 1.0

#111
post #90
post #36

Earlier quoted context omitted.

Yep, we damn need a bit of more competition within bigs, right now seems just between Google and Mozilla (for the type of language).

C# is in front of all three in mobile space (it compiles to native of course). C# is the only language that is both modern and spans all major mobile platforms. http://en.wikipedia.org/wiki/Xamarin

Considering the minuscule market share that Windows Mobile currently has, C# is close to nonexistent on mobile as of today.

Re: Swift Has Reached 1.0

#112
post #105
post #65

Earlier quoted context omitted.

Funny to call a Lisp dialect functional between quotes. When Lisp and lambda calculus are the very genesis of FP. Yes, Lisp can do pattern matching, usually implemented via macros, In Clojure you use the core.match library.

Well, 1930's functional programming. Those techniques developed into various type theories pretty quickly (at the time for foundational reasons, but also for comprehension/management/expressiveness reasons). Or if you have a more strict reading, Lisp is implementation-driven FP in the 70s compared to theory-driven FP from the time.

Yes, but keeps being functional programming.

Even Haskell does not have all the mathematics theory that one could apply to functional programming.

A programming language to be representative of a programming paradigm does not need to have 100% of all ideas out there.

Re: Swift Has Reached 1.0

#113
post #112
post #105

Earlier quoted context omitted.

Well, 1930's functional programming. Those techniques developed into various type theories pretty quickly (at the time for foundational reasons, but also for comprehension/management/expressiveness reasons). Or if you have a more strict reading, Lisp is implementation-driven FP in the 70s compared to theory-driven FP from the time.

Yes, but keeps being functional programming. Even Haskell does not have all the mathematics theory that one could apply to functional programming. A programming language to be representative of a programming paradigm does not need to have 100% of all ideas out there.

I think it kind of does. FP is a moving target---more of a cultural identity than a technical definition. As it becomes more mathematically focused it will become less applicable to (some) Lisps. If this progression continues and dependently typed languages become increasingly practical we may someday call them FP-without-quotes and even displace things like Haskell and OCaml.

Re: Swift Has Reached 1.0

#114
post #7

Stupid question but is Swift just compiled into Objective-C? I'm asking because I'd like to know if I can write an app in Swift that can run on iOS6.

> I'd like to know if I can write an app in Swift that can run on iOS6. No. From Xcode6 release notes: "iOS 7 and OS X 10.9 minimum deployment target The Swift compiler and Xcode now enforce a minimum deployment target of iOS 7 or OS X Mavericks. Setting an earlier deployment target results in a build failure."

To clarify, is Xcode 6 enforcing a minimum deployment target of iOS 7 even if the app is written in Objective-C and not Swift? If so, I think I'll need to stay on Xcode 5 a bit longer.

Re: Swift Has Reached 1.0

#115
post #56

Earlier quoted context omitted.

Their live feed yesterday was only available on Safari. Isn't it obvious that they want their herd only inside of a barn?

It was streamed in the open HTTP Live Streaming protocol. It just so happens that the only web browser that implements it in Safari. Worked fine in VLC. Is there any other way to do live streams embedded on a web page without a proprietary Flash plugin?

Hardly open. It'd be like if Google rewrote the Gmail frontend to native dart and then just blamed the other browsers for not having a native Dart VM. Dart is even standardized (by ECMA), unlike HLS which isn't standardized.

Relevant: http://annevankesteren.nl/2010/09/draft-vs-standard

Re: Swift Has Reached 1.0

#116

Earlier quoted context omitted.

despite the generic sounding name, neither is HTTP Live Streaming. HLS is a unstandardized protocol written by Apple

"Unstandardized" is misleading; it currently has a draft spec at the IETF: http://tools.ietf.org/html/draft-pantos-http-live-streaming-...

http://annevankesteren.nl/2010/09/draft-vs-standard

Re: Swift Has Reached 1.0

#117
post #56
post #24

Hey guys, do you know if swift will be ever open-sourced? After the WWDC they said that was early to think about it while in beta. So, what's the status now?

Their live feed yesterday was only available on Safari. Isn't it obvious that they want their herd only inside of a barn?

> they want their herd only inside of a barn?

Awesome. Who should I switch to that doesn't want that?

Re: Swift Has Reached 1.0

#118
post #37

Any word on whether they added static library support? Not having it is kind of a dealbreaker for my workflow, unfortunately.

Can you elaborate on how static library support is a hard requirement for your workflow and why frameworks (LLVM modules) don't meet your needs. I'm genuinely curious as I haven't had a chance to do any real work in Swift yet. Fellow Googler btw.

A lot of tools don't support them yet. Robovm in my case (I filed a bug against them, though), but also Cocoapods, for example.

Re: Swift Has Reached 1.0

#119
post #72

Why is a programming language without any open source implementation getting so much attention?

Because: - it brings interactive programming concepts (Playgrounds) into many mainstream developers. - it belongs to the ML language family - it recognizes the advances in mainstream computing in the last 30 years - not everyone like to type @somekeyord and [some method call] everywhere. - many of us do buy development tools and open source is just a nice to have feature

> - many of us do buy development tools and open source is just a nice to have feature

I realize this seems nit-pick-y (and for that I apologize), but that's a false dichotomy.

Open source != free. It's possible to pay/buy open source software.

Re: Swift Has Reached 1.0

#120
post #3

My brother has been using swift to learn some programming. I don't have a mac, let alone iTunes. Is there a legal way for me to download/purchase a manual to help him with his progress?

I don't know if Swift would be the best language to learn programming. Python is probably a better option. I would avoid platform specific languages until you are hired to work in that space. Open platforms like Python are much easier than close platforms to get started in Computer Science.

A good place to start with python would be the Introduction to Computer Science course on Udacity.

https://www.udacity.com/course/cs101

If you are interested in ML, I can recommend taking the Programming Languages course on Coursera after the python course.

https://www.coursera.org/course/proglang

Post reply on HN