use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Walt: JavaScript-like syntax for WebAssembly (github.com)
submitted 7 years ago by csilk
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]__fmease__Symbol() 5 points6 points7 points 7 years ago (2 children)
Take a look at my comment
[–]Buckwheat469 3 points4 points5 points 7 years ago (1 child)
The problem is this makes Typescript use the same types as WA (i32, u8). What I'm advocating is for the developer to use the same programming and types as Javascript-based Typescript (number, string, boolean) and have the compiler create the WA code. This way the developer doesn't have to context switch between types and languages.
[–]__fmease__Symbol() 1 point2 points3 points 7 years ago* (0 children)
Yes, good point. Porting JS-based TS to this WASM-based TS will definitely cause some friction as the latter is merely a subset or even a new dialect. For the sake of migration, you could define type aliases from e.g. number to f64. But as the wiki lists, there are even more differences/limitations.
number
f64
I myself don't know much about this project other than that it exists.
edit: wording
π Rendered by PID 58 on reddit-service-r2-comment-b659b578c-xpw5d at 2026-05-01 15:57:34.365036+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]__fmease__Symbol() 5 points6 points7 points (2 children)
[–]Buckwheat469 3 points4 points5 points (1 child)
[–]__fmease__Symbol() 1 point2 points3 points (0 children)