News for hackers. Stuff that matters.
Re:Ask HN: What are modern architecture patterns for desktop... by ahartmetz on Friday May 20, 2022 @07:44AM (#31446034)
OP, it seems like you are overdesigning. IPC takes way more effort than direct function calls - it's effort that is better spent on something actually useful. Let the requirements pick design patterns, don't try to cram in as many design patterns as possible.

Event handlers, model/view, independent-ish subsystems, frontend/backend are some typical patterns in desktop applications. Some of it depends on your framework - much of the architecture will be defined by the framework. The default should be doing things in the canonical way for the framework.

Re:Ask HN: What are modern architecture patterns for desktop... by devandanger on Friday May 20, 2022 @08:04AM (#31446183)
I agree if you have technical requirements needing it to support (x transactions)/second coming in, optimize your ingress architecture. If these transactions/messages are based on UI interaction in a single offline application, I can't imagine this being too complicated to begin with.