News for hackers. Stuff that matters.
Re:Nectar: A Native JavaScript Compiler Inspired by Crystal ... by tjallingt on Friday December 30, 2016 @05:44PM (#13288154)
Fair warning: I don't know much about compilers.

Maybe it's an idea to make this a native Typescript compiler as it will profit much more from being compiled than pure JavaScript will?

This way it would probably still be possible to compile pure JavaScript but providing type information would allow the compiler to apply many more optimisations.

If I'm not mistaken V8 already does something similar to this with WASM (and I think asm.js).

Re:Nectar: A Native JavaScript Compiler Inspired by Crystal ... by markonen on Saturday December 31, 2016 @01:48AM (#13289889)
Here's a TypeScript to C89 transpiler:

https://github.com/andrei-markeev/ts2c

Very early, but the author seems to be actively working on it.

Re:Nectar: A Native JavaScript Compiler Inspired by Crystal ... by finchisko on Saturday December 31, 2016 @09:02AM (#13291039)
thank you