ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> cpp-sig
cpp-sig
Re: [C++-sig] Re: Refactoring, Compilation Speed, Pyste, Lua/Ruby/JavaScript...
by Joel de Guzman other posts by this author
Jun 16 2003 11:17AM messages near this date
[C++-sig] Re: Refactoring, Compilation Speed, Pyste, Lua/Ruby/JavaScript... | Re: [C++-sig] Refactoring, Compilation Speed, Pyste, Lua/Ruby/JavaScript...
Brett Calcott wrote:
> >    converter - This stuff which handles Python-specific conversion
> >      mechanics is mostly already segregated in
> >      boost/python/converter, but it could be better organized. 
> >      Almost everything else in the library is built upon these
> > capabilities 
> > 
>  
>  As somebody who has tried to go through the library, this bit is the
>  part I'd really like to understand. I'm sure the reorganisation would
>  help, but I'd
>  really love to read a short doc on how this actually all hangs
>  together. The registry, how the templates automates the construction
>  of the PyObject and Type, how conversions are looked up (what's that
>  graph stuff in there?). 
>  
>  Though brilliant, the combination of templates and preprocessor makes
>  it really (really, really) hard going. I've read through a fair bit
>  of c/c++ code before, and I can say that this stuff is the hardest
>  I've ever tried to decipher - and I know it is well written, not like
>  most of the other stuff I've looked at. Even stepping through it in
>  the debugger is not that enlightening.
>  
>  I think I could use the library better and assist more in extending
>  it if I could put all the bits together in my head.(I have in mind
>  something like the big text file that Joel wrote for Phoenix.)

Which text file was that? Indeed, the preprocessor really gets in the 
way. Unfortunately, I had to bite the bullet too and the next Phoenix/LL 
code will have to be preprocessor driven.

>  Just putting in a bid for your time Dave...

Some implementation notes would really help. Anyway, I promised
Dave to help with the reorganization. I'm not at all quite familiar with
the code but I sure could help in shuffling things around into modules,
to begin with.

Cheers,
-- 
Joel de Guzman
joel at boost-consulting.com
http://www.boost-consulting.com
http://spirit.sf.net


_______________________________________________
C++-sig mailing list
C++-sig@[...].org
http://mail.python.org/mailman/listinfo/c++-sig
Thread:
David Abrahams
David Abrahams
Brett Calcott
Brett Calcott
David Abrahams
Brett Calcott
Brett Calcott
Joel de Guzman
David Abrahams
David Abrahams
Dirk Gerrits
David Abrahams
David Abrahams
Brett Calcott
Joel de Guzman
Nicodemus
David Abrahams
Roman Sulzhyk
David Abrahams
Nicodemus
Roman Sulzhyk
Nicodemus
David Abrahams
Nicodemus
Roman Sulzhyk
Nicodemus
Roman Sulzhyk
Nicodemus
David Abrahams
Nicodemus
Roman Sulzhyk
Ralf W. Grosse-Kunstleve
Nicodemus

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved