Comment by verdverm
5 hours ago
Separate the valid critiques on other comments, Go's io.FS interface is really nice for making these sorts of things. Is there something like this in Node already? (with base implementations like host and in memory)
5 hours ago
Separate the valid critiques on other comments, Go's io.FS interface is really nice for making these sorts of things. Is there something like this in Node already? (with base implementations like host and in memory)
Another thread about Edge.js has some similar concepts that might be applicable? They're not 1:1 the same but it involves Sandboxing https://news.ycombinator.com/item?id=47417398
I would put virtual or filesystem abstractions in a different category than sandboxing, which puts restrictions over the virtual or native implementations.
I mean that's a fair distinction. There's definitely some overlap depending on needs though.