From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,61fba3a4ceae43bb X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!h2g2000yqj.googlegroups.com!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: a multicore XMOS CPU Date: Thu, 11 Feb 2010 03:45:14 -0800 (PST) Organization: http://groups.google.com Message-ID: <39162be9-a630-420d-bcc8-11bd20427f71@h2g2000yqj.googlegroups.com> References: <4c146eb5-81a3-4d7e-8dd3-bfc23f77ab3e@r24g2000yqd.googlegroups.com> NNTP-Posting-Host: 153.98.68.197 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1265888714 23798 127.0.0.1 (11 Feb 2010 11:45:14 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 11 Feb 2010 11:45:14 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: h2g2000yqj.googlegroups.com; posting-host=153.98.68.197; posting-account=pcLQNgkAAAD9TrXkhkIgiY6-MDtJjIlC User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7,gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:9107 Date: 2010-02-11T03:45:14-08:00 List-Id: darek wrote on comp.lang.ada: > =A0 1. How to distribute =A0tasks between cores ? It is responsibility of > the Ada run-time or the programmer shall do it explicitly (each core > up to 8 real-time threads) via pragmas (I think, extending the > language definition is not a good idea)? I'd think the easiest, as a first step would be to mimic the extended C they provide and then, maybe, provide for dynamic thread allocation from within the kernel (see below). > =A02. Is it possible to create from publicly available source GNAT code > a system that does not require any OS support (a bare metal solution)? Yes, it is possible. However I think tasking support requires a kernel such as the OpenRavenscar kernel[1]. [1] http://polaris.dit.upm.es/~ork/ > 3. Last but not least. Is this enterprise worth =A0any efforts (nice > hobby project but then ...) ? I guess that's for you to decide. The experience you gain doing such a nice hobby project will be very valuable anyway. -- Ludovic Brenta.