Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
read again, if you don't understand, search for babel js, then try to be an academician not a soldier :D
-
I understood. Is it not more code generation than compiling?
Also, what's a js binary? -
There is nothing like js binary. Vanilla js has become like a binary for the frameworks, that every fucking framework or library is compiling into it 😄
-
cftw1858y@linux-colonel well if you're using typescript, you do in fact compile down to Js.
It's TSC == typescript compiler. -
jstaiyou7108y@cftw maybe the name is confusing, but I'd rather call it transpiling
Compiling involves parsing, machine code generation, linking, etc.
And the output is a binary, never a text file (which then needs to be interpreted again).
Related Rants
JavaScript frameworks compiling into vanilla JavaScript be like:
undefined
framework
compile
js