Sam Siegel wrote:

On Wed, Jan 9, 2013 at 11:23 AM, Chris Craddock <crashlu...@gmail.com>wrote:

On 09.01.2013 06:36, Sam Siegel wrote:

The Language Environment Vendor Interfaces (SA22-7568-09) mentions the
ability to use XL C/C++ in an SRB.  This is the full XL C/C++, with
some
restrictions, not METAL-C.
Beware that the "some restrictions" can be quite significant in practice.
Many of the C/C++ library routines you might expect to use just don't work
in that environment.


What about just pure C/C++ code without calling LE library routines or
C-Runtime library routines and assuming that malloc/free and new/delete
eventually invokes the STORAGE OBTAIN/DELETE provided by the substitute
service routines?

What about C++ STL?

Thanks.



Hi Sam,

We offer exactly that environment with the Dignus runtime.
You can replace our memory routines...

We have customers doing exactly what you're talking about.

With the Dignus runtime, you can replace the memory allocation/freeing
to do something appropriate for your runtime environment... and, you
can then either avoid I/O, or replace it...

This gives you the ability to do many things in a rather restricted environment.

Also - using our "Direct CALL" environment, you can establish the C/C++ runtime ahead-of-time to avoid that overhead, etc... (assuming you don't want to do that
every time you get into SRB mode, etc....)


    - Dave Rivers -


--
riv...@dignus.com                        Work: (919) 676-0847
Get your mainframe programming tools at http://www.dignus.com

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to