Re: Research Topics for Grad School
Stéfane Fermigier <[email protected]> Mon, 11 Nov 2019 09:44:57 +0100
| Newsgroups | gmane.comp.python.web |
|---|---|
| Message-ID | <CABuJJj5F72mzBGZ80z6bnKbEe0Yks=MwYHNqR=+h7QV2jpJhBg@mail.gmail.com> |
--===============1208566672134737185== Content-Type: multipart/alternative; boundary="00000000000027158905970e26b4" --00000000000027158905970e26b4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, I've been using the PyIodide project for some research work ( https://github.com/abilian/olapy/tree/master/pyodide). This is great, but in the end it's "just" CPython compiled in the browser, with some hacks sprinkled around to make the libraries you depend upon work in the browser. Transpiling is another approach, which has other use cases. Both of these approaches have legitimate use cases, but I believe they both will allow only niche applications. We need, IMHO, a new approach that would combine the pros of both approaches (i.e.: maximise interoperability with both the Python and HTML5 ecosystems). I've had a short discussion on this topic on Twitter yesterday: https://twitter.com/sfermigier/status/1193457847008403456 And at the end of the conversation, I was thinking to myself: "Wouldn't it be great if there was some PhD work starting on this subjects?". But I can't really recommend, without thinking about it much longer, an appropriate detailed approach for a research project. At least, I'm open to keeping the discussion open. (Relevant starting points should be Russell's, =C5=81ukasz' and Paul's talk= s about the future of Python). S. On Mon, Nov 11, 2019 at 4:15 AM yun bao <[email protected]> wrote: > Hi, > > I'm planning to go to grad school next fall, and I'm in the process of > refining my thesis idea. My basic idea is connected to Python running in= a > web browser. However, I'm still trying to hone in on a good research ide= a > that will be useful and relevant to the Python community. So I was hopin= g > someone here might be able to help. > > I've been reaching out to a few different communities to better understan= d > the current state of, and problems associated with, getting Python runnin= g > in a browser. I spoke to someone at Mozilla, who said he thought that > pursuing WebAssembly was the best option. He said it was very unlikely > that browser vendors would drastically modify their products to host a > dedicated Python engine. He pointed me to the Pyodide project, which has > gotten quite a few scientific Python packages running in a web browser > using the WebAssembly version of CPython. The Pyodide team compiled CPyth= on > to WebAssembly using Emscripten. This is pretty exciting, as most of the > solutions I'd previously seen involved translating or transpiling Python = to > JavaScript (Transcrypt, Brython, PypyJS), and then executing that. I've > reached out to the Pyodide people, but thought I would see if anyone in t= he > Python community was involved in this kind of work. > > Any thoughts or advice that you could share would be most welcome. > > Thanks, > > Andrew > _______________________________________________ > Web-SIG mailing list > [email protected] > Web SIG: http://www.python.org/sigs/web-sig > Unsubscribe: > https://mail.python.org/mailman/options/web-sig/sf%40fermigier.com > --=20 Stefane Fermigier - http://fermigier.com/ - http://twitter.com/sfermigier - http://linkedin.com/in/sfermigier Founder & CEO, Abilian - Enterprise Social Software - http://www.abilian.com/ Chairman, National Council for Free & Open Source Software (CNLL) - http://cnll.fr/ Founder & Organiser, PyParis & PyData Paris - http://pyparis.org/ & http://pydata.fr/ --00000000000027158905970e26b4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Hi,<div><br></div><div>I've been using the PyIodide pr= oject for some research work (<a href=3D"https://github.com/abilian/olapy/t= ree/master/pyodide">https://github.com/abilian/olapy/tree/master/pyodide</a= >). This is great, but in the end it's "just" CPython compile= d in the browser, with some hacks sprinkled around to make the libraries yo= u depend upon work in the browser.=C2=A0</div><div><br></div><div>Transpili= ng is another approach, which has other use cases.=C2=A0</div><div><br></di= v><div>Both of these approaches have legitimate use cases, but I believe th= ey both will allow only niche applications. We need, IMHO, a new approach t= hat would combine the pros of both approaches (i.e.: maximise interoperabil= ity with both the Python and HTML5 ecosystems).</div><div><br></div><div>I&= #39;ve had a short discussion on this topic on Twitter yesterday:</div><div= ><br></div><div><a href=3D"https://twitter.com/sfermigier/status/1193457847= 008403456">https://twitter.com/sfermigier/status/1193457847008403456</a><br= ></div><div><br></div><div>And at the end of the conversation, I was thinki= ng to myself: "Wouldn't it be great if there was some PhD work sta= rting on this subjects?".</div><div><br></div><div>But I can't rea= lly recommend, without=C2=A0thinking about it much longer, an appropriate d= etailed approach for a research project.</div><div><br></div><div>At least,= I'm open to keeping the discussion open.</div><div><br></div><div>(Rel= evant starting points should be Russell's,=C2=A0=C5=81ukasz' and Pa= ul's talks about the future of Python).</div><div><br></div><div>=C2=A0= S.</div><div><br></div></div><br><div class=3D"gmail_quote"><div dir=3D"lt= r" class=3D"gmail_attr">On Mon, Nov 11, 2019 at 4:15 AM yun bao <<a href= =3D"mailto:[email protected]">[email protected]</a>> wrote:<br></div><= blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-l= eft:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr">Hi,<div><= br></div><div>I'm planning to go to grad school next fall, and I'm = in the process of refining my thesis idea.=C2=A0 My basic idea is connected= to Python running in a web browser.=C2=A0 However, I'm still trying to= hone in on a good research idea that will be useful and relevant to the Py= thon community.=C2=A0 So I was hoping someone here might be able to help.</= div><div><br></div><div>I've been reaching out to a few different commu= nities to better understand the current state of, and problems associated w= ith, getting Python running in a browser.=C2=A0 I spoke to someone at Mozil= la, who said he thought that pursuing WebAssembly was the best option.=C2= =A0 He said it was very unlikely that browser vendors would drastically mod= ify their products to host a dedicated Python engine. He pointed me to the = Pyodide project, which has gotten quite a few scientific Python packages ru= nning in a web browser using the WebAssembly version of CPython. The Pyodid= e team compiled CPython to=C2=A0WebAssembly using Emscripten.=C2=A0 This is= pretty exciting, as most of the solutions I'd previously seen involved= translating or transpiling Python to JavaScript (Transcrypt, Brython, Pypy= JS), and then executing that.=C2=A0 I've reached out to the Pyodide peo= ple, but thought I would see if anyone in the Python community was involved= in this kind of work.</div><div><br></div><div>Any thoughts or advice that= you could share would be most welcome.</div><div><br></div><div>Thanks,</d= iv><div><br></div><div>Andrew</div></div> _______________________________________________<br> Web-SIG mailing list<br> <a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]<= /a><br> Web SIG: <a href=3D"http://www.python.org/sigs/web-sig" rel=3D"noreferrer" = target=3D"_blank">http://www.python.org/sigs/web-sig</a><br> Unsubscribe: <a href=3D"https://mail.python.org/mailman/options/web-sig/sf%= 40fermigier.com" rel=3D"noreferrer" target=3D"_blank">https://mail.python.o= rg/mailman/options/web-sig/sf%40fermigier.com</a><br> </blockquote></div><br clear=3D"all"><div><br></div>-- <br><div dir=3D"ltr"= class=3D"gmail_signature"><div dir=3D"ltr"><div><div dir=3D"ltr"><div><div= dir=3D"ltr"><div><div dir=3D"ltr"><div><div dir=3D"ltr"><div dir=3D"ltr"><= div dir=3D"ltr"><div dir=3D"ltr">Stefane Fermigier - <a href=3D"http://ferm= igier.com/" target=3D"_blank">http://fermigier.com/</a> - <a href=3D"http:/= /twitter.com/sfermigier" target=3D"_blank">http://twitter.com/sfermigier</a= > - <a href=3D"http://linkedin.com/in/sfermigier" target=3D"_blank">http://= linkedin.com/in/sfermigier</a><br>Founder & CEO, Abilian - Enterprise S= ocial Software - <a href=3D"http://www.abilian.com/" target=3D"_blank">http= ://www.abilian.com/</a></div><div dir=3D"ltr">Chairman, National Council fo= r Free & Open Source Software (CNLL) - <a href=3D"http://cnll.fr/" targ= et=3D"_blank">http://cnll.fr/</a><div>Founder & Organiser, PyParis &= ; PyData Paris - <a href=3D"http://pyparis.org/" target=3D"_blank">http://p= yparis.org/</a> &=C2=A0<a href=3D"http://pydata.fr/" target=3D"_blank">= http://pydata.fr/</a></div></div></div></div></div></div></div></div></div>= </div></div></div></div></div> --00000000000027158905970e26b4-- --===============1208566672134737185== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Web-SIG mailing list [email protected] Web SIG: http://www.python.org/sigs/web-sig Unsubscribe: https://mail.python.org/mailman/options/web-sig/gcpw-web-sig%40m.gmane.org --===============1208566672134737185==--