Bhaskar, How does GTM handle dynamically created code? i.e.
MyProc(i) new s set s="write "_i_,! xecute s quit How it the code that is executed handled (compiles, stored etc.)? Also, if another language were to link in the object code, I assume that one's private program could reap the benefits of GTM. But do these multitudinous object modules in turn call on functionality of GT.M? Does the linker automatically follow this dependency? Thanks Kevin On 12/5/05, K.S. Bhaskar <[EMAIL PROTECTED]> wrote: > On all platforms, GT.M is a compiler, and generates native object code > (if you want to be picky, it's actually threaded code) for each target > platform. Each M module resides in a .m source file which is compiled > to a .o (UNIX) or .OBJ (OpenVMS) object file. > > On OpenVMS, you can build standard shared installable .EXE images that > include modules in .OBJ files generated by GT.M. > > On UNIX/Linux, GT.M takes a different approach, which is to create > shared libraries (e.g., .so files) with modules in .o files generated by > GT.M. This feature is implemented on GT.M for HP Alpha/AXP Tru64 UNIX, > IBM eServer pSeries AIX and HP PA-RISC HP-UX, but not for Sun SPARC > Solaris or x86 GNU/Linux > > As a practical matter, the impact of not being able to put object code > into shared libraries is mostly a matter of using system memory more > efficiently, and at today's RAM prices really is something to think > about probably only when you start getting into the thousands of > concurrent processes. > > -- Bhaskar > > On Sat, 2005-12-03 at 00:57 -0600, Kin Ho wrote: > > > > > > Hi Kevin, > > > > That is an excellent document. > > I wonder if the open source linux GT.M ?M-compiler? can compile > > M codes to an executable file. I know for sure their VMS version > > can do it. It is kind of unique; and I am not aware of any > > other M compiler, including Cache, can achieve it. > > > > Regards > > Kin > > > > > > > > On Dec 2, 2005, at 5:42 PM, Kevin Toppenberg wrote: > > > > > I believe it is the means that > > > allows perl to link to M data. On the Sanchez website: > > > http://www.sanchez-gtm.com/technology/architecture.htm > > > there is a graphic which show this. > > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > > files > > for problems? Stop! Download the new AJAX search engine that makes > > searching your log files as easy as surfing the web. DOWNLOAD > > SPLUNK! > > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > > _______________________________________________ > > Hardhats-members mailing list > > Hardhats-members@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/hardhats-members > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > Hardhats-members mailing list > Hardhats-members@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/hardhats-members > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members