DEV Community

Discussion on: Now, I'm thinking is there anything that can't be done by JS?

Collapse
 
tux0r profile image
tux0r

Writing memory-efficient, type-safe code.

Collapse
 
alchermd profile image
John Alcher

Surely one can theoretically write a JS app that spits out memory-efficient, type-safe code in another language?

Collapse
 
tux0r profile image
tux0r

Yup, I could write a "JS application" that spits out memory-efficient, type-safe code by just using a different language than JS.

Collapse
 
sudiukil profile image
Quentin Sonrel

I came to see that comment.

I was not disappointed.

Collapse
 
ben profile image
Ben Halpern

Yeah. JS is not the right choice in many many many cases.

We happen to be in a place in history where JS is super convenient (or the only option) for a lot of user-facing stuff, but its value only goes so far.

Collapse
 
avalander profile image
Avalander

Nevertheless, the OP asked whether there is anything that can't be written in JS, not whether there is anything that shouldn't be written in JS :P