Skip to catalogue

IPC

Inter-process communication exchanges data or requests between processes.

Use this when A renderer or worker must request work from another process.

without the term

“The Electron window needs to ask the main process to save a file. Right now there's a generic 'run any command' channel. Can you make it safe?”

with the term · How do you ask a model for IPC?

Define a narrow IPC contract for this action. Validate the sender and arguments, then test malformed messages and out-of-scope requests.

XBlueskyLinkedIn

What is IPC?

Processes cannot share memory, so they send messages. Each message type is a contract: the receiver checks who sent it and validates its arguments.

Why does IPC matter when vibe coding?

A generic run-command channel can turn a small feature into unrestricted control.

How do you do IPC?

Expose specific operations, validate inputs at the receiving side, and preserve structured errors.

What goes wrong with IPC?

Assuming messages are trusted because both processes are part of the same application.

adjacent

reviewed

report a correction