Re: Python for embedded systems?

2011-02-24 Thread Joachim Strömbergson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Aloha! On 2011:02:24 08:04 , Rafe Kettler wrote: It's not a matter of language maturity, Python is very mature, it's a matter of design. Python is a high-level, garbage-collected, interpreted language, and that's not the ideal type of language for

Python for embedded systems?

2011-02-23 Thread Paulito
Apologies if this has been asked; I haven't yet Googled the archives. From a brief email conversation, Guido pointed me to this newsgroup to ask the following questions: Is Python 'mature' enough to be considered the primary language for embedded systems? Is the performance there for real-time

Re: Python for embedded systems?

2011-02-23 Thread Paul Rubin
Paulito paul...@gmail.com writes: Is Python 'mature' enough to be considered the primary language for embedded systems? Is the performance there for real-time applications (eg avionics, real-time control systems) or is it still more suitable ...as a glue language, used to combine components

Re: Python for embedded systems?

2011-02-23 Thread Rafe Kettler
On Feb 23, 6:53 pm, Paulito paul...@gmail.com wrote: Apologies if this has been asked; I haven't yet Googled the archives. From a brief email conversation, Guido pointed me to this newsgroup to ask the following questions: Is Python 'mature' enough to be considered the primary language for

Python for embedded systems development

2010-09-03 Thread VGNU Linux
Hi, Is there anyone using python for embedded systems development ? I have no idea where to start with. Google was of little help. Will appreciate if someone could guide me on from where to start. Regards Vgnu -- http://mail.python.org/mailman/listinfo/python-list

Re: Python for embedded systems with memory constraints

2007-06-11 Thread vishnu
Hello, Using the best fit for Python will not be a problem, because Python makes allocations of lot of small size blocks.So those split blocks of small sizes are used by Python sometime. And what I observed from my investigation with the memory manager(MM) for Python is , with any MM we cannot

Re: Python for embedded systems with memory constraints

2007-06-11 Thread Gabriel Genellina
En Mon, 11 Jun 2007 15:59:19 -0300, vishnu [EMAIL PROTECTED] escribió: So now I only see the solution to clear my memory pool and restart Python without restarting the system (i.e. no power cycle to hardware). I tried to do this when my memory pool is 60% used in these steps: 1)

Re: Python for embedded systems with memory constraints

2007-06-09 Thread vishnu
Hi, Thanks Cameron for your suggestions. In fact I am using custom memory sub-allocator where I preallocate a pool of memory during initialization of my application and ensure that Python doesn't make any system mallocs later . With this arrangement, python seems to run out of preallocated memory

Re: Python for embedded systems with memory constraints

2007-06-09 Thread MRAB
On Jun 9, 1:33 pm, vishnu [EMAIL PROTECTED] wrote: Hi, Thanks Cameron for your suggestions. In fact I am using custom memory sub-allocator where I preallocate a pool of memory during initialization of my application and ensure that Python doesn't make any system mallocs later . With this

Re: Python for embedded systems with memory constraints

2007-06-07 Thread Cameron Laird
In article [EMAIL PROTECTED], vishnu [EMAIL PROTECTED] wrote: Hi there, I am embedding python 2.5 on embedded system running on RTOS where I had strict memory constraints. As python is a huge malloc intensive application, I observed huge memory fragmentation in my system which is leading to out

Re: Python for embedded systems with memory constraints

2007-06-05 Thread Jürgen Urner
Who else is using python (programmers, scientists, finance)? Me! Graduated in fine arts. Python is what I do when I am fed up with all those colors. Much easier to manufacture sense with. -- http://mail.python.org/mailman/listinfo/python-list

Python for embedded systems with memory constraints

2007-06-04 Thread vishnu
Hi there, I am embedding python 2.5 on embedded system running on RTOS where I had strict memory constraints. As python is a huge malloc intensive application, I observed huge memory fragmentation in my system which is leading to out of memory after running few scripts. So I decided to

Re: Python for Embedded Systems?

2006-07-17 Thread Petr Jakeš
J Is there a Python packaging that is specifically for J embedded systems? ie, very small and configurable so the J user gets to select what modules to install? J For Linux-based embedded systems in particular? J I'm thinking of running it on the Linksys's Linux-based open J source router

Re: Python for Embedded Systems?

2006-07-16 Thread Martin v. Löwis
Carl J. Van Arsdall wrote: This raises a good question. Is there a need for python to change somewhat to work better in an embedded profile? When I asked this question last on python-dev, there was exactly one response, and that was yes, it needs to change. The natural question then is in

Re: Python for Embedded Systems?

2006-07-15 Thread H J van Rooyen
Carl J. Van Arsdall [EMAIL PROTECTED] Wrote: To: python-list@python.org Sent: Friday, July 14, 2006 7:36 PM Subject: Re: Python for Embedded Systems? | Grant Edwards wrote: | On 2006-07-14, Jack [EMAIL PROTECTED] wrote: | | Is there a Python packaging that is specifically for | embedded

Re: Python for Embedded Systems?

2006-07-15 Thread Sébastien Boisgérault
Jack a écrit : If Python is not the best candidate for embedded systems because of the size, what (scripting) language would you recommend? PHP may fit but I don't quite like the language. Anything else? Loa is small but it does not seem to be powerful enough. You mean Lua ? Not powerful

Re: Python for Embedded Systems?

2006-07-15 Thread Paul Rubin
H J van Rooyen [EMAIL PROTECTED] writes: What is the minimum set of instructions and structure needed to make a simplistic Python? - does anybody know? There have been lots of Lisps for the PDP-11 and comparable machines. Python's runtime semantics are close enough to Lisp that you could

Re: Python for Embedded Systems?

2006-07-15 Thread Paul Rubin
Paul Rubin http://[EMAIL PROTECTED] writes: SIOD was a well known very small Scheme interpreter that you might like to play with: http://en.wikipedia.org/wiki/SIOD Here's another one that I like. I haven't actually used it but studied it for possible integration in an embedded project that

Re: Python for Embedded Systems?

2006-07-15 Thread Paul McGuire
Jack wrote: Is there a Python packaging that is specifically for embedded systems? ie, very small and configurable so the user gets to select what modules to install? You might also look at the gumstix embedded system, Linux running on an ARM processor in an extremely small form factor.

Re: Python for Embedded Systems?

2006-07-15 Thread Paul McGuire
Jack wrote: Is there a Python packaging that is specifically for embedded systems? ie, very small and configurable so the user gets to select what modules to install? For Linux-based embedded systems in particular? I'm thinking of running it on the Linksys's Linux-based open source router

Re: Python for Embedded Systems?

2006-07-15 Thread Paul McGuire
On-board Ethernet and CAN (Controller Area Network - wireless) Ooops, my bad - CAN is not wireless, it is a serial network specifically for linking with other ucontroller boards. I was thinking of the onboard Bluetooth of the gumstix boards. -- Paul --

Re: Python for Embedded Systems?

2006-07-15 Thread Jack
Yes, I mean Lua, not Loa :-p Lua is a nice language. Like you said, it doesn't have many libraries as Python does. Plus, it's still evolving and the libraries are changing. I found a few functions not working last time I tried kepler libraries. It's good for embedded systems though because of

Re: Python for Embedded Systems?

2006-07-15 Thread Cameron Laird
In article [EMAIL PROTECTED], Jack [EMAIL PROTECTED] wrote: Yes, I mean Lua, not Loa :-p Lua is a nice language. Like you said, it doesn't have many libraries as Python does. Plus, it's still evolving and the libraries are changing. I found a few functions not working last time I tried kepler

Re: Python for Embedded Systems?

2006-07-15 Thread Cameron Laird
In article [EMAIL PROTECTED], Carl J. Van Arsdall [EMAIL PROTECTED] wrote: . . . This raises a good question. Is there a need for python to change somewhat to work better in an embedded profile? Are there many people in

Re: Python for Embedded Systems?

2006-07-15 Thread Paul Rubin
[EMAIL PROTECTED] (Cameron Laird) writes: Yes and no. Python could thrive for the next decade while utterly surrendering the small-and-embedded domain to Forth, Lua, Tcl, Scheme, and so on, so, no, there's no *need* for a TinyPython. On the other hand, yes, there are at least several of us

Re: Python for Embedded Systems?

2006-07-15 Thread Cameron Laird
In article [EMAIL PROTECTED], Paul Rubin http://[EMAIL PROTECTED] wrote: [EMAIL PROTECTED] (Cameron Laird) writes: Yes and no. Python could thrive for the next decade while utterly surrendering the small-and-embedded domain to Forth, Lua, Tcl, Scheme, and so on, so, no, there's no *need* for

Python for Embedded Systems?

2006-07-14 Thread Jack
Is there a Python packaging that is specifically for embedded systems? ie, very small and configurable so the user gets to select what modules to install? For Linux-based embedded systems in particular? I'm thinking of running it on the Linksys's Linux-based open source router WRT54G. It has 4MB

Re: Python for Embedded Systems?

2006-07-14 Thread Grant Edwards
On 2006-07-14, Jack [EMAIL PROTECTED] wrote: Is there a Python packaging that is specifically for embedded systems? ie, very small and configurable so the user gets to select what modules to install? For Linux-based embedded systems in particular? I'm thinking of running it on the Linksys's

Re: Python for Embedded Systems?

2006-07-14 Thread Carl J. Van Arsdall
Grant Edwards wrote: On 2006-07-14, Jack [EMAIL PROTECTED] wrote: Is there a Python packaging that is specifically for embedded systems? ie, very small and configurable so the user gets to select what modules to install? For Linux-based embedded systems in particular? I'm thinking of

Re: Python for Embedded Systems?

2006-07-14 Thread James Thiele
Jack wrote: ...snip... If Python is not the best candidate for embedded systems because of the size, what (scripting) language would you recommend? TCL is fairly popular in the embedded space. Fairly small footprint. The syntax is not to everyone's taste. --

Re: Python for Embedded Systems?

2006-07-14 Thread gregarican
Here's an URL to a project that appears to be dated from 2004 -- http://skreak.com/wrt54g/python.php. Jack wrote: Is there a Python packaging that is specifically for embedded systems? ie, very small and configurable so the user gets to select what modules to install? For Linux-based

Re: Python for Embedded Systems?

2006-07-14 Thread Grzegorz Makarewicz
Jack wrote: Is there a Python packaging that is specifically for embedded systems? ie, very small and configurable so the user gets to select what modules to install? For Linux-based embedded systems in particular? I'm thinking of running it on the Linksys's Linux-based open source router

Re: Python for Embedded Systems?

2006-07-14 Thread gregarican
Or Python on the Zaurus, which I used to develop a wifi CRM app on a group of refurb Sharp Zaurus SL-5500 units. Here's a link to the Python implementation on the Z -- http://starship.python.net/~hinsen/Zaurus/. Grzegorz Makarewicz wrote: Jack wrote: Is there a Python packaging that is