Re: C vs C++
Jevgeni Astanovski <[email protected]>
| Newsgroups | gmane.comp.lang.as400.c |
|---|---|
| Message-ID | <CAJuVQr1aSsuo-C6v2dMM0zG7LZKiXPeyVsVk1TT8Ugz==iPDHw@mail.gmail.com> |
> > > With so few specifics of the scenario, the following may be way off the > mark, but as a possibility: > > Perhaps the /calculations with packed decimal/ over data that is > apparently /record data/ of /some tables/ could be performed by the SQL? > > -- > Regards, Chuck > -- Chuck, As I wrote, I have a working functionality written on C. It works fine and fast. Definitely C++ plus SQL will not be faster as there is a significant amount of optimization in the current code. SQL would do nothing more but introduce another language. For the same price I could (in theory) consolidate all packed decimal calculations in one module, compile it with C compiler and then bind together with C++ main. But in my particular case it has absolutely no sense :-) Jevgeni. -- This is the Bare Metal Programming IBM i (AS/400 and iSeries) (C400-L) mailing list To post a message email: C400-L-Zwy7GipZuJhWk0Htik3J/[email protected] To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/c400-l or email: C400-L-request-Zwy7GipZuJhWk0Htik3J/[email protected] Before posting, please take a moment to review the archives at http://archive.midrange.com/c400-l.