4 ms·
This would be possible, but it feels like cheating :-) Idk how to express this properly, but I feel like there is a difference between this and the fseek appro
by camel-cdr 4y ago
This would be possible, but it feels like cheating :-)
Idk how to express this properly, but I feel like there is a difference between this and the fseek approach.
In a similar vain, you could say that a certain kind of undefined behavior controls the tape, or writing to a specific part of memory does.
I suppose this would fall under adding additional compiler extension.
- kps 4y ago> … or writing to a specific part of memory does. Memory-mapped devices are pretty common. C's original platform controlled tape drives by writing to memory: https://www.tuhs.org/cgi-bin/utree.pl?file=V7/usr/sys/dev/tc.c https://www.tuhs.org/cgi-bin/utree.pl?file=V7/usr/sys/dev/tc...