Hi Anthony, Anthony Carrico <[email protected]> writes:
> I was editing some local source-code in a local emacs buffer. The emacs > mode (racket-mode) uses local programs (racket, raco) to compile, run > tests, run the repl, etc. It would be nice to run that on a (faster) > remote cpu, but the compilers need access to the local files, etc. > > Is there some kind of weird utility that lets you run a local command, > with access to the local file system, on a remote CPU by intercepting > system calls or whatever (same architecture, of course)? I suppose this is *way* overkill for your scenario, but I have read that Plan 9 is designed for exactly this kind of thing. (A weird utility indeed...) If you're feeling adventurous, maybe you could achieve something similar with plan9port and/or v9fs? http://swtch.com/plan9port/ https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/plain/Documentation/filesystems/9p.txt If you're not wild about exporting your local filesystem, could you instead store the files on the remote machine and run Emacs, etc. from there, over ssh or X forwarding? -- Best, Richard OpenPGP Key ID: CF6FA646 Fingerprint: 9969 43E1 CF6F A646 (See http://www.ocf.berkeley.edu/~rwl/encryption.html for more information.)
