News for hackers. Stuff that matters.
[dead]
Re:Walt: JavaScript-like syntax for WebAssembly by bgirard on Thursday October 11, 2018 @12:25AM (#18190969)
Where did you get that idea? It's not a design goal of WebAssembly: https://webassembly.org/

WebAssembly's goal is to provide a simple VM with performance good enough for the web to compete with native programs and to unlock use cases that are not possible to run efficiently in JavaScript.

The syntax that the developer see is totally irrelevant here.

Re:Walt: JavaScript-like syntax for WebAssembly by knocte on Thursday October 11, 2018 @04:38AM (#18191826)
He not only mentioned syntax but design too. Clearly JavaScript's lack of int (for example, to mention a design decision of JS) is one of the reasons of its poor performance, not to mention its weak typing approach.
Re:Walt: JavaScript-like syntax for WebAssembly by TomMarius on Thursday October 11, 2018 @06:33AM (#18192298)
There is no lack of int in Walt.
Re:Walt: JavaScript-like syntax for WebAssembly by knocte on Thursday October 11, 2018 @10:51PM (#18198780)
So it's not really JavaScript??? lol
Re:Walt: JavaScript-like syntax for WebAssembly by TomMarius on Friday October 12, 2018 @02:02AM (#18199569)
Exactly.
Re:Walt: JavaScript-like syntax for WebAssembly by porphyrogene on Wednesday October 10, 2018 @11:38PM (#18190837)
Programming languages are tools, not religions. If a project like this can help people use and understand their tools that is a good thing. Reacting as if the infidel language is defiling the sacred is absurd and indefensible from a practical standpoint.
Re:Walt: JavaScript-like syntax for WebAssembly by TeMPOraL on Thursday October 11, 2018 @04:58AM (#18191919)
Well yes... unless you realize that ours is a fashion-driven industry, where technical choices are not made based on technical merits but via a popularity contest. From a practical standpoint, complaining about propagation of bad choices is absolutely defensible.

Or, to put in another way: today you don't complain about crap tech pushing out good tech, tomorrow half of the jobs in your field require you work with the crap tech.

[dead]
Re:Walt: JavaScript-like syntax for WebAssembly by Chloro on Thursday October 11, 2018 @01:02AM (#18191057)
Are you seriously hung up on keywords? Also, you are not required to use "let"...
[dead]
Re:Walt: JavaScript-like syntax for WebAssembly by nindalf on Thursday October 11, 2018 @05:00AM (#18191926)
If you want to troll you should be more subtle about it. Or at least have the courage to use your main account rather than a throwaway
Re:Walt: JavaScript-like syntax for WebAssembly by anonytrary on Thursday October 11, 2018 @03:08AM (#18191477)
> language that requires the "let" keyword is absurd and indefensible

I would seriously like to see you defend this viewpoint.

Re:Walt: JavaScript-like syntax for WebAssembly by pjmlp on Thursday October 11, 2018 @03:45AM (#18191625)
Then you will wipeout a big list of programming languages, given how many use let for assignments.
Re:Walt: JavaScript-like syntax for WebAssembly by adrianmonk on Thursday October 11, 2018 @12:49AM (#18191027)
While I have similar feelings, I also think the mark of success for WebAssembly will be if it succeeds in freeing developers to do web stuff in the language of their choice.

Even if that choice is a familiar JavaScript-like language, it still proves the point that the web is now open to whatever the developer wants. So in that sense, I applaud and welcome things like this.

Please do port all of most-hated languages to run with WebAssembly and create new ones that I also don't like. It more or less means that languages I love can be ported and that new ones I will love can be created.

Re:Walt: JavaScript-like syntax for WebAssembly by knocte on Thursday October 11, 2018 @12:15AM (#18190927)
Thanks, I thought nobody would say this...