Robert Fancsik

Results 27 comments of Robert Fancsik

Benchmark | Heap (bytes) | Stack (bytes) | Perf (sec) | ----: | ----: | ----: | ----: | 3d-cube.js | 10992 -> 10992 : 0.000% | 14280 -> 14272...

Hi, please check the following example: https://github.com/jerryscript-project/jerryscript/blob/master/docs/02.API-REFERENCE.md#jerry_context_alloc

> I see, so JerryScript can create multi-threads. Nope, JerryScript cannot create threads. The linked example only shows that the engine is able to work in a multi threaded context....

@niklauslee I think static snapshot is what you are looking for. See: https://github.com/jerryscript-project/jerryscript/issues/1352#issuecomment-546495897.

The simple reason is that the current API's error handling differs from the internal. Internally only 1 pedinding expection is allowed. These execptions are transformed into error_references, which "saves" the...

Just a side note, NAPI is **not** part of JerryScript, it belongs to IoT.js. Beside that's not the right place to discuss I don't really understand what kind of help/answers...

@lee88688 What's the current status with this issue?