Re: [C++-sig] GSoC 2011 proposal for improved NumPy wrapper ?

2011-03-25 Thread John Reid

On 24/03/11 20:14, Jim Bosch wrote:

If we start with boost/python/numpy, I think the most important tasks are:
- Add "object manager" classes for additional numpy types ("object
managers" are Boost.Python versions of Python types; right now
boost/python/numpy only supports the most important numpy types, like
numpy.ndarray and numpy.dtype). Most of these will be trivial, but there
may be a lot of them. We want complete coverage of the numpy C-API.
- Add additional methods to the numpy.ndarray object manager
(numpy.ndarray has a ton of methods in Python; I'm not sure all of them
need to be supported from C++ if we can do attr("method")())
- Fix conversions between numpy scalar types and C++ POD types (other
projects mentioned on this list have solved this at some level).
- Review and possibly revise the array-from-data API (i.e. how should
the user pass in shape and strides?)
- Review and possibly revise how the numpy C-API and its ugly
preprocessor macros are hidden.
- Add documentation.
- Integrate into the boost build system.


Is support planned for boost::multi_arrays? If not, can I add my +1?

John.

___
Cplusplus-sig mailing list
[email protected]
http://mail.python.org/mailman/listinfo/cplusplus-sig


Re: [C++-sig] GSoC 2011 proposal for improved NumPy wrapper ?

2011-03-25 Thread Neal Becker
John Reid wrote:

> On 24/03/11 20:14, Jim Bosch wrote:
>> If we start with boost/python/numpy, I think the most important tasks are:
>> - Add "object manager" classes for additional numpy types ("object
>> managers" are Boost.Python versions of Python types; right now
>> boost/python/numpy only supports the most important numpy types, like
>> numpy.ndarray and numpy.dtype). Most of these will be trivial, but there
>> may be a lot of them. We want complete coverage of the numpy C-API.
>> - Add additional methods to the numpy.ndarray object manager
>> (numpy.ndarray has a ton of methods in Python; I'm not sure all of them
>> need to be supported from C++ if we can do attr("method")())
>> - Fix conversions between numpy scalar types and C++ POD types (other
>> projects mentioned on this list have solved this at some level).
>> - Review and possibly revise the array-from-data API (i.e. how should
>> the user pass in shape and strides?)
>> - Review and possibly revise how the numpy C-API and its ugly
>> preprocessor macros are hidden.
>> - Add documentation.
>> - Integrate into the boost build system.
> 
> Is support planned for boost::multi_arrays? If not, can I add my +1?
> 
> John.

If we're considering support for various c++ libs, ones to consider might 
include:

eigen
boost::multi_array
boost::ublas
nt2?

___
Cplusplus-sig mailing list
[email protected]
http://mail.python.org/mailman/listinfo/cplusplus-sig


Re: [C++-sig] GSoC 2011 proposal for improved NumPy wrapper ?

2011-03-25 Thread Stefan Seefeld

On 2011-03-25 06:55, Neal Becker wrote:

John Reid wrote:



Is support planned for boost::multi_arrays? If not, can I add my +1?

John.

If we're considering support for various c++ libs, ones to consider might
include:

eigen
boost::multi_array
boost::ublas
nt2?



The other day we seemed to agree that the project is already rather 
large, for a small 3 months of GSoC. Let's not add more and more feature 
requests to it. I'd like to focus on NumPy. Additional things may be 
added once the first steps are done.


Stefan


--

  ...ich hab' noch einen Koffer in Berlin...

___
Cplusplus-sig mailing list
[email protected]
http://mail.python.org/mailman/listinfo/cplusplus-sig


[C++-sig] language-binding.net website not available

2011-03-25 Thread Maciej Sitarz
Hi
since some time the Py++ project's homepage is down. Does anyone know
why? Was it moved somewhere or there's some mirror available?
I also haven't seen Roman Yakovenko posting here recently.
Thanks for any info.

Regards
-- 
Maciek Sitarz
___
Cplusplus-sig mailing list
[email protected]
http://mail.python.org/mailman/listinfo/cplusplus-sig


Re: [C++-sig] language-binding.net website not available

2011-03-25 Thread Roman Yakovenko
On Fri, Mar 25, 2011 at 1:59 PM, Maciej Sitarz  wrote:

> Hi
>

Hello.


> since some time the Py++ project's homepage is down. Does anyone know why?


Yes. I do not have time to maintain it.


> Was it moved somewhere or there's some mirror available?
>

You can find everything you need on
http://sourceforge.net/projects/pygccxml/ page - documentation, bug
tracking, mailing list, source and etc.


> I also haven't seen Roman Yakovenko posting here recently.
>

There were 0 posts related to py++ :-). The project is alive and only
recently I fixed few bugs.
___
Cplusplus-sig mailing list
[email protected]
http://mail.python.org/mailman/listinfo/cplusplus-sig

Re: [C++-sig] GSoC 2011 proposal for improved NumPy wrapper ?

2011-03-25 Thread Jim Bosch

On 03/25/2011 04:12 AM, Stefan Seefeld wrote:

On 2011-03-25 06:55, Neal Becker wrote:

John Reid wrote:



Is support planned for boost::multi_arrays? If not, can I add my +1?

John.

If we're considering support for various c++ libs, ones to consider might
include:

eigen
boost::multi_array
boost::ublas
nt2?



The other day we seemed to agree that the project is already rather
large, for a small 3 months of GSoC. Let's not add more and more feature
requests to it. I'd like to focus on NumPy. Additional things may be
added once the first steps are done.


I agree.  I think the focus should be on a Boost.Python interface to the 
Numpy C-API that can be used to simplify numpy converters for the 
various C++ template linear algebra libraries available, rather than 
provide Boost.Python support for any of those libraries specifically (yet).



Jim


___
Cplusplus-sig mailing list
[email protected]
http://mail.python.org/mailman/listinfo/cplusplus-sig