Mixed types and variants

2005-11-23 Thread bearophileHUGS
Notes: - This email is about Mark Dufour's Shed Skin (SS) (http://shed-skin.blogspot.com), but the errors/ingenuousness it contains are mine. My experience with C++ is limited still. - The following code comes from a discussion with Mark. One of the purposes of SS is to produce fast-running

Re: Mixed types and variants

2005-11-23 Thread Diez B. Roggisch
If this is not possible, such variants don't look very useful in general for SS. My possible answers: - Value types only can be better than nothing, because such variants can be used to make mixed dicts, those mixed lists, etc. Some functionality reduction is better than an even bigger

Re: Mixed types and variants

2005-11-23 Thread Tony Nelson
In article [EMAIL PROTECTED], [EMAIL PROTECTED] wrote: ... - Maybe someone here can suggest some other variant type, or some other solution. Pyrex? Pyrex is mostly like Python with the possibility of C types. It handles mixed types just like Python, and the C code it produces is sort of