|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH,RFC]: Introduce libxl_domain_create()
Gianni Tedesco writes ("Re: [Xen-devel] [PATCH,RFC]: Introduce
libxl_domain_create()"):
> Python, for example, has no concept of an array nor any remotely similar
> data structure.
Python calls them lists. The literal constructor is []. You can
iterate over them and efficiently retrieve and set elements by index
number. Ie, they are arrays.
> The way I have developed the current xl binding is that C-structs are
> embedded inside python objects which wrap them. To be fair I could
> probably auto-generate list <-> array marshalling functions to go each
> way so it's not impossible.
I don't see in what way a Python list is not an array or what the
fundamental difficulty is here.
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- Re: [Xen-devel] [PATCH,RFC]: Introduce libxl_domain_create(), (continued)
- Re: [Xen-devel] [PATCH,RFC]: Introduce libxl_domain_create(), Ian Jackson
- Re: [Xen-devel] [PATCH,RFC]: Introduce libxl_domain_create(), Ian Campbell
- Re: [Xen-devel] [PATCH,RFC]: Introduce libxl_domain_create(), Ian Jackson
- Re: [Xen-devel] [PATCH,RFC]: Introduce libxl_domain_create(), Ian Campbell
- Re: [Xen-devel] [PATCH,RFC]: Introduce libxl_domain_create(), Ian Jackson
- Re: [Xen-devel] [PATCH,RFC]: Introduce libxl_domain_create(), Gianni Tedesco
- Re: [Xen-devel] [PATCH,RFC]: Introduce libxl_domain_create(), Ian Campbell
- Re: [Xen-devel] [PATCH,RFC]: Introduce libxl_domain_create(), Gianni Tedesco
- Re: [Xen-devel] [PATCH,RFC]: Introduce libxl_domain_create(), Ian Jackson
- Re: [Xen-devel] [PATCH,RFC]: Introduce libxl_domain_create(), Gianni Tedesco
- Re: [Xen-devel] [PATCH,RFC]: Introduce libxl_domain_create(),
Ian Jackson <=
- Re: [Xen-devel] [PATCH,RFC]: Introduce libxl_domain_create(), Gianni Tedesco
|
|
|
|
|