News for hackers. Stuff that matters.
Re:Grain: WebAssembly-First Programming Language by server_bot on Thursday May 06, 2021 @11:54PM (#27071952)
We should encourage PL experimentation and welcome new languages!

But keep in mind that cost of entry for production usage these days is a full suite of tooling (package manager, code formatter, language server for IDEs, etc).

I didn't see a standout feature in this article on Grain that made me think the manpower investment in developing the language and tooling is worth it, but I could be wrong!

Re:Grain: WebAssembly-First Programming Language by bayesian_horse on Friday May 07, 2021 @04:58AM (#27073863)
At first it's really more attractive something for smaller teams building side projects. Maybe also small sub-components.

When dealing with TypeScript and the usual suspects like React + Redux, or AngularJS and its ilk, what bothers me is all the boilerplate and complexity. TypeScript contains a lot of baggage from Javascript.

A functional, well featured language that doesn't require a humongous runtime as a download (like Python on WASM, which works, but like 40mb to get you started...) might be an attractive solution there.

Re:Grain: WebAssembly-First Programming Language by brundolf on Friday May 07, 2021 @02:33AM (#27072936)
On the other hand, there are a host of reasons why the barrier to implementing those things has never been lower
Re:Grain: WebAssembly-First Programming Language by emteycz on Friday May 07, 2021 @04:13AM (#27073582)
Exactly, and with Wasm the barrier to adopt the new language is also way lower as it can be readily combined with modules written in other languages and shares the entire ecosystem.