Skip to content

Comment on Evaluating JavaScript in the browser for a low code product

Comments

I love the idea of web workers. I struggle to find a use case that isn't limited by serialization/deserialization.

AFAIK, workers are strings in and strings out. Often serialization is the most expensive operation, so adding additional serialization/deserialization steps can decrease performance overall.

The only use case I can imagine that would really benefit is computation-heavy with minimal input/output.

Until there is safe shared memory (please correct me if I'm wrong) I don't see many compelling use cases for web workers.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.