#jython IRC Log

Index

IRC Log for 2015-09-04

Timestamps are in GMT/BST.

[0:01] * xemdetia (xemdetia@nat/ibm/x-iakoronlpemgnbch) Quit (Ping timeout: 268 seconds)
[0:06] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[0:08] * gopar (~gopar@2601:642:c000:3190:a6db:30ff:fea2:873) Quit (Remote host closed the connection)
[4:41] * gopar (~gopar@2601:642:c000:3190:a6db:30ff:fea2:873) has joined #jython
[4:43] * gopar (~gopar@2601:642:c000:3190:a6db:30ff:fea2:873) Quit (Max SendQ exceeded)
[4:44] * gopar (~gopar@2601:642:c000:3190:a6db:30ff:fea2:873) has joined #jython
[7:01] * gopar (~gopar@2601:642:c000:3190:a6db:30ff:fea2:873) Quit (Remote host closed the connection)
[9:25] * [Arfrever] (~Arfrever@apache/committer/Arfrever) Quit (Read error: Connection reset by peer)
[9:32] * [Arfrever] (~Arfrever@apache/committer/Arfrever) has joined #jython
[9:32] * ChanServ sets mode +o [Arfrever]
[13:29] * leonardo (znc@2a01:4f8:d13:2640::2) has joined #jython
[13:34] <leonardo> maybe is an obvious question, but: if i use a native java package as a module in my jython script, will it be significantly slower than if used inside a native java application?
[13:57] * xemdetia (xemdetia@nat/ibm/x-raqaggwsfetcqtdf) has joined #jython
[14:06] <agronholm> leonardo: going back and forth between python and java is slow
[14:20] <leonardo> agronholm: ok, but what if i have a native java method, i call it once passing just a bunch of arguments and wait for the results? Is this method just executed directly by the jvm after the arguments are translated in their java counterpart or there's something more?
[14:20] <agronholm> how do you generally deploy your app?
[14:20] <agronholm> do you run it in a JEE or servlet container?
[14:22] <agronholm> the call is directly executed
[14:22] <agronholm> I'm just wondering if you could use py4j rather than jython
[14:23] <leonardo> i'm writing a standalone tcp server which process a bunch of text (usually a long one) and just return the resulted text obtained by the native java method
[14:23] <agronholm> so use py4j instead
[14:24] <agronholm> well
[14:24] <agronholm> depends on the performance of course
[14:24] <agronholm> you'll have to decide for yourself
[14:24] <agronholm> it might even be faster to do it in jython
[14:24] <agronholm> but I can't make that determination
[14:26] <leonardo> well, i dunno, but i'm pretty sure that the java method is pretty much the only concern, because the python code is just "open socket, listen, pass the string, send, close"
[14:28] <leonardo> so, probably is not really important if i use jython or py4j, since the code of my package is executed in the same manner
[14:29] <agronholm> performance is the only difference I guess
[14:29] <agronholm> if you're concerned about that
[14:30] <leonardo> a bit, but my only concern is about the java part performances
[14:31] <xemdetia> sounds like you need to measure
[14:32] <agronholm> leonardo: the java part will perform the same regardless of jython or py4j
[14:33] <leonardo> so i think i'll continue to use jython
[14:34] <leonardo> maybe in my spare time i'll try to benchmark cpython and jython socket's performance
[14:36] <agronholm> I expect cpython to win
[15:43] * gopar (~gopar@2601:642:c000:3190:a6db:30ff:fea2:873) has joined #jython
[15:55] * dustinm (~dustinm@105.ip-167-114-152.net) Quit (Ping timeout: 244 seconds)
[15:57] * dustinm (~dustinm@105.ip-167-114-152.net) has joined #jython
[16:43] * gopar (~gopar@2601:642:c000:3190:a6db:30ff:fea2:873) Quit (Quit: Leaving)
[18:41] * gthank (~gthank@unaffiliated/gthank) Quit (Quit: ZNC - http://znc.in)
[18:45] * gopar (~gopar@2601:642:c000:3190:a6db:30ff:fea2:873) has joined #jython
[19:28] * gthank (~gthank@unaffiliated/gthank) has joined #jython
[20:16] * sense-non (~non@24-212-218-144.cable.teksavvy.com) has joined #jython
[20:16] * non-sense (~non@unaffiliated/non-sense) Quit (Ping timeout: 244 seconds)
[21:09] * xemdetia (xemdetia@nat/ibm/x-raqaggwsfetcqtdf) Quit (Ping timeout: 272 seconds)
[21:14] * gopar (~gopar@2601:642:c000:3190:a6db:30ff:fea2:873) Quit (Quit: Leaving)
[21:17] * sense-non is now known as non-sense
[21:17] * non-sense (~non@24-212-218-144.cable.teksavvy.com) Quit (Changing host)
[21:17] * non-sense (~non@unaffiliated/non-sense) has joined #jython
[21:21] * xemdetia (xemdetia@nat/ibm/x-qbtktswtmeuzruxu) has joined #jython
[21:26] * apollonovich (~rdowne@2601:647:4800:2600:f08c:31f4:55a9:4c39) Quit (Quit: Leaving)
[21:55] * xemdetia (xemdetia@nat/ibm/x-qbtktswtmeuzruxu) Quit (Ping timeout: 246 seconds)
[22:20] * gopar (~gopar@2601:642:c000:3190:a6db:30ff:fea2:873) has joined #jython

Index

These logs were automatically created by JythonLogBot on irc.freenode.net using a slightly modified version of the Java IRC LogBot.