Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Have you looked into webassembly and how browsers give access to filesystems[1], there could be hope for a future of high performant filesystem access.

[1] https://developer.mozilla.org/en-US/docs/Web/API/FileSystem



From the linked article:

This interface will not grant you access to the users filesystem. Instead you will have a "virtual drive" within the browser sandbox. If you want to gain access to the users filesystem you need to invoke the user by eg. installing a Chrome extension. The relevant Chrome API can be found here.


that's not low level disk access


Can you explain how it isn’t?


If you are accessing the file system, you are accessing an abstraction, not the actual disk data (which is another abstraction on top of the actual hardware).


Does it give you access to /dev/disk0 (or /dev/nvme0, or /dev/sda0, or /dev/rdisk0 etc)? If not, no.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: