3 ms·
Is this how the term OO got degenerated? In Communicating Sequential Processes, you only communicate via messages (C) & the processes (P) sequentially (S) run
by eternalban 12y ago
Is this how the term OO got degenerated?
In Communicating Sequential Processes, you only communicate via messages (C) & the processes (P) sequentially (S) run to completion.
Go is not CSP. It is fair to say it was inspired by CSP.
Go has a preemptive scheduler, and passing shared memory references is idiomatic and at times unavoidable.
- skj 12y agoGo-the-language does not have a preemptive scheduler, just guarantees about how various means of synchronization interact. In fact, Go-the-implementation is only partially preemptive, I believe: in addition to calls into the runtime, calling any function can now be a scheduling event. But if you have a tight loop with no function calls (just arithmetic, perhaps), that goroutine will not yield control. A true preemptive scheduler would be able to take control from that goroutine.
- eternalban 12y agoNot so. http://golang.org/doc/go1.2#preemption http://golang.org/doc/go1.2#preemption [edit: hmm. Possibly I've mis-parsed that.]
- skj 12y agoI'm pretty sure you parsed that wrong :)
- eternalban 12y agoYes, you're right. But original . re CSP stands :)
- skj 12y agoSure. I don't really know much about CSP.
- jerf 12y ago"Is this how the term OO got degenerated?" I have a theory that there exists no software engineering term that is unambiguously understood by all language communities to be the same thing. If there is one, it won't be for long. Another recent fun one: "Continuation". Used to mean something very specific in the programming language theory community, it is now nearly indistinguishable from "thread" in many communities.
- eternalban 12y agoI agree and it is not good, at all. There is a serious impedance mismatch between industry and academia. The former wants them young and barefoot and the latter hasn't figured out how to convey the (at this point in time) substantial body of work in the field to those that elect for a 4 year (!) CS degree. Compare to state of affairs in medicine, as an example.
- gravypod 12y agoThe story is quite interesting if you have not read it. One of my favorite reads. http://userpage.fu-berlin.de/~ram/pub/pub_jf47ht81Ht/doc_kay_oop_en http://userpage.fu-berlin.de/~ram/pub/pub_jf47ht81Ht/doc_kay...