Calling (C)Python code from Java: Is it JPype?
f.geiger at vol.at
Fri Oct 1 15:12:40 CEST 2004
"Ville Vainio" <ville at spammers.com> schrieb im Newsbeitrag
news:du7wtybod4b.fsf at lehtori.cc.tut.fi...
> >>>>> "f.geiger" == F GEIGER <f.geiger at vol.at> writes:
> f.geiger> GUI in a compiled lang, the gist in Python. If so, I'll give
it a try.
> Why GUI in compiled lang? Typically the time in a GUI is spent in a
> GUI library, which is native code.
It is not because of the performance. I never had any problems with Python
in this regard. It is because pychecker does not catch all errors *I* make
in *my* GUI programs (YMMV of course). Errors, a compiler typically is able
to catch. It gets really annoying if I aways have to do all the steps again
and again getting to the point the *GUI* part of my app just to see that I
again had missed something. I am willing to give up on flexibilty in the
*GUI* part of my app to receive type safety and in consequence compile time
If anyone could show me a way how I can develop the *GUI* part of may apps
in a test driven way, i.e. w/o having to enter data manually all over again,
then I could forget about all this.
Many thanks and kind regards
P.S.: Ville, perhaps you answered to my post because I'd like it to have the
other way round: GUI stuff a compiled lang (but not C++ if possible) and the
gist, which many times is considered time critical by other people, in
Python. But, as I said: I never had performance problems with Python. Python
speeds up dev'ing apps and *app-specific* things because it lets me think
mostly in the problem domain and not in the lang domain. Ever handled
strings, lists etc. in C++ or Java? Forget it! Well, ok, I have to admit:
I'm a Java newbie, yet, and thus I am not allowed yet to rant, actually. But
you got the point: So many things are just easy to do in Python and I don't
want to give up on *that*. OTOH: GUI stuff mostly is a SMOP, nothing special
(possiblities in wx are great, though. I can do things here, I couldn't
dream of doing it in, say, VB). Here a compiler really could make things
easier - for *me* and *my* apps. Again, YMMV.
> Ville Vainio http://tinyurl.com/2prnb
More information about the Python-list