Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
svnpenn
on Aug 11, 2020
|
parent
|
context
|
favorite
| on:
Single Page Applications using Rust
> without writing a single line of JavaScript
Looks like 680 lines to me:
https://rustmart-yew.netlify.app/wasm.js
steveklabnik
on Aug 11, 2020
|
next
[–]
You do not write that JavaScript, it is generated for you by the tooling.
svnpenn
on Aug 11, 2020
|
parent
|
next
[–]
If the end solution relies on hundreds of lines of JavaScript... its JavaScript. I will just write the whole thing in JavaScript instead of messing with something like this.
steveklabnik
on Aug 11, 2020
|
root
|
parent
|
next
[–]
Sure, and you are very welcome to do so. That's not what the original post said, nor what you said in response, though.
CryZe
on Aug 11, 2020
|
prev
[–]
That's auto generated and will shrink more and more in the future as WASM gets more abilities to directly call into DOM APIs and store JS objects.
austincheney
on Aug 12, 2020
|
parent
[–]
There is no indication that will ever happen.
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Looks like 680 lines to me:
https://rustmart-yew.netlify.app/wasm.js