Re: Distributed App - C++ with Python for Portability?

2008-03-11 Thread Jeff Schwab
Roopan wrote: > I assume the C++/Python binding is fairly painless. http://www.boost.org/libs/python/doc/tutorial/doc/html/index.html A. :) -- http://mail.python.org/mailman/listinfo/python-list

Re: Distributed App - C++ with Python for Portability?

2008-03-11 Thread dave_mikesell
On Mar 11, 3:03 am, Bob Martin <[EMAIL PROTECTED]> wrote: > in 337600 20080310 222850 [EMAIL PROTECTED] wrote: > > >On Mar 10, 2:21 pm, Bob Martin <[EMAIL PROTECTED]> wrote: > > >> Java is more portable than most other languages, especially if your app > >> needs a gui. > > >The promise of Java po

Re: Distributed App - C++ with Python for Portability?

2008-03-11 Thread Bob Martin
in 337600 20080310 222850 [EMAIL PROTECTED] wrote: >On Mar 10, 2:21 pm, Bob Martin <[EMAIL PROTECTED]> wrote: > >> >> Java is more portable than most other languages, especially if your app >> needs a gui. > >The promise of Java portability was one of the biggest scams ever >perpetrated on the sof

Re: Distributed App - C++ with Python for Portability?

2008-03-10 Thread dave_mikesell
On Mar 10, 2:21 pm, Bob Martin <[EMAIL PROTECTED]> wrote: > > Java is more portable than most other languages, especially if your app needs > a gui. The promise of Java portability was one of the biggest scams ever perpetrated on the software industry. There are issues going from OS to OS, VM t

Re: Distributed App - C++ with Python for Portability?

2008-03-10 Thread Diez B. Roggisch
> > Java is more portable than most other languages, especially if your app needs > a gui. Depending on what GUI you want, python is at least as portable - Tkinter is available for lots of platforms. And swing as a GUI plain sucks - there is a reason for SWT. But that needs to be installed se

Re: Distributed App - C++ with Python for Portability?

2008-03-10 Thread Carl Banks
On Mar 9, 7:41 pm, Roopan <[EMAIL PROTECTED]> wrote: > Hello! > > I am looking at developing an enterprise-grade distributed data > sharing application - key requirements are productivity and platform > portability. > > Will it be sensible to use C++ for performance-critical sections and > Python f

Re: Distributed App - C++ with Python for Portability?

2008-03-10 Thread Stefan Behnel
Bob Martin wrote: > Java is more portable than most other languages, especially if your app needs > a gui. I don't think anything is more portable for an App GUI than HTML through a built-in web server. That said, does gcj compile GUI Apps by now? Or does that not count as "portable"? Stefan -

Re: Distributed App - C++ with Python for Portability?

2008-03-10 Thread Bob Martin
in 337513 20080310 115744 "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote: >Roopan wrote: > >> Hello! >> >> I am looking at developing an enterprise-grade distributed data >> sharing application - key requirements are productivity and platform >> portability. >> >> Will it be sensible to use C++ for p

Re: Distributed App - C++ with Python for Portability?

2008-03-10 Thread Diez B. Roggisch
Roopan wrote: > Hello! > > I am looking at developing an enterprise-grade distributed data > sharing application - key requirements are productivity and platform > portability. > > Will it be sensible to use C++ for performance-critical sections and > Python for all the glue logic. > > Pls comm

Re: Distributed App - C++ with Python for Portability?

2008-03-10 Thread castironpi
> >> And if you really need the efficiency of "well-tuned raw C", it's one > >> function > >> call away in your Cython code. > > > What do you mean by that? > > > I know nothing about how Cython compares to C in performance, so I said > > "well-tuned" because it must be possible to write C that is

Re: Distributed App - C++ with Python for Portability?

2008-03-10 Thread Stefan Behnel
Matt Nordhoff wrote: > Stefan Behnel wrote: >> And if you really need the efficiency of "well-tuned raw C", it's one >> function >> call away in your Cython code. > > What do you mean by that? > > I know nothing about how Cython compares to C in performance, so I said > "well-tuned" because it m

Re: Distributed App - C++ with Python for Portability?

2008-03-10 Thread Matt Nordhoff
Stefan Behnel wrote: > And if you really need the efficiency of "well-tuned raw C", it's one function > call away in your Cython code. What do you mean by that? I know nothing about how Cython compares to C in performance, so I said "well-tuned" because it must be possible to write C that is fast

Re: Distributed App - C++ with Python for Portability?

2008-03-10 Thread Stefan Behnel
Matt Nordhoff wrote: > For what you do decide to rewrite in C, you can also use a language like > Cython [1] (which is a fork of Pyrex [2]). It looks mostly like Python, > and is translated to C without you having to write all of the > boilerplate Python C API stuff. Of course, not quite as efficie

Re: Distributed App - C++ with Python for Portability?

2008-03-10 Thread Matt Nordhoff
Paddy wrote: > After profiling their may be other ways to remove a bottleneck, such > as > using existing highly-optimised libraries such as Numpy; Psycho, an > optimising interpreter that can approach C type speeds for Python > code; > and you could create your own C++ based libraries. > > You mi

Re: Distributed App - C++ with Python for Portability?

2008-03-09 Thread Paddy
On Mar 9, 11:41 pm, Roopan <[EMAIL PROTECTED]> wrote: > Hello! > > I am looking at developing an enterprise-grade distributed data > sharing application - key requirements are productivity and platform > portability. > > Will it be sensible to use C++ for performance-critical sections and > Python

Distributed App - C++ with Python for Portability?

2008-03-09 Thread Roopan
Hello! I am looking at developing an enterprise-grade distributed data sharing application - key requirements are productivity and platform portability. Will it be sensible to use C++ for performance-critical sections and Python for all the glue logic. Pls comment from your *experiences* how Pyt