[swift-dev] Cortex M0
Dmitri Gribenko
gribozavr at gmail.com
Tue Mar 15 17:57:18 CDT 2016
On Tue, Mar 15, 2016 at 1:19 PM, Tanner Nelson <me at tanner.xyz> wrote:
>
>> On Mar 15, 2016, at 4:11 PM, Dmitri Gribenko <gribozavr at gmail.com> wrote:
>>
>> On Tue, Mar 15, 2016 at 11:40 AM, Tanner Nelson via swift-dev
>> <swift-dev at swift.org> wrote:
>>> Hello Swift Dev,
>>>
>>> Does anyone know if it is possible to compile Swift 2.2 or 3.0 for the Cortex M0?
>>
>> We have an ARMv6 port, but I believe the primary limitation you will
>> run into is the code size and the required memory to hold all the
>> runtime tables. If we are talking about a system with 256 Kb of flash
>
>
> Very interesting. Where can I learn more about the runtime tables, etc that Swift products?
In the source. static variables in
https://github.com/apple/swift/blob/master/stdlib/public/runtime/Metadata.cpp
Dmitri
--
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
More information about the swift-dev
mailing list