Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.011 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'url:sourceforge': 0.02; 'subject:Python': 0.05; 'python': 0.08; 'am,': 0.12; "'cause": 0.16; 'somewhere.': 0.16; 'subject:embedded': 0.16; 'subject:system': 0.16; 'cc:addr:python-list': 0.16; 'wrote:': 0.18; 'purposes.': 0.18; 'this?': 0.19; 'cc:no real name:2**0': 0.21; "doesn't": 0.22; 'header:In-Reply-To:1': 0.22; 'runs': 0.23; '(without': 0.23; 'expect': 0.25; 'cc:2**0': 0.26; 'url:edu': 0.28; 'message-id:@mail.gmail.com': 0.29; 'cc:addr:python.org': 0.29; 'bare': 0.30; "it'd": 0.30; 'porting': 0.30; 'sun,': 0.30; '(e.g.': 0.31; 'languages': 0.32; 'there': 0.33; 'anything': 0.34; 'arm': 0.34; 'probably': 0.35; 'something': 0.35; 'operating': 0.35; 'core': 0.36; 'but': 0.37; 'received:google.com': 0.37; 'similar': 0.37; 'using': 0.37; 'received:209.85': 0.38; 'academic': 0.38; 'doing': 0.38; "i'd": 0.39; 'received:209': 0.39; 'header:Received:6': 0.61; 'worth': 0.61; 'real-world': 0.64; 'budget': 0.66; 'dead': 0.77; 'metal': 0.91 Received-SPF: pass (google.com: domain of jeanpierreda@gmail.com designates 10.68.240.41 as permitted sender) client-ip=10.68.240.41; Authentication-Results: mr.google.com; spf=pass (google.com: domain of jeanpierreda@gmail.com designates 10.68.240.41 as permitted sender) smtp.mail=jeanpierreda@gmail.com; dkim=pass header.i=jeanpierreda@gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=NNaRdWhb1DU/mOMP7oRbmp5zYr78UUL0qA0/m6PUt1k=; b=VClob/V3cOJsFTa4pHlKfxRTBxZV8hBJV+82yMORIZhX2mDgbQiBSWqVyPjB3P65Vj PQ8BFo4gLKSc1/esAJFDpvdjSVKhDlQBLKuSQI2F/TUibhH3Eq2Ujf0dZMGLrcvtB2vX Fclm/9glf/Uls4BWEmZDECAWhncqhAhMadWI2Jp1T+yJIXIi6H15y2BPZpFmN9W2vAbT GIigvC3MfS3aCj3RniToWCfzLxHRT2aJzpeUsJMl8MHfBdGefP2LdUO4roVqL9LoZ+rO sNRQGKR6Qk7fKfXl5cdfq8jMgV4GuqFZ/aRcB8k+lGtQhJCbgC/PswOMTyIxtNyskteT u5dw== MIME-Version: 1.0 In-Reply-To: References: From: Devin Jeanpierre Date: Sun, 4 Mar 2012 08:40:07 -0500 Subject: Re: Porting Python to an embedded system To: Justin Drake Content-Type: text/plain; charset=UTF-8 Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 19 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1330868450 news.xs4all.nl 6880 [2001:888:2000:d::a6]:43429 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:21195 On Sun, Mar 4, 2012 at 5:58 AM, Justin Drake 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