Is it possible to write audio to a table while another reads it,
in real-time? I'd like to be able to record say 5 -10 seconds of audio continuously, which will just be constantly replaced/overwritten by incoming audio. I did see as example in the FLOSS manual using tablew and I believe GEN02, but it wasn't written to operated in real-time.
Is it possible and if so is there a recommended way to go about it?
yes, you can without any problems. Unless you are running in parallel (-j N), which is not the usual way to do things,
all instruments run sequentially, in instrument order. Since tables are global objects, you can access them for reading
or writing from any instrument.
For example, you can write to it in instr X and then read from instr X+N, that will ensure no extra delays are added
to the process.
An alternative to function tables are global arrays (k or a, depending on what you need to do).