|
|
|
|
|
by eska
963 days ago
|
|
I also really like this paradigm. It’s just that in old crusty null-terminated C style this is really awkward because the input data must be copied or modified. But it’s not an issue when using slices (length and pointer). Unfortunately most of the C standard library and many operating system APIs expect that. I’ve seen this referred to as a pull parser in a Rust library? (https://github.com/raphlinus/pulldown-cmark) |
|