4 ms·
strace is language agnostic. Any program that interacts with the OS - interacting with files, allocating memory, etc - will have to make system calls. Whether
by LAC-Tech 3y ago
strace is language agnostic.
Any program that interacts with the OS - interacting with files, allocating memory, etc - will have to make system calls. Whether it's in C, Rust, Zig, Haskell, APL or Prolog.
- senkora 3y agoI want to note that this is also true for “managed” languages like Java and Python. However, because these languages have a far heavier runtime than the “systems” languages, it is usually possible to trace them at the runtime level rather than the syscall level, and doing that will typically give a better experience.