Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #105279 > unrolled thread

Experimenting with PyPyJS

Started bySalvatore DI DIO <salvatore.didio@gmail.com>
First post2016-03-19 08:28 -0700
Last post2016-03-19 10:34 -0700
Articles 6 — 2 participants

Back to article view | Back to comp.lang.python


Contents

  Experimenting with PyPyJS Salvatore DI DIO <salvatore.didio@gmail.com> - 2016-03-19 08:28 -0700
    Re: Experimenting with PyPyJS Salvatore DI DIO <salvatore.didio@gmail.com> - 2016-03-19 08:32 -0700
      Re: Experimenting with PyPyJS Salvatore DI DIO <salvatore.didio@gmail.com> - 2016-03-19 10:06 -0700
        Re: Experimenting with PyPyJS Terry Reedy <tjreedy@udel.edu> - 2016-03-19 14:52 -0400
          Re: Experimenting with PyPyJS Salvatore DI DIO <salvatore.didio@gmail.com> - 2016-03-19 17:27 -0700
      Re: Experimenting with PyPyJS Salvatore DI DIO <salvatore.didio@gmail.com> - 2016-03-19 10:34 -0700

#105279 — Experimenting with PyPyJS

FromSalvatore DI DIO <salvatore.didio@gmail.com>
Date2016-03-19 08:28 -0700
SubjectExperimenting with PyPyJS
Message-ID<445e9458-97d1-4ed7-8c7f-071fca869289@googlegroups.com>
Hy all,

I am experimenting PyPyJS and found it not so bad at all.
The virtual machine loads on a few seconds (using firefox).

It s really nice for  learning Python, you have all the standard libraries,
and traceback on errors. I don't have to choose anymore with all transpilers around

You can try it here, but please don't tell it s too long to load the VM.
After all, don't you wait when you start a desktop application, or an heavy game online ?

Just try it and tell your feeling

Regards

http://salvatore.diodev.fr/pypybox/

[toc] | [next] | [standalone]


#105280

FromSalvatore DI DIO <salvatore.didio@gmail.com>
Date2016-03-19 08:32 -0700
Message-ID<c36df254-51e5-4f2e-8cbe-bd19165195c8@googlegroups.com>
In reply to#105279
Le samedi 19 mars 2016 16:28:36 UTC+1, Salvatore DI DIO a écrit :
> Hy all,
> 
> I am experimenting PyPyJS and found it not so bad at all.
> The virtual machine loads on a few seconds (using firefox).
> 
> It s really nice for  learning Python, you have all the standard libraries,
> and traceback on errors. I don't have to choose anymore with all transpilers around
> 
> You can try it here, but please don't tell it s too long to load the VM.
> After all, don't you wait when you start a desktop application, or an heavy game online ?
> 
> Just try it and tell your feeling
> 
> Regards
> 
> http://salvatore.diodev.fr/pypybox/

Use Firefox...

[toc] | [prev] | [next] | [standalone]


#105283

FromSalvatore DI DIO <salvatore.didio@gmail.com>
Date2016-03-19 10:06 -0700
Message-ID<fcf80485-dbf2-4897-8f75-3b1a22c52a9a@googlegroups.com>
In reply to#105280
Le samedi 19 mars 2016 18:00:05 UTC+1, Vincent Vande Vyvre a écrit :
> Le 19/03/2016 16:32, Salvatore DI DIO a écrit :
> > Le samedi 19 mars 2016 16:28:36 UTC+1, Salvatore DI DIO a écrit :
> >> Hy all,
> >>
> >> I am experimenting PyPyJS and found it not so bad at all.
> >> The virtual machine loads on a few seconds (using firefox).
> >>
> >> It s really nice for  learning Python, you have all the standard libraries,
> >> and traceback on errors. I don't have to choose anymore with all transpilers around
> >>
> >> You can try it here, but please don't tell it s too long to load the VM.
> >> After all, don't you wait when you start a desktop application, or an heavy game online ?
> >>
> >> Just try it and tell your feeling
> >>
> >> Regards
> >>
> >> http://salvatore.diodev.fr/pypybox/
> > Use Firefox...
> 
> That's look fine but:
> 
>    PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
>   4917 vincent   20   0 1081m 305m  52m R *50.3* 15.4   5:23.75 firefox
>   1094 root      20   0 48152  15m 7180 S *35.0*  0.8   4:43.28 Xorg
>   5421 vincent   20   0  162m  14m  10m R  2.0  0.7   0:02.49 mate-terminal
>      1 root      20   0  3660 1984  .......
> 
> 85.3 % (50.3 + 35) CPU usage just for a rotating square it's too much cost.
> 
> Vincent

Thank you for testing :-)
Strange on Windows I have an average 6% CPU with Firefox 45.0.1

[toc] | [prev] | [next] | [standalone]


#105286

FromTerry Reedy <tjreedy@udel.edu>
Date2016-03-19 14:52 -0400
Message-ID<mailman.399.1458413542.12893.python-list@python.org>
In reply to#105283
On 3/19/2016 1:06 PM, Salvatore DI DIO wrote:
> Le samedi 19 mars 2016 18:00:05 UTC+1, Vincent Vande Vyvre a écrit :
>> Le 19/03/2016 16:32, Salvatore DI DIO a écrit :
>>> Le samedi 19 mars 2016 16:28:36 UTC+1, Salvatore DI DIO a écrit :
>>>> Hy all,
>>>>
>>>> I am experimenting PyPyJS and found it not so bad at all.
>>>> The virtual machine loads on a few seconds (using firefox).
>>>>
>>>> It s really nice for  learning Python, you have all the standard libraries,
>>>> and traceback on errors. I don't have to choose anymore with all transpilers around
>>>>
>>>> You can try it here, but please don't tell it s too long to load the VM.
>>>> After all, don't you wait when you start a desktop application, or an heavy game online ?
>>>>
>>>> Just try it and tell your feeling
>>>>
>>>> Regards
>>>>
>>>> http://salvatore.diodev.fr/pypybox/
>>> Use Firefox...
>>
>> That's look fine but:
>>
>>     PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
>>    4917 vincent   20   0 1081m 305m  52m R *50.3* 15.4   5:23.75 firefox
>>    1094 root      20   0 48152  15m 7180 S *35.0*  0.8   4:43.28 Xorg
>>    5421 vincent   20   0  162m  14m  10m R  2.0  0.7   0:02.49 mate-terminal
>>       1 root      20   0  3660 1984  .......
>>
>> 85.3 % (50.3 + 35) CPU usage just for a rotating square it's too much cost.
>>
>> Vincent
>
> Thank you for testing :-)
> Strange on Windows I have an average 6% CPU with Firefox 45.0.1

Win10, same FF, 6 core pentium, 1% +- CPU, 110 MB memory increase.


-- 
Terry Jan Reedy

[toc] | [prev] | [next] | [standalone]


#105291

FromSalvatore DI DIO <salvatore.didio@gmail.com>
Date2016-03-19 17:27 -0700
Message-ID<b6088af2-c86b-4c28-b88c-4e124cbd7069@googlegroups.com>
In reply to#105286
Le samedi 19 mars 2016 19:52:45 UTC+1, Terry Reedy a écrit :
> On 3/19/2016 1:06 PM, Salvatore DI DIO wrote:
> > Le samedi 19 mars 2016 18:00:05 UTC+1, Vincent Vande Vyvre a écrit :
> >> Le 19/03/2016 16:32, Salvatore DI DIO a écrit :
> >>> Le samedi 19 mars 2016 16:28:36 UTC+1, Salvatore DI DIO a écrit :
> >>>> Hy all,
> >>>>
> >>>> I am experimenting PyPyJS and found it not so bad at all.
> >>>> The virtual machine loads on a few seconds (using firefox).
> >>>>
> >>>> It s really nice for  learning Python, you have all the standard libraries,
> >>>> and traceback on errors. I don't have to choose anymore with all transpilers around
> >>>>
> >>>> You can try it here, but please don't tell it s too long to load the VM.
> >>>> After all, don't you wait when you start a desktop application, or an heavy game online ?
> >>>>
> >>>> Just try it and tell your feeling
> >>>>
> >>>> Regards
> >>>>
> >>>> http://salvatore.diodev.fr/pypybox/
> >>> Use Firefox...
> >>
> >> That's look fine but:
> >>
> >>     PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
> >>    4917 vincent   20   0 1081m 305m  52m R *50.3* 15.4   5:23.75 firefox
> >>    1094 root      20   0 48152  15m 7180 S *35.0*  0.8   4:43.28 Xorg
> >>    5421 vincent   20   0  162m  14m  10m R  2.0  0.7   0:02.49 mate-terminal
> >>       1 root      20   0  3660 1984  .......
> >>
> >> 85.3 % (50.3 + 35) CPU usage just for a rotating square it's too much cost.
> >>
> >> Vincent
> >
> > Thank you for testing :-)
> > Strange on Windows I have an average 6% CPU with Firefox 45.0.1
> 
> Win10, same FF, 6 core pentium, 1% +- CPU, 110 MB memory increase.
> 
> 
> -- 
> Terry Jan Reedy

Thanks Terry

[toc] | [prev] | [next] | [standalone]


#105284

FromSalvatore DI DIO <salvatore.didio@gmail.com>
Date2016-03-19 10:34 -0700
Message-ID<ea07fa73-f73d-441b-a446-89421732fcfa@googlegroups.com>
In reply to#105280
Le samedi 19 mars 2016 18:00:05 UTC+1, Vincent Vande Vyvre a écrit :
> Le 19/03/2016 16:32, Salvatore DI DIO a écrit :
> > Le samedi 19 mars 2016 16:28:36 UTC+1, Salvatore DI DIO a écrit :
> >> Hy all,
> >>
> >> I am experimenting PyPyJS and found it not so bad at all.
> >> The virtual machine loads on a few seconds (using firefox).
> >>
> >> It s really nice for  learning Python, you have all the standard libraries,
> >> and traceback on errors. I don't have to choose anymore with all transpilers around
> >>
> >> You can try it here, but please don't tell it s too long to load the VM.
> >> After all, don't you wait when you start a desktop application, or an heavy game online ?
> >>
> >> Just try it and tell your feeling
> >>
> >> Regards
> >>
> >> http://salvatore.diodev.fr/pypybox/
> > Use Firefox...
> 
> That's look fine but:
> 
>    PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
>   4917 vincent   20   0 1081m 305m  52m R *50.3* 15.4   5:23.75 firefox
>   1094 root      20   0 48152  15m 7180 S *35.0*  0.8   4:43.28 Xorg
>   5421 vincent   20   0  162m  14m  10m R  2.0  0.7   0:02.49 mate-terminal
>      1 root      20   0  3660 1984  .......
> 
> 85.3 % (50.3 + 35) CPU usage just for a rotating square it's too much cost.
> 
> Vincent

Here is a screenshot

http://salvatore.diodev.fr/pypybox/static/images/pypyjs.png

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web