Pyrex without Python (was Re: calling Pyrex results from C)
Paul Prescod
paul at prescod.net
Tue Jan 20 21:42:58 EST 2004
Jeff Epler wrote:
>
> 1. my {} keys are broken, so it's perfect to not use C and to use an
> environment where I can't use dicts either
> 2. the people programming small machines are all out do to crazy stuff,
> and so programming mine in "Python" (pyrex) would be along those lines.
;)
If we were to think of Pyrex as its own language unrelated to Python
we'd have to say it is a language that allows you to span the gamut from
a "little more high level than C" (i.e. C with GC) to "a little more
low-level than Python" (a few of Python's features are missing). I think
that's actually an amazing range and I think more people should try to
use it as its own language as Kyler is.
On the other hand, using as a language MORE low-level than idiomatic C
is a fun hack but won't probably save you any time or effort. But
there's nothing wrong with doing something merely because it is a fun hack!
Paul Prescod
More information about the Python-list
mailing list