Loading video...
Video Failed to Load
🚨 JAVASCRIPT JUST GOT A NATIVE COMPILER. Vercel Labs just built scriptc to turn TypeScript and JavaScript into native executables. No Node runtime required in the final binary. → Compile JS/TS → native executable → Emit C, LLVM IR, assembly, objects → Build WebAssembly modules → Use supported Node... show more
45,513 views • 1 month ago •via X (Twitter)
34 Comments

Curious how big a hello world binary ends up, does it beat bun build --compile?

So they just reinvented the wheel and recreated

Reading is nice to do. This is nowhere near primetime.

Bun can do this since 2 years ago

It’s not very efficient. Have a look at benchmarks

so bun?

Ew. Shouldn’t we be shunning all JavaScript usage instead of finding new uses?

js to a native binary, thats huge

At this point you might as well go Typescript → Rust. Just have an AI do the port and then dont touch the TS code anymore. Have the AI do a Rust → TS conversion if you need the code in a browser. I did this on a codebase recently and it was straightforward. And now I have total language portability.

تبارك الله، هادشي ناضي بزاف وغادي يسهل الخدمة!

Nice post

???

Amazing post

Amazing

Amezing

@grok Ça veut dire quoi ? Est-ce que ça va changer quelque chose pour les utilisateurs de JavaScript et de Svelte ?

ناري هادشي واعر بزاف، هادشي غايغير اللعبة فالتطوير!

… how about Bum???

Such a great share

El rechazo al bloatware corporativo.

Being able to go from TypeScript straight to a native executable changes the way you think about where JS can be used.

Isn't that @bunjavascript doing it long ago?

Wow really amezing Share

Can't imagine the output size on that thing

Wow, that's pretty wild. Writing JavaScript and getting a native binary sounds like something out of science fiction. This could really shake things up.

Such a waste of time. Slop!

Sounds Good!

It is very limited at the moment. Not sure why yet. Could be nice to get a typescript without any, unknown, erased types and maybe real exceptions

The scriptc build workflow is seriously interesting.

تبارك الله، هادشي غايغير اللعبة فالدومين ديال JavaScript!

Super impressed

Amazing share

Keep going

Such a nice share

