正在加载视频...

视频加载失败

🚨 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...

45,513 次观看 • 1 个月前 •via X (Twitter)

34 条评论

Sujal 的头像
Sujal1 个月前

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

Theo Paris 的头像
Theo Paris1 个月前

So they just reinvented the wheel and recreated

Shawn McAllister 的头像
Shawn McAllister1 个月前

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

Bresney 的头像
Bresney1 个月前

Bun can do this since 2 years ago

dy 的头像
dy1 个月前

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

w 的头像
w1 个月前

so bun?

awksedgreep 的头像
awksedgreep1 个月前

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

twinedon 的头像
twinedon1 个月前

js to a native binary, thats huge

Dan Steinman 的头像
Dan Steinman1 个月前

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.

Rayane Mansouri 的头像
Rayane Mansouri1 个月前

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

David Marco 的头像
David Marco1 个月前

Nice post

wuren 的头像
wuren1 个月前

???

shobhanai 的头像
shobhanai1 个月前

Amazing post

AI Horizon 的头像
AI Horizon1 个月前

Amazing

Satendra Tiwari 的头像
Satendra Tiwari1 个月前

Amezing

Antwane 的头像
Antwane1 个月前

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

Nadir Boumedien 的头像
Nadir Boumedien1 个月前

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

Geazi Anc 的头像
Geazi Anc1 个月前

… how about Bum???

Zifan Carter 的头像
Zifan Carter1 个月前

Such a great share

Jimmy h. AV. 的头像
Jimmy h. AV.1 个月前

El rechazo al bloatware corporativo.

Javeriya Ahsan 的头像
Javeriya Ahsan1 个月前

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

Satriaali | TakumiPay 的头像
Satriaali | TakumiPay1 个月前

Isn't that @bunjavascript doing it long ago?

Vinay Bharambe 的头像
Vinay Bharambe1 个月前

Wow really amezing Share

AJ - e/acc ⚡ 的头像
AJ - e/acc ⚡1 个月前

Can't imagine the output size on that thing

A S II F 的头像
A S II F1 个月前

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.

Persona 的头像
Persona1 个月前

Such a waste of time. Slop!

Farhan Azad Shuvra 的头像
Farhan Azad Shuvra1 个月前

Sounds Good!

Andrew Graaff 的头像
Andrew Graaff1 个月前

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

Meenakshi Yadav 的头像
Meenakshi Yadav1 个月前

The scriptc build workflow is seriously interesting.

Nadir Boumedien 的头像
Nadir Boumedien1 个月前

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

Yasir Ai 的头像
Yasir Ai1 个月前

Super impressed

Abbas AI 的头像
Abbas AI1 个月前

Amazing share

Nyx 的头像
Nyx1 个月前

Keep going

Safwan 的头像
Safwan1 个月前

Such a nice share

相关视频