-
Describe your feature request here.Hi , I have beeb working with this library for a while it is stable and wide open functional project Thanks in advance Code exampleNo response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hey @GabCores, JsPyBridge (or "javascript" on pypi) is a similar project to PythonMonkey but has several differences in its implementation and API: Most notably, under the hood Here is a snippet relating to the interprocess communication from their README for reference:
Regarding API, PythonMonkey works nicely with Python's JsPyBridge is an impressive project but PythonMonkey takes a different approach and therefore has different pros and cons. For instance, at the moment PythonMonkey lacks the Node.js support JsPyBridge has out of the box (but that will change in the future as it is just in Alpha at the moment)! Hope this helps! Thanks for checking our our project and asking this question!!! (: |
Beta Was this translation helpful? Give feedback.
-
XHR is in active development right now and even be in the mainline by the time you read this. There are fetch polyfills implemented in terms of XHR, so if you need this, it's probably pretty close to being ready. |
Beta Was this translation helpful? Give feedback.
Hey @GabCores,
JsPyBridge (or "javascript" on pypi) is a similar project to PythonMonkey but has several differences in its implementation and API:
Most notably, under the hood
JsPyBridge
runs a separate nodejs process which communicates with the user's Python process. This comes with a severe performance penalty as data is copied whenever passed. PythonMonkey passes data by reference whenever possible meaning the cost of transferring information between Python and JavaScript is almost zero. Since references are copied, modifying data passed from Python into JavaScript (or vice versa) will not change the original reference in JsPyBridge but will as expected in JavaScript.Here is a snippe…