Похожие чаты

Do we have a Typescript to C compiler yet? And

if not, why?

11 ответов

8 просмотров

Lol

We have a very tight subset of TypeScript to WASM

Because closures and GC?

Thomas
Because closures and GC?

you know you can have a GC with C. a couple of them even exist

I don't see how this makes sense?

A​kshit
you know you can have a GC with C. a couple of the...

Yes, but you'd essentially have another JS runtime with minor optimisations

that would be even more interesting if someone embeds TCC to compile in memory. that would make it a JIT

MUTHU・KUMAR 「メーカー」 🔺
Yes, but you'd essentially have another JS runtime...

or maybe no, you could have the compiler emit actual C from typescript, replacing memory allocs with GC_MALLOC from some GC library like https://www.hboehm.info/gc/

Похожие вопросы

Обсуждают сегодня

Hi everyone! I have a two-folded message to share today. First: updates and news, as we are being asked for those. We still want to go like we did the last 6 years: we w...
Marten | Unibright.io
31
Интересно, нет ли какого-то способа получить из dll не адрес самой метки, а адрес со смещением?
The Bird of Hermes
54
generic procedure function test<T>(param: T); type case T of longint: NewT = word; longword: NewT = byte; end; var v1: NewT; Как это можно сделать? Чтобы у меня...
notme
21
Guys, mexc or gate.io (only exchanges with the token I need, unfortunately): depositing xmr, not withdrawing, is safe rn, or can fall for shotgun kyc? (I heard gate is alread...
another one bites the dust
18
Whoa, did you guys see this FUNToken Seed Grant announcement? 💸
Noah Noure
37
Делал задачу вот такую https://stepik.org/lesson/4985/step/9?unit=1083 получилось такое https://play.haskell.org/saved/ipKrepqe оно работает, тестов много не писал, но работае...
Fedor
22
hello guys, I have a laptop, if you connect wired headphones, the sound will come from the headphones and the built-in speakers AT THE SAME TIME. How can I make the sound com...
El Pepe
21
hello, does someone have a good cheat sheet (max 2 sides of A4 paper sheet) for C only? I need it to cover most useful function for math, dynamic memory, strings, files (I/O),...
狐 - えんきどぅ
19
Всем привет, все время юзал бандлы, но появилась задача по базовому образу и команда werf build не пушит образ werf build --config='./root/werf.yaml' --repo ${CI_REGISTRY_IMAG...
Илья Корж
4
А можно как-нибудь включить default'ные настройки ядра?
Ari
26
Карта сайта