3 ms·
Not only that, but using completely familiar language we still use in software engineering today. > I haven't quite decoded exactly what the modern formulation
by kazinator 9y ago
Not only that, but using completely familiar language we still use in software engineering today.
> I haven't quite decoded exactly what the modern formulation of an `interpretive routine` is.
Here is one, though you can take the "modern" with a grain of salt:
printf("%s = %d\n", name, value);
The format string is interpreted.
A new-ish function that interprets is posix_spawn: http://pubs.opengroup.org/onlinepubs/009695399/functions/posix_spawn.html http://pubs.opengroup.org/onlinepubs/009695399/functions/pos...
The actions parameter specifies instructions to be run inside the kernel, using a limited vocabulary. This is used to do things that are traditionally done in fork/exec code, like duping and closing file descriptors and such.