5 ms·
The file/syscall abstraction breaks down when we want to do something as simple as copy and pasting from a spreadsheet to a text editor. This is not a slide tha
by vkou 10y ago
The file/syscall abstraction breaks down when we want to do something as simple as copy and pasting from a spreadsheet to a text editor. This is not a slide that should be surrounded by happy people!
- lisivka 10y agoI opened LibreOffice Calc and pasted spreadsheet it into Writer window without a problem. :-/ I even able to edit it.
- digi_owl 10y agoHe is likely talking about the amount of wrangling of memory ranges and whatsnot that needs to be done to turn the source data into something that can be understood by the destination.
- mwfunk 10y agoWell sure, I would hope so- if copying and pasting from one LibreOffice application to another didn't work that would be an even worse state of affairs.
- lisivka 10y agoYep, pasting from Google spreadsheet into Notepad does not work. Hope is lost. :-(
- slrz 10y agoIt doesn't have to. A text editor could easily present its current buffer and other properties in the form of a file system interface. See e.g. how Linux allows to interact with processes through the /proc file system. There's no reason to restrict this to kernel objects. FUSE also allows user processes to implement a file system but it's clunky as it breaks a lot of old assumptions. See the Plan 9 operating system for an earlier clean implementation of this concept, including programmatic interaction with your text editor through file APIs.
- wahern 10y agoMore specifically, Plan 9 devised the plumber framework for copy+paste and similar IPC. https://en.wikipedia.org/wiki/Plumber_(program) https://en.wikipedia.org/wiki/Plumber_(program) http://www.mostlymaths.net/2013/04/just-as-mario-using-plan9-plumber.html http://www.mostlymaths.net/2013/04/just-as-mario-using-plan9...