| ▲ | avsm a day ago | ||||||||||||||||
(author here) I'm just adding data-race free parallelism support to this right now to switch my website over to using it! For those familiar with OCaml syntax, the OxCaml parse function is fun:
This takes in a buffer and returns an unboxed tuple on the stack, so there's no GC activity involved beyond stack management for each HTTP request. | |||||||||||||||||
| ▲ | cdaringe a day ago | parent | next [-] | ||||||||||||||||
Interesting parser, fun to read. | |||||||||||||||||
| |||||||||||||||||
| ▲ | ptrwis a day ago | parent | prev [-] | ||||||||||||||||
Doesn't (honest question) the operating system kernel prevent data races in memory accesses at the level of system calls like brk? I wonder at what level the operating system handles such things? | |||||||||||||||||
| |||||||||||||||||