Re: [pypy-dev] integration with java

2016-07-14 Thread Andrey Rubik

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) ?


--
Best Regards,
Andrey Rubik


On 07/14/2016 01:06 PM, Antonio Cuni wrote:

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 > 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
> 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




___
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev


Re: [pypy-dev] integration with java

2016-07-14 Thread Antonio Cuni
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 
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 
> 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
>
___
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev


Re: [pypy-dev] integration with java

2016-07-14 Thread Maciej Fijalkowski
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  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