1 |
On 18-06-2010 02:08:04 +0200, René 'Necoro' Neumann wrote: |
2 |
> In parallel (or thereafter), we build the C-bindings. The API for these |
3 |
> bindings probably look different -- but I guess they should be |
4 |
> implemented in terms of the library created above. |
5 |
> |
6 |
> By example: |
7 |
> |
8 |
> - Operation: get the list of categories |
9 |
> - Python-API: portage.api.categories() : Category list |
10 |
> - Implementation: def categories(): return .... |
11 |
> - C-API: category * categories() |
12 |
> - C-Implementation: some wrapper around portage.api.categories |
13 |
|
14 |
If you want to deliver a C implementation, I'd wonder why you wouldn't |
15 |
just make a full C implementation and create Python wrappers for them |
16 |
instead of the other way around. Might accidentially speed up Portage, |
17 |
and make tools like portage-utils happy. |
18 |
|
19 |
|
20 |
-- |
21 |
Fabian Groffen |
22 |
Gentoo on a different level |