embedded python?

From: Alexander May (alex-news-deleteme_at_comcast.net)
Date: 06/29/04


Date: Tue, 29 Jun 2004 15:20:45 GMT

Hi,

I love Python! I've been using it for a couple of years now and have found
it to be a highly productive language. I evangelize it to my developer
friends and am probably responsible for the sale of at least 10 Alex
Martelli books. I am now in the fortunate position of being able to use
Python for a large project, and as such I have a question.

We are developing a distributed application running on approximately six
thousand nodes with somewhat limited hardware resources. Our hardware
target is 66 MHz ARM style processor with 16 Mb ram. We haven't selected
specific hardware yet; the hardware target is what we are trying to fit into
based on price constraints. Each device needs to be able to handle about 2
kbs (yes kilo, not mega) worth of network traffic.

I intend to a least prototype the system in Python. It would be great if we
could we could use Python in production by embedding it in the hardware. My
question is does anyone have any real world experience using python in an
embedded system? Two general categories of questions:

1) Are there any embedded Pythons out there? The nodes will likely be
running some form of Linux, but I don't particularly feel like devoting
resrouces to porting python. Any embedded Linuxes supporting Python?
Thoughts in general?

2) What are the resource requirements of Python? How much overhead do the
network related modules add? Obviously I'll be able to determine our
application's resource usage once the prototype is written, but I curious
about other people's past experience.

In short, is embedding python realistic?

Thoughts and comments are greatly appreciated!

Thanks,
Alex



Relevant Pages

  • Re: embedded python?
    ... > thousand nodes with somewhat limited hardware resources. ... worth of network traffic. ... > could we could use Python in production by embedding it in the hardware. ...
    (comp.lang.python)
  • Re: Embedded Systems Python?
    ... I'll be dealing with network sockets work, AND direct hardware access, ... Java is that it can't talk to hardware ... but Python has no such restrictions. ... or is anyone working with Python in an embedded Linux ...
    (comp.arch.embedded)
  • Re: Rationale for core Python numeric types
    ... Things like "eight-bit signed 2's compliment binary number" ... some particular hardware platform. ... writing a Python program who's purpose is to manipulate ... You have integers and floats and the language ...
    (comp.lang.python)
  • Re: About alternatives to Matlab
    ... Python to interface with data acquisition hardware really result in ... I am very familiar with Matlab, Labview, and Python, ... Python extension modules for that hardware), and their costs. ...
    (comp.lang.python)
  • Re: embedded python?
    ... we are exploring some mesh networking options such as zigbee. ... I've never compiled python before. ... We are price constrained per unit, so the hardware can't get too ... >> could we could use Python in production by embedding it in the hardware. ...
    (comp.lang.python)