float / double support in Python?

Tim Roberts timr at probo.com
Thu Feb 6 23:53:50 EST 2003


"Brandon Van Every" <vanevery at 3DProgrammer.com> wrote:

>Terry Reedy wrote:
>>
>> Python proper only uses 'floats' which (for CPython) are 8 byte C
>> doubles.
>
>Um, that's like, absolutely brain-dead to a 3D game developer.

Why?  Performance?  If performance is your primary criterion, then you
should not be looking at an interpreted language at all.

Python certainly allows you to do the performance-critical parts of your
app in C while keeping the overall structure in Python, but in that case,
the size of the floats shouldn't be an issue.
-- 
- Tim Roberts, timr at probo.com
  Providenza & Boekelheide, Inc.




More information about the Python-list mailing list