🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.objective-c
Article #300

GNU Runtime

#300
From: Kevin Sapp
Date: Tue, 29 Dec 1992 17:09
35 lines
2271 bytes
Greetings,

I am trying to persuade some folks here that using objective-c could have
some major advantages over C++, especially in the runtime access of 
variable names, types, method names, types, structure/class encoding, RUN
TIME BINDING.

I know that the NeXT runtime supports the above, does/will the GNU runtime?
I am working on structure inflating/deflating ala @encode for transfering
atructures/objects/variables to/from files/sockets...  I have the atomics,
strings, pointers, and arrays for deflating but not embedded objects.  The
code both works and needs some work.  The Inflation is not implemented yet.
(Has anyone done this?)

I am also trying to put together a FIRST CLASS object that can be queried
(using standard objective-c syntax) about itself...how many instance variables
do you have, what is the name of the 2nd one, type of 2nd one, ...
This would be the base class of a remote object (with some additional 
methods).  The current Class uses the NeXT runtime calls and structures
to obtain this information.  (What is the GNU way?)

I beleive these are the first steps toward distributed/remote objects.
(any thoughts?)  Once one can access an objects instance variable, class,
and method information at runtime the information is there now the transfer
of this data (ala @encode strings for processor independance), method 
existance, invocation and return values are some of the remaining challanges.

Civilized input welcome!  


-- 
----------------------------------------------------------------------------
Kevin A. Sapp                    "A civilization depends upon the quality
Superconducting Super Collider    of individual it creates"   (Dune)
sapp@sawdust.ssc.gov :>( please NO NeXT mail                   
Technical Details
Message-ID: <1992Dec29.170918.25328@sunova.ssc.gov>
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!usenet.ins.cwru.edu!agate!spool.mu.edu!uwm.edu!linac!sunova!sawdust.ssc.gov!sapp

Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.objective-c
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!usenet.ins.cwru.edu!agate!spool.mu.edu!uwm.edu!linac!sunova!sawdust.ssc.gov!sapp
From: sapp@falcon.ssc.gov (Kevin Sapp)
Subject: GNU Runtime
Message-ID: <1992Dec29.170918.25328@sunova.ssc.gov>
Originator: sapp@sawdust.ssc.gov
Sender: usenet@sunova.ssc.gov (News Admin)
Nntp-Posting-Host: sawdust.ssc.gov
Organization: Superconducting Super Collider Laboratory, Dallas
Date: Tue, 29 Dec 1992 17:09:18 GMT
Lines: 35