Does the implementation of system call matter for the programmer?

  • Thread starter Thread starter Eus
  • Start date Start date
  • Tags Tags
    Matter System
Click For Summary
SUMMARY

The implementation of system calls is crucial for programmers as it directly impacts performance and portability. Understanding which library procedures result in system calls allows developers to make informed decisions when porting code to different platforms, ensuring compatibility with necessary system calls. Additionally, system calls are significantly slower than regular function calls, making it essential to minimize their use in performance-critical applications.

PREREQUISITES
  • Understanding of system calls and their impact on performance
  • Familiarity with library procedures in programming
  • Knowledge of cross-platform development considerations
  • Experience with performance optimization techniques
NEXT STEPS
  • Research the differences between user space and kernel space in operating systems
  • Learn about specific system calls in Linux and their performance implications
  • Explore techniques for minimizing system call overhead in applications
  • Investigate tools for profiling system calls in programming environments
USEFUL FOR

Software developers, system architects, and performance engineers who are involved in optimizing application performance and ensuring cross-platform compatibility.

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.
 

Similar threads

Replies
5
Views
2K
Replies
10
Views
5K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
5
Views
1K
  • · Replies 4 ·
Replies
4
Views
1K
Replies
29
Views
6K
  • · Replies 45 ·
2
Replies
45
Views
6K
Replies
1
Views
3K
  • · Replies 19 ·
Replies
19
Views
10K
  • · Replies 1 ·
Replies
1
Views
2K