Re: Eval() ?
Re: Eval() ?
- Subject: Re: Eval() ?
- From: Chris Hanson <email@hidden>
- Date: Thu, 2 Mar 2006 21:56:55 -0800
On Mar 2, 2006, at 6:00 PM, Andrew Farmer wrote:
Cocoa is a superset of C, which is a compiled language; as such
there's no direct way to compile and run code at runtime.
Your conclusion does not follow from your premise. Whether a
language is compiled has no bearing whatsoever on whether it is
possible to compile and run code at runtime. Common Lisp and
Smalltalk for example are both compiled, and both are almost
arbitrarily extensible at runtime; in fact, there are common
programming idioms in Common Lisp that rely upon it.
Whether it's possible, in a given environment, to compile and run
code at runtime has a lot more to do with the way the environment's
execution model is designed and implemented. The C execution model
just happens to be rather unsuited for it since it wasn't a design goal.
- Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >Eval() ? (From: Thierry Passeron <email@hidden>) |
| >Re: Eval() ? (From: Andrew Farmer <email@hidden>) |