News for hackers. Stuff that matters.
Re:Manifesto: Adding memory ownership to Swift by Tanegashima on Saturday February 18, 2017 @02:43AM (#13673980)
Swift doesn't have memory ownership because your supposed to use DispatchQueues for that.

The end.

People asking for this are the people not familiar with Apple's SDK. And btw, DispatchQueues are also available in Linux, GCD has been ported to Linux since the beginning, but neckbeards have been trying to avoid it at all costs because it's Apple, and now they are complaining because Swift has been taking the spotlight from Rust.

Re:Manifesto: Adding memory ownership to Swift by bsaul on Saturday February 18, 2017 @04:23AM (#13674162)
I think this argument is the real justification :

"Memory ownership model: an (opt-in) Cyclone/Rust-inspired memory ownership model is highly desired by systems programmers and for other high-performance applications that want predictable and deterministic performance"

I think it could be used to implement mechanism such as dispatch queues, which are for now implemented in C.

Re:Manifesto: Adding memory ownership to Swift by Tanegashima on Saturday February 18, 2017 @06:15AM (#13674427)
And what's the problem of being implemented in C?
Re:Manifesto: Adding memory ownership to Swift by coldtea on Saturday February 18, 2017 @07:41AM (#13674618)
What's your problem with it being implemented in Swift?

Because you phrased your answer in an adversary tone (what with neckbeards, people jealous of Swift "taking the spotlight" etc) as if there was some war going on.

Plus the whole, "It will always only be dispatch queues, deal with them, period" vibe I don't really care for.

I gather you are not an official spokesperson for the Swift team, and thus qualified to make such a call?

If you read TFA, it's an Apple engineer that says:

"Memory ownership is a topic that keeps poking its head up here. Core team members have mentioned several times that it's something we're interested in working on. "

[dead]
Re:Manifesto: Adding memory ownership to Swift by kibwen on Saturday February 18, 2017 @10:42AM (#13675132)
> "see, APPLE COPIED this from the open source community, those bastards" like we constantly see from the Rust guys since Swift debuted

What? Not only did Lattner repeatedly state that Rust (among other languages) was an influence on Swift, the Rust developers are proud, not salty about that fact. In fact, they're quite open about taking features from Swift as well (e.g. `if let`). Three of Apple's Swift developers are former Rust developers/interns.

Re:Manifesto: Adding memory ownership to Swift by Tanegashima on Saturday February 18, 2017 @09:55PM (#13677957)
I know that, but there's a difference between those who do, and those who talk about it.

And all I see here is those who talk about it.

Re:Manifesto: Adding memory ownership to Swift by coldtea on Sunday February 19, 2017 @08:46AM (#13679642)
>And all I see here is those who talk about it.

That's because here is not the official mailing list of either Rust or Swift. DUH!

And even here, 99% of those who comment, don't talk about for the envy/war reasons that you attribute to them.

In fact you're one of the very few to bring up this BS rivalry thing.

Re:Manifesto: Adding memory ownership to Swift by bsaul on Saturday February 18, 2017 @07:40AM (#13674617)
swift ambitions to become a system programming language. That means to replace C.
Re:Manifesto: Adding memory ownership to Swift by Tanegashima on Saturday February 18, 2017 @08:31AM (#13674743)
Yes, let's rush the development of the language, just to say you can do X. /s
Re:Manifesto: Adding memory ownership to Swift by Gankro on Saturday February 18, 2017 @09:14AM (#13674840)
The Swift memory model is current incoherent; this is an attempt to fix that. (defining accesses properly, properly preventing conflicting accesses in single threaded ways)

Boring single-threaded swift code can currently be incredibly slow for no clear reason; this is an attempt to fix that.(addressors++)

The details this manifesto covers need to be settled for ABI-stability, which is still one of the primary goals for Swift. (because it enables making it a part of Apple's OSes)

Re:Manifesto: Adding memory ownership to Swift by Tanegashima on Saturday February 18, 2017 @09:56PM (#13677960)
No, it's not.
Re:Manifesto: Adding memory ownership to Swift by solidsnack9000 on Saturday February 18, 2017 @04:22AM (#13674157)
Many of us who like Rust also like Swift, and there are many Swift team members who have contributed to Rust.

What I do wonder about it is Swift's plan for things like tiny binaries (no runtime), no standard library, zero-cost (or predictable cost) abstractions...

Re:Manifesto: Adding memory ownership to Swift by Tanegashima on Saturday February 18, 2017 @08:20AM (#13674715)
Swift is an Applications programming language first, digging its way down to the system.

Rust on the other hand tries to be a system programming language, but with no success at that. And it's not a popular Applications programming language because there's no support from any major software platform vendor.

Swift doesn't have a runtime, a linked library isn't a runtime, if you think it is, then you don't have the qualifications to discuss this.

It is not a problem to store one 50meg file on my 32GB iPhone or 128GB server, it would be in a 32KB microcontroller, but nobody is trying to ship Swift as a language for those.

Re:Manifesto: Adding memory ownership to Swift by solidsnack9000 on Monday February 20, 2017 @07:30PM (#13692248)
> Swift doesn't have a runtime, a linked library isn't a runtime, if you think it is, then you don't have the qualifications to discuss this.

My understanding is that it's called "the Objective-C runtime". I don't need any qualifications to call it that!

I'm not sure what distinction you're trying to draw.

Re:Manifesto: Adding memory ownership to Swift by mememachine on Saturday February 18, 2017 @02:53AM (#13673991)
Neckbeards?