Re: Cocoa runtime VM?
Re: Cocoa runtime VM?
- Subject: Re: Cocoa runtime VM?
- From: Damien Bobillot <email@hidden>
- Date: Thu, 28 Jul 2005 23:45:37 +0200
Le 28 juil. 05 à 20:07, John Stiles a écrit :
FWIW, garbage collection also has a set of rules that a programmer
has to understand in order for it to work. For very simple code,
the rules are simpler, yes, but in reasonably complex code, garbage
collection requires a similar level of programming savvy to Cocoa's
memory management (IMO). It's not a magic bullet. Also, "using a
VM" doesn't imply "uses garbage collection" at all... you're
presuming that all virtual machines work like Java, which isn't true.
There are langages using a garbage collector with compliers able to
create native code. I often use a langage called ocaml (it's a
functionnal langage like lisp) with. There also exists garbage
collectors for C/C++ programms.
(many virtual machines are used for high level langages or recent
langages like java or C#, so VM => GC is generaly true ;))
Is there a runtime VM/intermediate-code tool for Cocoa/Obj-C? E.g.
I could compile my Cocoa/Obj-C code to an intermediate-code/
bytecode format and then run it inside a Cocoa/ObjC VM.
Currently, there's no VM/bytecode for Obj-C (the gcc and CW compilers
compile to native code, and I've never heard of other Obj-C compilers).
--
Damien Bobillot
_______________________________________________
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