Live data from Hacker News

Looking back on Swift 3 and ahead to Swift 4

lists.swift.org

41–50 of 66 posts

Re: Looking back on Swift 3 and ahead to Swift 4

#41

Why does mailing list archival software not contain basic css? Long lines make it hard to read the text. You don't even need much css: http://bettermotherfuckingwebsite.com

Have you seriously never seen mailman before? You must've taken a wrong turn getting here. Of course bettermotherfuckingwebsite.com uses #444 on white. bestestmotherfuckingwebsite.com probably dials it up to #777 with a light sans-serif.

> Have you seriously never seen mailman before?

Sure I have, and every time I'm annoyed by the archive site layout.

> You must've taken a wrong turn getting here.

No need to get personal, take a step back cool down and don't take things so serious.

> Of course bettermotherfuckingwebsite.com uses #444 on white.

Yeah it's also a bit too bright for my taste, but the general point still holds.

Re: Looking back on Swift 3 and ahead to Swift 4

#42

Earlier quoted context omitted.

Have you seriously never seen mailman before? You must've taken a wrong turn getting here. Of course bettermotherfuckingwebsite.com uses #444 on white. bestestmotherfuckingwebsite.com probably dials it up to #777 with a light sans-serif.

> Have you seriously never seen mailman before? Sure I have, and every time I'm annoyed by the archive site layout. > You must've taken a wrong turn getting here. No need to get personal, take a step back cool down and don't take things so serious. > Of course bettermotherfuckingwebsite.com uses #444 on white. Yeah it's also a bit too bright for my taste, but the general point still holds.

Fair enough, I saw it as an attack on no-frills developer-oriented content in favor of some notion of beauty. Mailman pages, like most GNU HTML, are simple and excellent. They're accessible, resize predictably, readable, and they fill the window. They're light and download quickly. They have high information density. It's sort of baffling how narrowing the content, reducing contrast and increasing line height are an improvement over browser defaults. And if you want pages to look like that by default, you can put bestmotherfuckingwebsite.com's CSS in your browser's default stylesheet.

So your criticism seemed out of touch and (can't believe I'm quoting pg) "middlebrow."

Re: Looking back on Swift 3 and ahead to Swift 4

#43

The question I still have, is when will Swift 3.0 release be available in Xcode and for Linux use? The comment of Swift 3.X release in spring 2017 can't be 3.0, or am I missing something?

It's available in the Xcode 8 betas, so probably with the release of the iOS10/macOS GMs.

Re: Looking back on Swift 3 and ahead to Swift 4

#44

Why does mailing list archival software not contain basic css? Long lines make it hard to read the text. You don't even need much css: http://bettermotherfuckingwebsite.com

Yeah it amazes me that an Apple hosted page is unusable on an iPhone because they don't customize their installation.

Re: Looking back on Swift 3 and ahead to Swift 4

#45

Earlier quoted context omitted.

> Have you seriously never seen mailman before? Sure I have, and every time I'm annoyed by the archive site layout. > You must've taken a wrong turn getting here. No need to get personal, take a step back cool down and don't take things so serious. > Of course bettermotherfuckingwebsite.com uses #444 on white. Yeah it's also a bit too bright for my taste, but the general point still holds.

Fair enough, I saw it as an attack on no-frills developer-oriented content in favor of some notion of beauty. Mailman pages, like most GNU HTML, are simple and excellent. They're accessible, resize predictably, readable, and they fill the window. They're light and download quickly. They have high information density. It's sort of baffling how narrowing the content, reducing contrast and increasing line height are an…

If not anything else, it’s pain to read on mobile. That could be easily fixed without compromising any of the good parts.

Re: Looking back on Swift 3 and ahead to Swift 4

#46
post #45

Earlier quoted context omitted.

Fair enough, I saw it as an attack on no-frills developer-oriented content in favor of some notion of beauty. Mailman pages, like most GNU HTML, are simple and excellent. They're accessible, resize predictably, readable, and they fill the window. They're light and download quickly. They have high information density. It's sort of baffling how narrowing the content, reducing contrast and increasing line height are an…

If not anything else, it’s pain to read on mobile. That could be easily fixed without compromising any of the good parts.

Worth noting that that is best fixed with a "viewport" tag rather than CSS: https://developer.mozilla.org/en-US/docs/Mozilla/Mobile/View...

Re: Looking back on Swift 3 and ahead to Swift 4

#47
post #28

Earlier quoted context omitted.

Message passing unfortunately means everything is copied rather than pointed at. Which, in the case of a smartphone is always the beginning of performance or memory related problems. I think rust approach of having strong guarantees over memory ownage, and thus being able to share memory in a safe way, is a better direction for swift.

doesn't copy on write + "immutable" solve the copying problem?

It does not solve the problem if one needs to write or mutate data with any regularity.

Re: Looking back on Swift 3 and ahead to Swift 4

#48

Awesome things in store for Swift. With Rust like memory model as alternative and async/await I think it will massively broaden the appeal of Swift. I can start to see Swift taking over as the main mainstream language in the future. Java and C# has just accumulated too much cruft, they will be the new C++ languages. You can do anything but you have to accept a lot of complexity and awkward syntax to do that.

I like Swift, but they have a pile of work in front of them to make Swift a reasonable proposition against those languages outside the Apple ecosystem.

Re: Looking back on Swift 3 and ahead to Swift 4

#49
post #6

> - First class concurrency: Actors, async/await, atomicity, memory model, and related topics. This area is highly desired by everyone, as it will open the door for all sorts of new things on the client, server and more. We plan to start formal discussions about this in Phase 2, but it is unfortunately crystal clear that a new concurrency model won’t be done in time for the Swift 4 release. This is simply because it…

Discussion on this issue began at least 10 months ago, according to the "Concurrency" proposal in the repository:

https://github.com/apple/swift/blob/master/docs/proposals/Co...

The news here is really an update that they're still thinking about it and it won't be in Swift 4.

Re: Looking back on Swift 3 and ahead to Swift 4

#50
post #28

Perhaps, one should borrow message-passing as a standard language idiom, actors and pattern matching on receive from Erlang, the way Akka did, instead of copying hat async/await ugly hacks. Message passing as a core concept of a language is fundamental and necessary (given that interlop with ObjC is important), and having that and macros gives related control structures for free.

Message passing unfortunately means everything is copied rather than pointed at. Which, in the case of a smartphone is always the beginning of performance or memory related problems. I think rust approach of having strong guarantees over memory ownage, and thus being able to share memory in a safe way, is a better direction for swift.

Message passing, it seems, is the basis for implementation of protocols, be it communication between objects in a hierarchy or between actors/processes in a system or nodes in a network.

It is not coincidence that message passing is the core concept in the original OO paradigm and in design of fault-tolerant distributed systems. Cells do message passing too.

I am not sure what is being copied here. Messages are just structured data (a molecule) in otherwise share-nothing architecture.

Post reply on HN