• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Cocoa runtime VM?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Cocoa runtime VM?
      • From: "Sean McBride" <email@hidden>
    • Re: Cocoa runtime VM?
      • From: ObjM2 <email@hidden>
References: 
 >Cocoa runtime VM? (From: Robert MacGregor <email@hidden>)
 >Re: Cocoa runtime VM? (From: John Stiles <email@hidden>)

  • Prev by Date: Re: Formatters in IB
  • Next by Date: Are Nibs forever?
  • Previous by thread: Re: Cocoa runtime VM?
  • Next by thread: Re: Cocoa runtime VM?
  • Index(es):
    • Date
    • Thread