
Hi guys!
I'am new at pypy development and need help.
I want do integration between pypy and jemeter (this project on java: http://jmeter.apache.org/).
As i learned on jemeter dev list, i need some pypy-java bindings. It may be some .jar file for example.
Where i can get some pypy-java binding (.jar file)?
Thanks in advance!

Hi Andrey
There are no java bindings for PyPy just yet. You would need to write your own based on cffi. http://jpype.sourceforge.net/ is one of the examples of how those things can be done, but you would need to use cffi as opposed to CPython C API. If you need a quick solution, you can try compiling jpype against PyPys CPython C API compatibility layer, but it would be at least very slow.
Best regards, Maciej Fijalkowski
On Wed, Jul 13, 2016 at 9:49 PM, Andrey Rubik tirnotaure@gmail.com wrote:
Hi guys!
I'am new at pypy development and need help.
I want do integration between pypy and jemeter (this project on java: http://jmeter.apache.org/).
As i learned on jemeter dev list, i need some pypy-java bindings. It may be some .jar file for example.
Where i can get some pypy-java binding (.jar file)?
Thanks in advance!
-- Best Regards, Andrey Rubik
pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev

Hi, you could also check pyjnius, which seems more mature than jpype and it is used in real life apps to run e.g. python on android: http://pyjnius.readthedocs.io/en/latest/
I quickly tried to compile pyjnius with pypy (using cpyext) and it seems to work (at least, the tests pass). However, since it uses cpyext I dont' know what are the performance.
ciao, Anto
On Thu, Jul 14, 2016 at 11:08 AM, Maciej Fijalkowski fijall@gmail.com wrote:
Hi Andrey
There are no java bindings for PyPy just yet. You would need to write your own based on cffi. http://jpype.sourceforge.net/ is one of the examples of how those things can be done, but you would need to use cffi as opposed to CPython C API. If you need a quick solution, you can try compiling jpype against PyPys CPython C API compatibility layer, but it would be at least very slow.
Best regards, Maciej Fijalkowski
On Wed, Jul 13, 2016 at 9:49 PM, Andrey Rubik tirnotaure@gmail.com wrote:
Hi guys!
I'am new at pypy development and need help.
I want do integration between pypy and jemeter (this project on java: http://jmeter.apache.org/).
As i learned on jemeter dev list, i need some pypy-java bindings. It may
be
some .jar file for example.
Where i can get some pypy-java binding (.jar file)?
Thanks in advance!
-- Best Regards, Andrey Rubik
pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev
pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev

Hi guys :)
Jmeter already have some python intergration (jython for example).
Jmeter - tool for performance tests. So when i start high load tests written in scripting languages i get so much load on jmeter server. That is why I choose PyPy - for much speed from testing server.
Sry, but i'am not a developer :(
And write own integration solution between java and pypy its too difficult for me :(
Can someone do good java - pypy binding (some .jar file) ?

Hi Andrey,
On 14 July 2016 at 17:08, Andrey Rubik tirnotaure@gmail.com wrote:
Jmeter - tool for performance tests. So when i start high load tests written in scripting languages i get so much load on jmeter server. That is why I choose PyPy - for much speed from testing server.
Sry, but i'am not a developer :(
I think you are missing the point of PyPy: it is not a Java application at all. If you want the best performance from a Java application, you should stick to Jython. (There are some use cases where I can think of a reason for tying PyPy to a Java application, but likely, not yours.)
Can someone do good java - pypy binding (some .jar file) ?
You are unlikely to find anyone on this list who is interested in Java enough to help.
A bientôt,
Armin.

Hi Ok, thank you for answer. I look at the jython.

if you want python that works well with Android , check Kivy.org
For most python programmers we stay away from Java as much as possible. We are allergic to it.
On Fri, Jul 15, 2016 at 2:30 PM Andrey Rubik tirnotaure@gmail.com wrote:
Hi Ok, thank you for answer. I look at the jython.
-- Best Regards, Andrey Rubik
On 07/15/2016 10:51 AM, Armin Rigo wrote:
Hi Andrey,
On 14 July 2016 at 17:08, Andrey Rubik tirnotaure@gmail.com wrote:
Jmeter - tool for performance tests. So when i start high load tests
written
in scripting languages i get so much load on jmeter server. That is why
I
choose PyPy - for much speed from testing server.
Sry, but i'am not a developer :(
I think you are missing the point of PyPy: it is not a Java application at all. If you want the best performance from a Java application, you should stick to Jython. (There are some use cases where I can think of a reason for tying PyPy to a Java application, but likely, not yours.)
Can someone do good java - pypy binding (some .jar file) ?
You are unlikely to find anyone on this list who is interested in Java enough to help.
A bientôt,
Armin.
pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev

Hi Phyo,
On 15 July 2016 at 15:58, Phyo Arkar phyo.arkarlwin@gmail.com wrote:
For most python programmers we stay away from Java as much as possible. We are allergic to it.
That's a broad generalization, maybe not appropriate for this list.
A bientôt,
Armin.

sorry i just mean it as a joke.
On Sat, Jul 16, 2016 at 6:17 PM Armin Rigo arigo@tunes.org wrote:
Hi Phyo,
On 15 July 2016 at 15:58, Phyo Arkar phyo.arkarlwin@gmail.com wrote:
For most python programmers we stay away from Java as much as possible.
We
are allergic to it.
That's a broad generalization, maybe not appropriate for this list.
A bientôt,
Armin.
participants (5)
-
Andrey Rubik
-
Antonio Cuni
-
Armin Rigo
-
Maciej Fijalkowski
-
Phyo Arkar