Calling C functions in JS directly?

32 views
Skip to first unread message

Patric Lemo

unread,
Apr 5, 2022, 9:36:41 PM4/5/22
to v8-dev
Hi!


I tried FastAPI, but it's not fast enough. Is there any way to call the C functions directly, only considering the case of no parameter and no return value? For example, you can store the function address in a BigInt and then invoke it directly in JS. Are there any risks here? Can it be achieved? 
I wonder if anyone knows any other ways to speed up native calls

Reply all
Reply to author
Forward
0 new messages