You are not logged in.
Pages: 1
There is only 32bit spidermonkey dll in download section. Doesnt mORMot framework supports 64bit? If so, mORMmot servers stuck in 32bit?
Offline
There is no 64 bit version of SpiderMonkey dll by now, you are right.
You may ask user "mpv" for additional info.
http://synopse.info/forum/profile.php?id=630
Offline
But in Chromium with (and) V8 already are 64-bit.
Michal
Offline
But in Chromium with (and) V8 already are 64-bit.
Michal
Do you know any wrapper of V8 for Delphi?
Offline
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
Last edited by mpv (2016-06-24 11:55:26)
Offline
miab3 wrote:But in Chromium with (and) V8 already are 64-bit.
Michal
Do you know any wrapper of V8 for Delphi?
https://en.wikipedia.org/wiki/Chromium_ … _Framework
Michal
Offline
This is client-side software
What do you mean?
The library is a library,
Michal
Offline
There is also:
https://github.com/Microsoft/ChakraCore/wiki/Roadmap
Michal
Offline
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?
Offline
See http://synopse.info/forum/viewtopic.php?id=1044
There are answers to your questions.
Offline
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
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?
Last edited by erayszn (2016-06-27 08:58:09)
Offline
Pages: 1