Christopher Case escribió:
> As I've been out of the loop for a while, I figured it would be best
> to ask this question on both the CS and the CEL mailing lists.
>
> My project (Precursors, for those that remember it) stalled about a
> year ago. We've finally gotten back to dusting things off, and we've
> been working on is as a normal C++ project. However, many of the
> developers have expressed a desire to code some/all of it in python.
> The ability to use twisted (Python network library) was one major
> topic of conversation.
>
> Is is currently possible to have a 'pure' python CS or CEL
> application? I know that CS/CEL will need to be there, as will any
> python libraries we use, but deployment can be tackled. I just want to
> know if it can even be done at this point in time.
>

You can although it is still experimental (use of cel from pure python
apps), because there are a couple more or less big problems (it was only
possible by using the blpython till not long ago).

Note i have a codebase to use twisted with crystalspace (or cel), so
lemme know if you want to try that, and i can give you what i have..

This means you can do it, but there is no example because it is somehow
still unsupported (the two problems being that you cant use
celInitializer, and sometimes you get a second virtual clock out of
nowhere -could be both problems are related, im investigating a little
bit more these days-). Still, b2cs is using it "officialy", and i also
have a celstart written in python which is a good example.

> Secondly, if it can be done, realistically, how difficult will
> development be? CS is and will always be a C++ library. Python
> extensions are great, but the learning curve is horrible if there's no
> good, up to date documentation. A 'Beginner's guide' to writing a CS
> python application would be a huge start... does such a thing exist?
> Is there any documentation at all? What about examples?
>

Right now all cs and cel python docs that i know of are linked from:

 http://crystalspace3d.org/main/PyCrystal

I recognize its not an incredible amount of examples or docs. There are
also some other sources of example code, like ecksdee or interstate
outlaws, b2cs, pycsel, the shader editor in csextra, apricot, cspop, and
soon more and better :-)


> I guess the final question would be this: has anyone seriously tried
> active development on a python CS application?

I been working with cs, cel and python since quite some time. Started a
few apps, and seen a few more. My "advice" would be that the python
bindings are really powerful, and pretty stable, but, the cs and cel is
very big, so sometimes you will hit either a class that is not wrapped,
or a method that doesnt work as expected from python, but normally i can
make anything work, and for most stuff you can even do yourself.

 Pablo


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Cel-main mailing list
Cel-main@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cel-main

Reply via email to