tractor icon indicating copy to clipboard operation
tractor copied to clipboard

Trying for `macOS` support, again..?

Open goodboy opened this issue 5 months ago • 0 comments

Bc new users with fancy hw keep asking about it and i suppose once we add support the project will prolly get popular with them "career hackers" with "nice furniture" 😹


Immediately known issues

  • [ ] our use of XDG_RUNTIME_DIR on linux in the UDS tpt backend for the selection of the UDSAddress.def_bindspace is problematic.

    • see this SO answer which indicates using DARWIN_USER_TEMP_DIR per,

      So the only difference is that Mac doesn't guarantee cleanup on log out. (For example, if you're putting a Unix domain socket in your runtime directory, when being portable to Mac you can't rely on that socket being automatically deleted for you if the user logs out but doesn't turn off their computer.)

    • [ ] ideally we use some (lib's) cross-platform approach for these kinds of problems? I know in the past i've copied click.utils.get_app_dir() impl for use, but not sure there's an equiv for all $XDG_ style vars?
  • [ ] there's our outstanding list from long ago ,

    • https://github.com/goodboy/tractor/pull/341
    • [ ] pretty sure @jaredgoldman had a fix for the posix shm file-name len problem, but we may have lost that history? Either way think a collab has generated a soln with ol claudy Bo
  • [ ] we need to get https://github.com/goodboy/tractor/pull/342 !!

goodboy avatar Sep 22 '25 12:09 goodboy