Re: investigating stackless frameworks for iOS and OSX

Jeff Senn <[email protected]> Thu, 2 Apr 2015 08:25:19 -0400
Newsgroups gmane.comp.python.stackless
Message-ID <[email protected]>
--===============8970581666693564664==
Content-Type: multipart/alternative; boundary="Apple-Mail=_E00A7AF0-4F5E-44B4-9764-8191833CE18E"


--Apple-Mail=_E00A7AF0-4F5E-44B4-9764-8191833CE18E
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Kivy still does this (though I suppose they branched the original =
PythonForAndroid) -- only the patches are pretty minor (mostly build =
stuff and a few changes here ad there for platform problems -- Android =
is not too bad as it is Linux natively).  The same is true of Kivy's iOS =
python (different patches of course).

One other thing I noticed (in my occasional cross-platform foray): the =
stackless codebase probably should get a review of the platform-specific =
switching code at some point -- the Greenlet project =
(https://github.com/python-greenlet =
<https://github.com/python-greenlet>) originally a spinout of Stackless, =
has improved platform switching code (in terms of number of platforms =
and ease of building).

> On Apr 2, 2015, at 6:16 AM, Kristj=C3=A1n Valur J=C3=B3nsson =
<[email protected]> wrote:
>=20
> Interesting.  The last time I looked, (some 18 months ago) kivy (for =
android) was using "PythonForAndroid".
> This was a strange beast, being built bu pulling a particular revision =
of Python2.7 and applying a bunch of "patches" to it before compiling =
it.
> My thought at the time was to try to merge those patches into a proper =
Stackless Python branch, and thus make Stackless the python of choice =
for Android and IOS.
> Sadly, I didn't have the time for such a project.
> Now, it appears PythonForAndroid has morphed into QPython or =
something....
>=20
>=20
> On 19 March 2015 at 18:26, Jeff Senn <[email protected] =
<mailto:[email protected]>> wrote:
>=20
>=20
> I have a patch that switches out the python with stackless for iOS =
(and hopefully soon Android). I haven't done much testing yet though.
>=20
> I
> _______________________________________________
> Stackless mailing list
> [email protected]
> http://www.stackless.com/mailman/listinfo/stackless


--Apple-Mail=_E00A7AF0-4F5E-44B4-9764-8191833CE18E
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D"">Kivy still does this (though I suppose they branched the =
original PythonForAndroid) -- only the patches are pretty minor (mostly =
build stuff and a few changes here ad there for platform problems -- =
Android is not too bad as it is Linux natively). &nbsp;The same is true =
of Kivy's iOS python (different patches of course).<div class=3D""><br =
class=3D""></div><div class=3D""><div class=3D"">One other thing I =
noticed (in my occasional cross-platform foray): the stackless codebase =
probably should get a review of the platform-specific switching code at =
some point -- the Greenlet project (<a =
href=3D"https://github.com/python-greenlet" =
class=3D"">https://github.com/python-greenlet</a>) originally a spinout =
of Stackless, has improved platform switching code (in terms of number =
of platforms and ease of building).</div><div class=3D""><br =
class=3D""></div><div class=3D""><div class=3D""><div =
class=3D""><div><blockquote type=3D"cite" class=3D""><div class=3D"">On =
Apr 2, 2015, at 6:16 AM, Kristj=C3=A1n Valur J=C3=B3nsson &lt;<a =
href=3D"mailto:[email protected]" class=3D"">[email protected]</a>&gt; =
wrote:</div><br class=3D"Apple-interchange-newline"><div class=3D""><div =
dir=3D"ltr" class=3D"">Interesting.&nbsp; The last time I looked, (some =
18 months ago) kivy (for android) was using "PythonForAndroid".<div =
class=3D"">This was a strange beast, being built bu pulling a particular =
revision of Python2.7 and applying a bunch of "patches" to it before =
compiling it.</div><div class=3D"">My thought at the time was to try to =
merge those patches into a proper Stackless Python branch, and thus make =
Stackless the python of choice for Android and IOS.</div><div =
class=3D"">Sadly, I didn't have the time for such a project.</div><div =
class=3D"">Now, it appears PythonForAndroid has morphed into QPython or =
something....</div><div class=3D""><br class=3D""><div =
class=3D"gmail_extra"><br class=3D""><div class=3D"gmail_quote">On 19 =
March 2015 at 18:26, Jeff Senn <span dir=3D"ltr" class=3D"">&lt;<a =
href=3D"mailto:[email protected]" target=3D"_blank" =
class=3D"">[email protected]</a>&gt;</span> wrote:<br class=3D""><blockquote =
class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc =
solid;padding-left:1ex"><br class=3D"">
<br class=3D"">
I have a patch that switches out the python with stackless for iOS (and =
hopefully soon Android). I haven't done much testing yet though.<br =
class=3D"">
<br class=3D"">
I</blockquote></div></div></div></div>
_______________________________________________<br class=3D"">Stackless =
mailing list<br class=3D""><a href=3D"mailto:[email protected]" =
class=3D"">[email protected]</a><br =
class=3D"">http://www.stackless.com/mailman/listinfo/stackless</div></bloc=
kquote></div><br class=3D""></div></div></div></div></body></html>=

--Apple-Mail=_E00A7AF0-4F5E-44B4-9764-8191833CE18E--


--===============8970581666693564664==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Stackless mailing list
[email protected]
http://www.stackless.com/mailman/listinfo/stackless
--===============8970581666693564664==--