[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: C++ equivalent to spaghetti code
From: |
Wolfgang Draxinger |
Subject: |
Re: C++ equivalent to spaghetti code |
Date: |
Mon, 21 Jul 2008 22:38:33 +0200 |
User-agent: |
KNode/0.10.5 |
David Kastrup wrote:
> Well, message passing, the fundamental defining characteristic
> of OOP (I mean, this is what made Smalltalk revolutionary with
> regard to programming techniques and gave it its name) requires
> you to switch sustained execution contexts, basically switching
> to a different stack, eveery object having its own control
> flow. Synchronous multithreading or whatever you want to call
> it. That's what OO is actually about. The in-memory and
> synchronous in-process equivalent to separate applications with
> separate control flow talking to one another via pipes.
The language I'm currently developing uses C as an intermediate.
And in this language message passing is one of the core
machanisms. And yes, of course message passing is possible, you
just may not implement it in form of simple function calling.
The runtime of my language implements a message dispatcher, that
delivers messages to each object on the reciever list. An object
can decide if it accepts the message and processes it, or if it
passes it on, or accepts and re-yields the message. For example
it is possible to send a message in a way, that it will be
passed up in the hierachy of object instances.
Wolfgang Draxinger
--
E-Mail address works, Jabber: hexarith@jabber.org, ICQ: 134682867
- Re: C++ equivalent to spaghetti code, (continued)
- Re: C++ equivalent to spaghetti code, Willem, 2008/07/21
- Re: C++ equivalent to spaghetti code, peter koch, 2008/07/20
- Re: C++ equivalent to spaghetti code, Richard Heathfield, 2008/07/20
- Re: C++ equivalent to spaghetti code, Lorenzo Villari, 2008/07/20
- Re: C++ equivalent to spaghetti code, Sherman Pendley, 2008/07/20
- Re: C++ equivalent to spaghetti code, Wolfgang Draxinger, 2008/07/20
- Re: C++ equivalent to spaghetti code, David Kastrup, 2008/07/21
- Re: C++ equivalent to spaghetti code,
Wolfgang Draxinger <=
Re: C++ equivalent to spaghetti code, Lionel B, 2008/07/15
Re: C++ equivalent to spaghetti code, Kenny McCormack, 2008/07/15
Re: C++ equivalent to spaghetti code, Roberto Waltman, 2008/07/15
Re: C++ equivalent to spaghetti code, James Kanze, 2008/07/22