atlas-engineer / cl-electron

Lisp Interface to Electron.
BSD 3-Clause "New" or "Revised" License
16 stars 1 forks source link

Use local Unix socket instead of BSD socket #4

Closed Ambrevar closed 1 year ago

Ambrevar commented 1 year ago

We BSD is vulnerable (and possibly slower) than Unix socket.

  1. On the Lisp side, simply replace usocket with iolib.
  2. Can Electron create Unix sockets? As far as I understand, it's enough to replace the port by a path: https://nodejs.org/api/net.html
aartaka commented 1 year ago

Node js is capable of anything (I guess making coffee too 😨)

aadcg commented 2 months ago

No longer true since https://github.com/usocket/usocket/commit/7a24c571541b1d046976f0c175f1f2658dbdf0f7.