On Thu, Dec 5, 2013 at 11:27 PM, geremy condra <[email protected]> wrote:

> > very cool!
>
> Hmm, dunno about this.
>
> His stated goal is to match Python's grammar, but it's possible to conform
> completely to Python's grammar and still not be very much like python. In
> particular, adopting C integer semantics is pretty wild. I can't think of a
> sizeable body of Python code I would count on to handle that gracefully.
>
well, I think this is about being able to write python code specifically to
drive this device -- much less about porting other code to it. And I think
the C integers are optional. But as a proof of concept, Cython lets you
optionally use straight C ints, and it's very useful.

Also, I don't understand his comments about avoiding heap allocations in
> interrupt handlers. Stack allocating integers is fine, but how do you avoid
> a heap allocation in a dictionary comprehension or string slice?
>

out of my depth here!

-Chris


-- 

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

[email protected]

Reply via email to