John Ioannidis <[EMAIL PROTECTED]> writes:

> > in both, but most of my effort goes into the Python version. This code is
> 
> Why Python? So that even fewer people will be able to debug the code?

Why do you sound so negative? Python makes it possible to implement OBEX in
a few weeks, and you will actually get a result that _is_ working! C
programs have a bad habit of being developed to they are about 95% finished
(in a few weeks time). The last 5% takes a year or two. The C version of
OBEX started over a year ago, and the Python impl. is after a few weeks
time already much better and more correct! So yes, fewer people will be
able to debug the code, but hopefully no one will have to.

Python is _very_ easy to read and write, and executes the code _more_ than
fast enough. The bottleneck will definitively be something related to the
IO activity in IrDA anyway (9600-4Mbps). Have you ever looked at Python?

Well, if you don't like Python, then please feel free to wait for the
C-version to be bug-free. I'm implementing OBEX as a library in Python, and
we have a GNOME GUI front end that is now working. The Python version of
OBEX will probably be released in a week or so, and will definitively be a
breakthrough for using OBEX with Linux, Win32, WinCE, Psion (yes, it will
work on all these platforms with few modifications).  We had no plans of
making a pre-release of Python-OBEX, but thought it might be good since we
noticed there were so many people struggling with the C-version. Anyway,
one of our goals in this project, is to make a _reference_ implementation
of OBEX in Python. I'm not going to start a C vs. Python thread here, I'm
just telling you about some relevant activity that is being done right
now. If you don't like it then please ignore it!

-- Dag

-- 
   / Dag Brattli                   | The Linux-IrDA Project               /
  // University of Tromsoe, Norway | Infrared communication for Linux    //
 /// http://www.cs.uit.no/~dagb    | http://www.cs.uit.no/linux-irda/   ///

_______________________________________________
Linux-IrDA mailing list  -  [EMAIL PROTECTED]
http://www4.pasta.cs.UiT.No/mailman/listinfo/linux-irda

Reply via email to