Re: C coding
Marc Hunter <marc-G5HfMHItY0AlJZD/[email protected]>
| Newsgroups | gmane.comp.lang.as400.c |
|---|---|
| Message-ID | <[email protected]> |
We do a lot of C++ coding and primarily benefit from its cross-compilability between with windows and Linux (if you do it in a disciplined fashion). It also allows us to leverage existing tools and skill sets across the organization. We even use it for a fair bit of database access as we've wrapped the SQL api's into a nice reusable object. That said - most of the coding in our department is 'tools' coding. HTH, Marc On 2/10/2014 2:45 PM, Buck Calabro wrote: > On 2/10/2014 4:59 PM, frank kolmann wrote: > >> So I am prompted to ask, is anyone doing serious coding in C on the AS400. >> And if so what is the application and more interesting to me what style of >> C code is being used? > I have C code in production that I used for ASN.1 serialise/deserialise > operations. Also, for socket operations. Both of these are wrappered > so that ILE RPG programs can call the functions. > > Today I'm not sure I'd recommend using C for sockets; there are plenty > of RPG examples these days (thanks Scott!) But there are some > programming chores which C works well for, AND for which one can find > examples on the web. > > Generally speaking, I do all my IBM i database work in RPG. I'd use C > for tool / interface type work. At home I use C to program PIC > microprocessors; another chore that uses no database. ish. > --buck -- 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.