I built a TypeScript to C++ compiler using Oilpan for GC
193 views
Skip to first unread message
Cheng
unread,
Aug 2, 2024, 9:01:09 AMAug 2
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to v8-users
I learnt about cppgc some time earlier and then an idea came to me: can I convert TypeScript code to C++ and then use cppgc to manage the lifetime of classes and functions?
I built a toy TypeScript to C++ compiler to validate the idea, and it seems to work perfectly. I'm sharing the code in case anyone is interested in it: