Hacker News new | ask | show | jobs
by verdverm 98 days 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)
1 comments

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.