[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: scriptc.png (38 KB, 1200x600)
38 KB PNG
https://github.com/vercel-labs/scriptc
>Scriptc compiles TypeScript and JavaScript to native executables and WebAssembly modules. It uses the TypeScript compiler for parsing and type checking, then emits LLVM IR for clang to compile. A readable C backend remains available for debugging.
>Static builds include a small native runtime, but no Node or JavaScript engine.

Somebody needs to stop Vercel before they make everything TS. They are probably weeks away from rewriting Linux in Typescript.
>>
are they making java from the first principles or what
>>
i hate webshitters so much it's unreal
>>
good for them, keep those webshooters working
>>
File: 1762902799218082.jpg (394 KB, 1268x1600)
394 KB JPG
typescript son or rust daughter (male)
>>
thats nim with extra steps
>>
>>109535077
html and css makes more sense
>>
Has everyone gone fucking crazy or what?
Everyone seems to be building bullshit in 2026. Is it the tokenmaxxing club?
>>109535126
I really want to use Nim but it sucks.
>>
So basically C# but fragile?
>>
>>109535153
>I really want to use Nim but it sucks.
why? Docs are pretty much shit and so is the lsp but if you use the library code as reference it can be quite comfy. I do hate their codestyle.
>>
>>109535126
Typescript is better than nim on every level. Nim is the most retarded language ever.
>>
>>109535176
C# typing is nominal, TS is structural.
>>
Looks good to me, why exactly is TS bad when it runs on all hardware?
>>
>>109535176
If by fragile you mean "slightly less jeeted"
>>
Microsoft already made their own.
https://devblogs.microsoft.com/typescript/announcing-typescript-native-previews/
>>
>>109536273
That's a different thing that emits js.
>>
File: typescript_native.png (32 KB, 987x450)
32 KB PNG
>>109536312
It emits LLVM IR.
>>
>>109534991
>The compiler requires Node.js 20 or newer and clang

meanwhile quickjs has a js to c translator and doesn't require anything else.
>>
>>109536378
Huh, so I could just `tsc file.ts --emit=llvm` with the go variant already, or am I mixing up stuff here?
>>
>>109536198
typescript is the most jeetcoded language out there
>>
>>109536554
Cshart is even more jeetcoded, as is javasaar
>>
>>109536544
You need the preview build.
https://github.com/microsoft/typescript-go#preview
>>
>>109534991
>compiles TypeScript and JavaScript to native executables and WebAssembly modules.
no thanks. i'm white. i program using assembly languages and c/c++
>>
>>109534991
I like the idea. I don't know how much faster this is but I'd rather use TS to write native programs than go
>>
>>109534991
I see no problem with TypeScript, you need to declare variables.

Javascript on the other hand is fucking garbage.
>>
>>109535109
Rust daughter every time.
>>
>>109534991
>Vercel wants you to write native code in Typescript
Okay.
Then I will.
>>
>>109537174
>choosing the tranny homosexual over the plain homosexual
the right answer was: neither
>>
Wait so this means i can compile my express backend to native?



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.