F
fabio de francesco
Hi,
I'm not a professional programmer, but I've been writing C/C++ and Ada
programs for a few years on GNU/Linux without ever concerning on
standards and portability to other OSs.
I've always noted that when I write code I must use lots of platform
specific system calls (POSIX and X/OPEN). Often I found myself using
threads and concurrent processes with some sort of IPC. Some time I
need some socket API. When I just want to open a file, making the
function fail if the file exist I have to use the low-level open()
with O_EXCL. Many more examples like these can be showed.
What I would like to ask is:
1) Is portability and adhesion to the standards a real concern for the
people in this group?
2) Is it possible to write real code without breaking portability and
adhesion to the standards?
3) What kind of choices do people that write code as a job take to
deal with these issues?
Ciao,
Fabio De Francesco
I'm not a professional programmer, but I've been writing C/C++ and Ada
programs for a few years on GNU/Linux without ever concerning on
standards and portability to other OSs.
I've always noted that when I write code I must use lots of platform
specific system calls (POSIX and X/OPEN). Often I found myself using
threads and concurrent processes with some sort of IPC. Some time I
need some socket API. When I just want to open a file, making the
function fail if the file exist I have to use the low-level open()
with O_EXCL. Many more examples like these can be showed.
What I would like to ask is:
1) Is portability and adhesion to the standards a real concern for the
people in this group?
2) Is it possible to write real code without breaking portability and
adhesion to the standards?
3) What kind of choices do people that write code as a job take to
deal with these issues?
Ciao,
Fabio De Francesco