TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

ValidScript – a modest proposal for app security

1 pointsby vngzsover 3 years ago

1 comment

vngzsover 3 years ago
Unclear to me whether &quot;better languages&quot; is the issue or just better type systems. We should be able to express &quot;untrusted input&quot; in any sufficiently extensible type system (e.g., Rust would probably let you express this). Typescript may let you express this; I don&#x27;t know because I&#x27;ve never worked with it.<p>At a high level, I agree - our tools should do this for us, we shouldn&#x27;t need people to be experts in untrusted input handling to work effectively with it.<p>Google internalized this and built their own modular library that they use for all UI development that just makes this completely opaque to the developers. So they don&#x27;t have most frontend input handling bugs, or if they do they get fixed for everyone at once in the framework layer.
评论 #28719969 未加载