Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #21195

Re: Porting Python to an embedded system

References <CAHwd_ncfp65EhSvK87LUKXF9sn6cMFS27uoOP-Z9459YB8CQag@mail.gmail.com>
From Devin Jeanpierre <jeanpierreda@gmail.com>
Date 2012-03-04 08:40 -0500
Subject Re: Porting Python to an embedded system
Newsgroups comp.lang.python
Message-ID <mailman.378.1330868450.3037.python-list@python.org> (permalink)

Show all headers | View raw


On Sun, Mar 4, 2012 at 5:58 AM, Justin Drake <drakefjustin@gmail.com> wrote:
> I am working with an ARM Cortex M3 on which I need to port Python
> (without operating system). What would be my best approach? I just
> need the core Python and basic I/O.

How much time are you willing to budget to this? Porting something to
bare metal is not a small task. It's probably only worth it if you're
doing it for academic purposes. I expect for anything real-world it'd
be faster to do whatever it is you want to do using something that
already runs on the bare metal. (e.g. http://armpit.sourceforge.net/
for Scheme).

There used to be Flux OSKit ( http://www.cs.utah.edu/flux/oskit/ ) for
porting languages to bare metal, but it doesn't support ARM and it's
been dead a while. If you're really set on this, I'd try to see if
there's something similar out there, somewhere. 'cause writing an OS
from scratch would suck.

-- Devin

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Porting Python to an embedded system Devin Jeanpierre <jeanpierreda@gmail.com> - 2012-03-04 08:40 -0500

csiph-web