Just some questions #53
Replies: 1 comment 5 replies
-
I didn't get this, however In order to make async synchronous in JavaScript, you can create your own C# method, and use
Currently they are compiled in memory, actually caching requires some extra code, so .NET CLR will remove them if you don't hold reference to the compiled script.
Promises are queued on to synchronization context, and Yantra doesn't know where it is running, whether it is ASP.NET Core or UI application. You can do
Compared to JInt, Yantra actually generates IL code and executes it, so it will definitely be faster, but I haven't created any benchmarks.
Here are unit tests, where you will find example of each features, that are successfully executed in YantraJS. Have a look at this repository, And V8 Debugger integration is built on a different branch, we will soon make it live. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I found YantraJS because I am missing some features in jint for many years now. I have some questions where I could not find answers for. My use case is a server application with many "adhoc" scripts.
Beta Was this translation helpful? Give feedback.
All reactions