Does the implementation of system call matter for the programmer?

  • Thread starter Thread starter Eus
  • Start date Start date
  • Tags Tags
    Matter System
AI Thread Summary
Understanding which library procedures result in system calls is crucial for programmers for several reasons. First, when porting library procedures to different platforms, awareness of the equivalent system calls is necessary to ensure compatibility and functionality. If the target platform lacks certain system calls, programmers must identify which library procedures require modification for successful porting. Additionally, system calls are significantly slower than regular function calls, making it essential to minimize their use in performance-critical applications. Avoiding system calls in time-sensitive operations can lead to more efficient code execution.
Eus
Messages
93
Reaction score
0
Hi Ho!

"To a programmer, a system call looks like any other call to a library procedure. Is it important that a programmer know which library procedures result in system calls? Under what circumstances and why?"

I think it is important for a programmer to know which library procedures result in system calls for the following reasons:

1. when the programmer would like to port the library procedures to another platform, he must be aware whether the platform to which the programmer is going to port the procedures has the equivalent system calls that are needed or not. If not, the programmer must determine what library procedures he should hack so that the programmer can port the procedures successfully.

2. ?

Maybe you have other ideas?

Thank you.

Regards,
Eus
 
Last edited:
Computer science news on Phys.org
One reason is that system calls are really, really slow. Just like you wouldn't want to cache data on the hard drive, you would want to avoid functions with system calls for operations that require speed.
 
This week, I saw a documentary done by the French called Les sacrifiés de l'IA, which was presented by a Canadian show Enquête. If you understand French I recommend it. Very eye-opening. I found a similar documentary in English called The Human Cost of AI: Data workers in the Global South. There is also an interview with Milagros Miceli (appearing in both documentaries) on Youtube: I also found a powerpoint presentation by the economist Uma Rani (appearing in the French documentary), AI...
Back
Top