News for hackers. Stuff that matters.
Re:What Happens to OO When Processors Are Free? (2015) by Apocryphon on Sunday January 15, 2017 @04:15PM (#13406436)
It's a damn shame that Swift got rid of message passing. As others have noted [0], it's a step back from Objective-C.

[0] http://mjtsai.com/blog/2014/06/27/the-case-for-message-passi...

Re:What Happens to OO When Processors Are Free? (2015) by catnaroek on Sunday January 15, 2017 @04:22PM (#13406466)
Performance isn't the only reason to dislike Smalltalk-style message passing. A far more important one is the ability to actually reason about your programs (i.e., make inferences about what they will do when run, without actually having to run them), besides just testing objects as black boxes. Traditional imperative programmers can use Hoare triples and predicate transformers. Functional programmers can use any of the various semantic models that have been constructed for all sorts of lambda calculi. What on Earth does the poor object-oriented programmer who wants to understand his program have?
Re:What Happens to OO When Processors Are Free? (2015) by Animats on Sunday January 15, 2017 @05:11PM (#13406688)
Object invariants.
Re:What Happens to OO When Processors Are Free? (2015) by catnaroek on Sunday January 15, 2017 @05:12PM (#13406691)
Most interesting invariants span multiple data structures. For example, when you parallelize matrix multiplication, your invariant is product of the sequence of matrices, and what varies throughout the process is the length of the sequence. Presumably, for your sanity's sake, you want to consider each matrix a separate data structure.
Re:What Happens to OO When Processors Are Free? (2015) by catnaroek on Sunday January 15, 2017 @09:00PM (#13407793)
In case you didn't understand the point to my first reply: Object invariants aren't powerful enough to describe how objects relate to one another, precisely because objects don't tell anything about their internal data structure to the rest of the world.
Re:What Happens to OO When Processors Are Free? (2015) by bsaul on Sunday January 15, 2017 @05:52PM (#13406873)
Fwiu swift is planning to implement actor style concurrency in a year or two. Which, if done properly, would be much much more interesting than what objective-c dynamic dispatch offers (see OTP for an example of what a full blown actor model offers).