4 ms·
You can pry gcc out of my cold, dead hands when your fancy type-safe high level languages will let me do things like: * Fork a running program to enable analys
by cpcallen 9y ago
You can pry gcc out of my cold, dead hands when your fancy type-safe high level languages will let me do things like:
* Fork a running program to enable analysis or serialisation of program state without blocking, or
* Use mmap to allocate all my datastructures on disk, or
* Have full control over what happens when my program receives a signal, or
* exec another program but have it to inherit all the open file descriptors and network connections, or...
- xfer 9y agoHalf of the things you mention are related to system calls, any language that has a C ffi/provides syscall in stdlib will let you that.
- zbentley 9y agoI regularly do all of those things . . . in Perl, with either core features of the language, or ubiquitous, well-supported libraries, in readable, concise code that doesn't "fight" with the language/runtime. Something like Java definitely makes some of those things very hard née impossible, but not all high level languages are the same in those regards. (And yeah, I just called Perl "readable". Bite me.)