5 ms·
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] htt
by marclave 6y ago
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 https://developer.mozilla.org/en-US/docs/Web/API/FileSystem
- kokizzu 6y agothat's not low level disk access
- whb07 6y agoCan you explain how it isn’t?
- jfkebwjsbx 6y agoIf 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).
- kccqzy 6y agoDoes it give you access to /dev/disk0 (or /dev/nvme0, or /dev/sda0, or /dev/rdisk0 etc)? If not, no.
- floo 6y agoFrom 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.