frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

What's wrong with Electron IPC and how it could be improved

https://teamdev.com/mobrowser/blog/what-is-wrong-with-electron-ipc-and-how-to-fix-it/
2•Ikryanov•1h ago

Comments

Ikryanov•1h ago
I've been working with Electron for a while, and one thing that keeps bothering me is how IPC is designed. I mean, it's pretty good if you write a simple "Hello, world!" app, but when you write something more complex with hundreds of IPC calls, it becomes... a real pain.

The problems I bumped into:

1. No single source of truth for the API between renderer and main.

2. Channel names are just strings (easy to break, hard to refactor).

3. No real type safety across process boundaries.

4. I have to manually keep main, preload, and renderer in sync.

5. The errors I can see only at runtime.

I tried to think about a better approach. Something on top of a contract-based model with a single source of truth and code generation.

I wrote my thoughts about how the current design can be improved/fixed (with code examples) here:

https://teamdev.com/mobrowser/blog/what-is-wrong-with-electr...

How do you deal with this in your project?

Do you just live with it or maybe you built something better on top of existing Electron IPC implementation?

RNDA: A data architecture where raw data is permanently discarded after encoding

https://rnda.io/
1•ziggytech•1m ago•0 comments

Continuous Collision Detection as a Visual Effect

https://adamheins.com/blog/ccd-visual
1•adamheins•1m ago•0 comments

Why the Amish Have Never Needed a Gas Station [video]

https://www.youtube.com/watch?v=jl9peJKkf1M
1•user20180120•2m ago•1 comments

The AI Revolution in Math Has Arrived

https://www.quantamagazine.org/the-ai-revolution-in-math-has-arrived-20260413/
1•lschueller•2m ago•0 comments

Lerd, an open source Herd-like PHP development environment for Linux and macOS

https://github.com/geodro/lerd
1•geodro•3m ago•1 comments

Enterprises power agentic workflows in Cloudflare Agent Cloud with OpenAI

https://openai.com/index/cloudflare-openai-agent-cloud/
1•surprisetalk•5m ago•0 comments

US companies not going public because of hostile litigation environment

https://www.washingtonpost.com/opinions/2026/04/13/lawyers-class-action-lawsuits-public-companies/
1•dryadin•5m ago•0 comments

Transistor Runs on Air and Used in a DIY Digital Clock [video]

https://www.youtube.com/watch?v=E1BLGpE5zH0
1•arttaboi•7m ago•0 comments

Open Letter Opposing the Paramount-Warner Bros. Discovery Merger

https://blockthemerger.com/openletter
1•ChrisArchitect•7m ago•0 comments

The tool is not the author

https://resolve.works/articles/the-tool-is-not-the-author/
2•monneyboi•8m ago•0 comments

Show HN: NRC nuclear licensing RAG pipeline and regulatory embeddings dataset

https://huggingface.co/datasets/davenporten/nrc-regulatory-embeddings
1•davenporten•8m ago•0 comments

Show HN: Git-native solution for documenting software architecture

https://app.maniok.io
1•salzaverde•8m ago•0 comments

Show HN: MOS Tech 6502 emulated in pure Postgres

https://github.com/lasect/pg_6502
1•heywinit•8m ago•0 comments

Web scraping tarpits are catching legitimate data teams, not just AI crawlers

https://foura.ai/blog/web-scraping-tarpits-collateral-damage
1•angelhadjiev•9m ago•0 comments

Economic Software Testing (2019)

https://baatz.ch/2019/economic-software-testing/
1•rzk•10m ago•0 comments

OpenCode vs. Claude Code vs. Copilot

1•pjmalandrino•10m ago•0 comments

Joaquin Phoenix, Ben Stiller, Other Hollywood Names Oppose Paramount-Warner Deal

https://variety.com/2026/film/news/hollywood-open-letter-paramount-warner-bros-deal-1236720249/
1•randycupertino•10m ago•1 comments

Sam Altman reportedly targeted in second attack

https://www.theverge.com/ai-artificial-intelligence/910890/openai-sam-altman-second-home-attack-s...
2•Brajeshwar•10m ago•1 comments

Categorization Is 'Baked' into the Brain

https://www.nature.com/articles/s41583-026-01036-2
2•XzetaU8•13m ago•1 comments

Did NFTs leave a lasting mark or was it purely speculative?

1•Heyhum•15m ago•0 comments

Show HN: I built a tool that automatically turns tickets into design doc and PRs

3•rajivprab•16m ago•0 comments

Paris Court Issued Site Blocking Orders Against ISPs, DNS Resolvers and VPNs

https://torrentfreak.com/paris-court-issued-simultaneous-site-blocking-orders-against-isps-dns-re...
1•speckx•17m ago•0 comments

Philippines Asks Facebook to Curb Fake News, Warns of Legal Move

https://www.bloomberg.com/news/articles/2026-04-12/philippines-asks-facebook-to-curb-fake-news-wa...
3•1vuio0pswjnm7•17m ago•0 comments

Unmasking the Creator of Bitcoin

https://www.nytimes.com/2026/04/09/podcasts/the-daily/satoshi-nakamoto-bitcoin-creator.html
2•brandonb•18m ago•0 comments

The Harness Tax: The dead weight in your coding agent

https://twitter.com/siddhxrth10/status/2043703343453987133
1•siddhxrth•18m ago•0 comments

How Healthy Are Oats?

https://www.nytimes.com/2026/04/13/well/eat/oats-health-benefits-recipes.html
2•brandonb•18m ago•0 comments

The Graveyard of Unabsorbed Knowledge

https://verificationbottleneck.substack.com/p/the-graveyard-of-unabsorbed-knowledge
1•Giwwi•18m ago•1 comments

We May Be Living Through the Most Consequential Hundred Days in Cyber History

https://ringmast4r.substack.com/p/we-may-be-living-through-the-most
15•laurex•22m ago•0 comments

Show HN: I built a sandboxed agent that writes JSON rules to avoid repeat errors

1•grimm8000•23m ago•1 comments

Live Streaming from Space: Infrastructure Challenges Behind Video Beyond Earth

https://www.red5.net/blog/live-streaming-from-space-infrastructure-challenges/
1•mondainx•24m ago•0 comments