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.

We should replace asm.js with Rust

4 pointsby ivorasover 10 years ago

2 comments

wmfover 10 years ago
Are you proposing that browsers include a full Rust compiler? If so, the compilation time might lead to some slow page loads. If not, then you&#x27;re into bytecode land and the browser developers have extensively talked themselves out of bytecode.<p>Nit: <i>Any code that requires asm.js to achieve decent performance will be horrifically slow when interpreted or even JIT-compiled with generic compilers.</i><p>You&#x27;d think this, but IIRC V8 got decent performance on asm.js code without any special cases.
评论 #8536521 未加载
general_failureover 10 years ago
I actually liked the idea of just integrating llvm byte code straight into the browser (not my idea, from another HN commenter). This way we are language independent.