[ prog / sol / mona ]

prog


Started learning Swift

1 2024-01-16 17:45

What am I in for?

Also, /Swift general/

Resources:
https://cs193p.sites.stanford.edu/2023
https://docs.swift.org/swift-book/documentation/the-swift-programming-language/

2 2024-01-16 18:29

Lucky you, you're past the point where they kept changing basic syntax all over the whole fucking language every couple of months

3 2024-01-17 15:53

>>2
What's the deal with concurrency? Swift 5.9.2 is the first version to have it?

4 2024-01-17 22:21

Joining on this quest

5 2024-01-19 10:37

If I'm not interested in Apple products, why would I bother with Swift? Are there any free software projects that are written in Swift? Why wouldn't something like Golang be better, since it's more widely used in Linux/FLOSS world? To me, Swift seems like a better Objective-C but it's still pretty much only usable on crapple ecosystem(?).

I just read:

https://docs.swift.org/swift-book/documentation/the-swift-programming-language/guidedtour/

and I didn't find anything particularly exiting. On the other hand, Golang is more popular and it has CSP-style concurrency which is great because it's simple.

6 2024-01-19 14:10

>>5
On the server side you have Vapor, it's MIT-licensed and runs on Linux.
https://vapor.codes

But you're right, the whole point is about the Apple ecosystem and the access to the Apple Store where you can sell your shit for money. From my point of view, I couldn't care less about Linux/FLOSS or about anything that involves spending my precious time without financial incentive. I know, the adult life is kind of sad.

7 2024-01-19 16:02

>>3
Swift 1 had threads, but wasn't using them in any way that was special or interesting. They took years to come up with an actor model thing that was supposed to be in 5.0 but it got deprioritized in favor of all the SwiftUI shit.

8 2024-01-19 22:10

>>5

I didn't find anything particularly exiting

exit(0)
9 2024-01-26 17:51

What am I in for?

Suffering.

10 2024-01-29 18:52

What makes learning Swift an exercise in suffering?

11 2024-01-30 07:58

>>10
Apparently you have to download Xcode while you're on a boat, or something like that. I didn't bother reading the entire anecdote because I was confident my intuition could fill in the gaps.

12 2024-02-21 14:07

This is stupid. The ONLY language ANYONE should EVER use is MIT-SCHEME. Ignorance is bliss, and you have fallen victim to the proprietary greed of the modern world. Live love laugh, the end of an era

13 2024-02-22 10:48

What's wrong with Common Lisp?

14 2024-02-22 15:02

>>13

Oh Common Lisp is okay too :)

15 2024-02-26 19:37

>>13
Nothing.

16 2024-03-25 07:33

ITODDLERS BTFO

17 2024-04-20 15:43

>>13
Scheme is better.

18 2024-04-21 17:56

Scheme is the best!

19


VIP:

do not edit these