logoalt Hacker News

proc0 • today at 7:56 PM • 0 replies • view on HN

Sure it's not a great solution but it's attempting to open up the Web APIs to any language which is the right approach. Ideally they would somehow be exposed directly bypassing JS, but browsers are security nightmares. The approach is not to use those APIs from WASM but instead use it as the backend to the frontend or the middle layer where most of the logic would live.

The reason we have React, TS, and a crazy ecosystem is because client apps have become very large and complex. Adding more layers isn't addressing the complexity at its core: the Web layer was designed for blogs and websites like HN, not for interactive or complex client apps.

I guess it's more a rant about the Web, not so much this TS extension.