#1 Re: SyNode » Adding JavaScript support for mORMot framework » 2016-06-27 12:40:23

I see debugger wrappers are exists in SynSMAPI.pas file but not implemented in TSMEngine class.
Do you have a plan adding debugger support in TSMEngine class or do have any example for using debugger methonds in SynSMAPI?

#2 Re: SyNode » Adding JavaScript support for mORMot framework » 2016-06-27 11:37:46

mpv wrote:

It's released 2 month ago. This is usual situation for Mozilla to keep a release notes in a draft stage sad
We are working on migration - almost all is finished. Since API is incompatible with SM24, we decide to create a separate units SynSM45/SynSMAPI45.

When will SynSM45 units be relased? Will it support x64?

#3 Re: mORMot 1 » 64 Bit support » 2016-06-24 16:21:42

mpv wrote:

Compiling of SpiderMonkey itself for the x64 is possible, but our main product is x32, so we do not test it for a x64. You can try to compile a SpiderMonkey x64 dll -  instruction is here and test a wrapper for a x64.

It is near to impossible to write a wrapper of V8 for Delphi - V8 is pure C++.  Even more - V8 engine is for single-thread application (with event loop). mORMot is a multithread. In 2013 for example mongoDb try to migrate to V8, but return to SpiderMonkey - you can read this mongoDB blog for a reasons

mpv wrote:

We are working on SpiderMonkey 38 version. But mozilla team decide to migrate from C to C++, so we need to write a huge number of wrappers. Win64 version of SpiderMonkey itself is just for toy, very slow and unoptimized, so no plan to support it. But even with SpiderMonkey 24 you have many ES6 features, arrow function for example. Class suport not implemented in SM release yet.

I ve read in a topic, "64bit SpiderMonkey is slow". Is this why you dont use 64 bit of SpiderMonkey?

#4 Re: mORMot 1 » 64 Bit support » 2016-06-24 14:34:16

mpv wrote:

This is client-side software

Chromium is a client side software but V8. V8 supports 64, what about SpiderMonkey.
If not, why it is chosen SpiderMonkey againest V8?

mORMot is more like a server software. And 64 support is very important at server side. Am i wrong?

#5 Re: mORMot 1 » 64 Bit support » 2016-06-24 11:33:58

miab3 wrote:

But in Chromium with (and) V8 already are 64-bit.


Do you know any wrapper of V8 for Delphi?

#6 mORMot 1 » 64 Bit support » 2016-06-24 10:01:04

Replies: 11

There is only 32bit spidermonkey dll in download section. Doesnt mORMot framework supports 64bit? If so, mORMmot servers stuck in 32bit?

Board footer

Powered by FluxBB