On 01/04/2011 12:38 PM, gry wrote:
> On Jan 4, 1:11 am, John Nagle wrote:
>
>> On 1/1/2011 11:26 PM, azakai wrote:
>>
>>
>>> Hello, I hope this will be interesting to people here: CPython running
>>> on the web,
>>>
>>
>>> http://syntensity.com/static/python.html
>>>
>>
On Jan 4, 1:11 am, John Nagle wrote:
> On 1/1/2011 11:26 PM, azakai wrote:
>
> > Hello, I hope this will be interesting to people here: CPython running
> > on the web,
>
> >http://syntensity.com/static/python.html
>
> > That isn't a new implementation of Python, but rather CPython 2.7.1,
> > compi
On Jan 3, 4:55 pm, azakai wrote:
> But through a combination of optimizations on the side of Emscripten
> (getting all LLVM optimizations to work when compiling to JS) and on
> the side of the browsers (optimizing accesses on typed arrays in JS,
> etc.), then I hope the code will eventually run qu
On 1/3/2011 11:13 PM, azakai wrote:
On Jan 3, 10:11 pm, John Nagle wrote:
On 1/1/2011 11:26 PM, azakai wrote:
Hello, I hope this will be interesting to people here: CPython running
on the web,
http://syntensity.com/static/python.html
That isn't a new implementation of Python, but rather
On Jan 3, 10:11 pm, John Nagle wrote:
> On 1/1/2011 11:26 PM, azakai wrote:
>
> > Hello, I hope this will be interesting to people here: CPython running
> > on the web,
>
> >http://syntensity.com/static/python.html
>
> > That isn't a new implementation of Python, but rather CPython 2.7.1,
> > comp
On 1/1/2011 11:26 PM, azakai wrote:
Hello, I hope this will be interesting to people here: CPython running
on the web,
http://syntensity.com/static/python.html
That isn't a new implementation of Python, but rather CPython 2.7.1,
compiled from C to JavaScript using Emscripten and LLVM. For more
FYI,
The example
http://syntensity.com/static/python.html
works fine in Safari 4.1.3 on MacOS X Tiger (10.4.11).
/Jean
On Jan 3, 5:59 pm, azakai wrote:
> On Jan 3, 12:23 pm, Gerry Reno wrote:
>
>
>
>
>
> > On 01/03/2011 03:10 PM, azakai wrote:
>
> > > On Jan 2, 5:55 pm, Gerry Reno wrote:
FireFox 3.6.13 on MacOS X Tiger (10.4.11) fails:
Error: too much recursion
Error: Modules is not defined
Source File: http://synthensity.com/static/python.html
/Jean
On Jan 2, 11:26 pm, Wolfgang Strobl wrote:
> azakai :
>
> >On Jan 2, 4:58 pm, pyt...@bdurham.com wrote:
> >> Azakai/Gerry,
On Jan 3, 12:23 pm, Gerry Reno wrote:
> On 01/03/2011 03:10 PM, azakai wrote:
>
>
>
>
>
>
>
>
>
> > On Jan 2, 5:55 pm, Gerry Reno wrote:
>
> >> I tried printing sys.path and here is the output:
>
> >> ['', '/usr/local/lib/python27.zip', '/usr/local/lib/python2.7/',
> >> '/usr/local/lib/python2.7/
On Jan 3, 12:13 pm, de...@web.de (Diez B. Roggisch) wrote:
> A fun hack. Have you bothered to compare it to the PyPy javascript
> backend - perfomance-wise, that is?
>
Gerry already gave a complete and accurate answer to the status of
this project in comparison to PyPy and pyjamas. Regarding perfo
On Jan 2, 4:58 pm, pyt...@bdurham.com wrote:
> Azakai/Gerry,
>
> > Errors when using Firefox 3.6.3:
>
firefox 3.6.13 openbsd i386 4.8 -current
error console has some errors:
editor not defined
module not define
too much recursion
nothing interested happened on the web page, but wonderful projec
On 01/03/2011 05:55 PM, Diez B. Roggisch wrote:
> Gerry Reno writes:
>
>
>> On 01/03/2011 03:13 PM, Diez B. Roggisch wrote:
>>
>>> A fun hack. Have you bothered to compare it to the PyPy javascript
>>> backend - perfomance-wise, that is?
>>>
>>> Diez
>>>
>>>
>> I don't think that
Gerry Reno writes:
> On 01/03/2011 03:13 PM, Diez B. Roggisch wrote:
>>
>> A fun hack. Have you bothered to compare it to the PyPy javascript
>> backend - perfomance-wise, that is?
>>
>> Diez
>>
>
> I don't think that exists anymore. Didn't that get removed from PyPy
> about 2 years ago?
Ah,
On 01/03/2011 03:13 PM, Diez B. Roggisch wrote:
>
> A fun hack. Have you bothered to compare it to the PyPy javascript
> backend - perfomance-wise, that is?
>
> Diez
>
I don't think that exists anymore. Didn't that get removed from PyPy
about 2 years ago?
Regards,
Gerry
--
http://mail.pyth
On 01/03/2011 03:10 PM, azakai wrote:
> On Jan 2, 5:55 pm, Gerry Reno wrote:
>
>> I tried printing sys.path and here is the output:
>>
>> ['', '/usr/local/lib/python27.zip', '/usr/local/lib/python2.7/',
>> '/usr/local/lib/python2.7/plat-linux2',
>> '/usr/local/lib/python2.7/lib-tk', '/usr/local
azakai writes:
> Hello, I hope this will be interesting to people here: CPython running
> on the web,
>
> http://syntensity.com/static/python.html
>
> That isn't a new implementation of Python, but rather CPython 2.7.1,
> compiled from C to JavaScript using Emscripten and LLVM. For more
> details
On Jan 2, 5:55 pm, Gerry Reno wrote:
> I tried printing sys.path and here is the output:
>
> ['', '/usr/local/lib/python27.zip', '/usr/local/lib/python2.7/',
> '/usr/local/lib/python2.7/plat-linux2',
> '/usr/local/lib/python2.7/lib-tk', '/usr/local/lib/python2.7/lib-old',
> '/usr/local/lib/lib-dyn
azakai :
>On Jan 2, 4:58 pm, pyt...@bdurham.com wrote:
>> Azakai/Gerry,
>>
>> > Errors when using Firefox 3.6.3:
>>
>> I'm running Firefox 3.6.1.3 and the interpreter is running fine.
I guess that meant FIrefox 3.6.13 (without the last dot), the current
stable version.
I'm using Firefox 3.6.13 (
I tried printing sys.path and here is the output:
['', '/usr/local/lib/python27.zip', '/usr/local/lib/python2.7/',
'/usr/local/lib/python2.7/plat-linux2',
'/usr/local/lib/python2.7/lib-tk', '/usr/local/lib/python2.7/lib-old',
'/usr/local/lib/lib-dynload']
Now, those paths must be on your machine
On Jan 2, 4:58 pm, pyt...@bdurham.com wrote:
> Azakai/Gerry,
>
> > Errors when using Firefox 3.6.3:
>
> I'm running Firefox 3.6.1.3 and the interpreter is running fine.
>
> I'm on Windows 7 Pro 64-bit.
>
> Malcolm
Thanks for the info. To be honest I'm surprised it works there. I
guess the error Ge
On Jan 2, 3:14 pm, Gerry Reno wrote:
> On 01/02/2011 05:53 PM, azakai wrote:
>
> > On Jan 2, 1:01 pm, Gerry Reno wrote:
>
> >> Ok, visiting this page:
>
> >>http://syntensity.com/static/python.html
>
> >> I do not see anything happen when I click 'execute' button. I'm running
> >> Firefox 3.6.3.
Azakai/Gerry,
> Errors when using Firefox 3.6.3:
I'm running Firefox 3.6.1.3 and the interpreter is running fine.
I'm on Windows 7 Pro 64-bit.
Malcolm
--
http://mail.python.org/mailman/listinfo/python-list
On 01/02/2011 05:53 PM, azakai wrote:
> On Jan 2, 1:01 pm, Gerry Reno wrote:
>
>> Ok, visiting this page:
>>
>> http://syntensity.com/static/python.html
>>
>> I do not see anything happen when I click 'execute' button. I'm running
>> Firefox 3.6.3.
>>
>>
> I've only tested with Firefox 4.
running
in a sandboxed manner.
>
> And what is the build toolchain that you need if you want to convert
> your modules to be importable with this "CPython on the Web"?
>
Note that loading modules isn't implemented yet, but I'll work on it
soon.
The toolchain will
7;,
[2*x for x in range(5)][:4]
=
So what is happening is that the whole Python interpreter has been
converted to Javascript and is running the browser, is that correct?
Ok, but the usual browser 'sandbox' constraints would still apply would
they not?
And what is the build toolchain that you need if you want to convert
your modules to be importable with this "CPython on the Web"?
Regards,
Gerry
--
http://mail.python.org/mailman/listinfo/python-list
is exactly the same with CPython normally and CPython on the web
in this demo. So actual Python code is not translated into JavaScript
(which is the approach pyjamas takes), instead the entire interpreter
is.
>
> If yes, then how can run a Python code that access a database or one that
> c
On Jan 2, 5:42 am, pyt...@bdurham.com wrote:
>
> 1. Are there plans to support IE 7 or 8?
I think it might run slowly there, but otherwise sure, it should run -
the code is intended to be valid JavaScript (if it isn't, that's a
bug). Currently though a minor issue prevents it from running on IE, I
From: "Katie T"
Subject: Re: CPython on the Web
> On Sun, Jan 2, 2011 at 7:26 AM, azakai wrote:
>> The idea is that by compiling CPython itself, all the features of the
>> language are immediately present, and at the latest version, unlike
>> writing a new impl
Azakai,
WOW! That's incredible!! Thank you for sharing your work with the
community.
1. Are there plans to support IE 7 or 8?
2. I'm not sure what you mean by non-static modules? Can we use modules
such as json, pickle/cPickle, StringIO/cStringIO?
3. Is there a virtual file system we can take a
On Sun, Jan 2, 2011 at 7:26 AM, azakai wrote:
> The idea is that by compiling CPython itself, all the features of the
> language are immediately present, and at the latest version, unlike
> writing a new implementation which takes time and tends to lag behind.
> As to why run it on the web, there
Hello, I hope this will be interesting to people here: CPython running
on the web,
http://syntensity.com/static/python.html
That isn't a new implementation of Python, but rather CPython 2.7.1,
compiled from C to JavaScript using Emscripten and LLVM. For more
details on the conversion process, see
31 matches
Mail list logo