Re: [OT] What can Nuitka do?

2014-06-30 Thread Michael Torrie
I highly recommend the talk by Daniel Stone who used to be a core X.org developer. He explains it quite well how X is used currently, and why it has problems and why they are considered so hard to fix that Wayland (and Mir) was created. https://www.youtube.com/watch?v=RIctzAQOe44 One interesting

Re: [OT] What can Nuitka do?

2014-06-30 Thread Michael Torrie
On 06/30/2014 07:36 AM, Chris Angelico wrote: > Hmm. I'm not sure that it's necessarily that bad; I've done 3G-based > X11 forwarding fairly successfully on occasion. Yes, it's potentially > quite slow, but it certainly works - I've used SciTE, for instance, > and I've used some GTK2 apps without p

Re: [OT] What can Nuitka do?

2014-06-30 Thread Chris Angelico
On Mon, Jun 30, 2014 at 11:10 PM, Michael Torrie wrote: > Only the most primitive X11 apps are at all fast over network > forwarding. If the app uses any modern toolkit, then it's basically > just sending a bunch of bitmaps over the wire (changes), which would be > fine, but X11 involves a lot of

Re: [OT] What can Nuitka do?

2014-06-30 Thread Michael Torrie
On 06/28/2014 09:16 AM, Chris Angelico wrote: >> I remember approx. 10 years ago a neighboring dept. at my work effectively >> killed our 10 MB/s Ethernet segment with such traffic (due to a >> misconfigured switch/router?). Running an ethernet analyzer showed a single >> X11 host-server session oc

Re: What can Nuitka do?

2014-06-28 Thread Roy Smith
In article , "Gisle Vanem" wrote: > "Chris Angelico" wrote: > > > The only other time I've been waiting for X display was when I was > > mobile, on a 3G connection, and using X11 forwarding on an SSH link > > back to my home LAN. > > Doing X11 calls over a network could really be a nuisance

Re: What can Nuitka do?

2014-06-28 Thread Chris Angelico
On Sat, Jun 28, 2014 at 8:39 PM, Gisle Vanem wrote: > "Chris Angelico" wrote: > >> The only other time I've been waiting for X display was when I was >> mobile, on a 3G connection, and using X11 forwarding on an SSH link >> back to my home LAN. > > > Doing X11 calls over a network could really be

Re: What can Nuitka do?

2014-06-28 Thread Gisle Vanem
"Chris Angelico" wrote: The only other time I've been waiting for X display was when I was mobile, on a 3G connection, and using X11 forwarding on an SSH link back to my home LAN. Doing X11 calls over a network could really be a nuisance for others. And an archaic design IMHO. I remember

Fwd: What can Nuitka do?

2014-06-28 Thread Chris “Kwpolska” Warrick
On Sat, Jun 28, 2014 at 7:40 AM, CM wrote: > I'm confused as to why it's not just a .py file. On Linux, the `nuitka` script would be run. Things in $PATH tend not to have an extension, and you don’t need one to run Python. (you can’t import files that don’t end in .py, though) > The nuitka.bat

Re: What can Nuitka do?

2014-06-27 Thread Chris Angelico
On Sat, Jun 28, 2014 at 3:40 PM, CM wrote: > The nuitka file starts with > > #!C:\Python27_32\python.exe > > and is a Python script. It says in a docstring, > > > This is the main program of Nuitka, it > checks the options and then translates > one or more modules to a C++ source code > u

Re: What can Nuitka do?

2014-06-27 Thread CM
> Just add Scripts to path (not Scripts/nuitka), > and it should run nuitka.bat. I would guess that > the one without an extension is a Unix shell script > of some sort; have a look at it, see if it's a text > file that begins "#!/bin/sh" or similar. Most likely > the file sizes of nuitka an

Re: What can Nuitka do?

2014-06-27 Thread Chris Angelico
On Sat, Jun 28, 2014 at 2:45 PM, CM wrote: > On Saturday, June 28, 2014 12:23:03 AM UTC-4, > Stefan Behnel wrote: > >> There should be a folder Python27/Scripts that >> contains the executable programs that Python packages >> install. > > Thank you, yes, it's there. But there are two > files: nu

Re: What can Nuitka do?

2014-06-27 Thread Chris Angelico
On Sat, Jun 28, 2014 at 2:14 PM, Michael Torrie wrote: > On 06/27/2014 09:44 PM, CM wrote: >>> Additionally, in most GUI apps (although not all), >>> the main bottleneck is usually not the programming >>> language but the user. GUI apps tend to spend >>> 95% of their time idling, waiting for the u

Re: What can Nuitka do?

2014-06-27 Thread CM
On Saturday, June 28, 2014 12:23:03 AM UTC-4, Stefan Behnel wrote: > There should be a folder Python27/Scripts that > contains the executable programs that Python packages > install. Thank you, yes, it's there. But there are two files: nuitka (I don't see an extension and don't know the file

Re: What can Nuitka do?

2014-06-27 Thread Stefan Behnel
CM, 28.06.2014 05:57: >> Now type >> >> nuitka --recurse-all something_or_other.py >> >> and hit Enter. What happens? > > I did that and the message is: > >'nuitka' is not recognized as an internal >or external command, operable program or batch file. > > which makes sense becau

Re: What can Nuitka do?

2014-06-27 Thread Rustom Mody
On Saturday, June 28, 2014 9:27:02 AM UTC+5:30, CM wrote: > > I'm not a Windows user, so I can't give detailed > > step-by-step "mouse over this menu, click this > > button" instructions, but you need to open a > > command line terminal. (command.com or cmd.exe, > I'm not *quite* that at sea!

Re: What can Nuitka do?

2014-06-27 Thread Michael Torrie
On 06/27/2014 09:44 PM, CM wrote: >> Additionally, in most GUI apps (although not all), >> the main bottleneck is usually not the programming >> language but the user. GUI apps tend to spend >> 95% of their time idling, waiting for the user. Its >> been a *long* time since the GUI framework its

Re: What can Nuitka do?

2014-06-27 Thread CM
> I'm not a Windows user, so I can't give detailed > step-by-step "mouse over this menu, click this > button" instructions, but you need to open a > command line terminal. (command.com or cmd.exe, I'm not *quite* that at sea! :D Close, but I am used to using the command line in Windows.

Re: What can Nuitka do?

2014-06-27 Thread CM
On Friday, June 27, 2014 11:09:11 PM UTC-4, Steven D'Aprano wrote: > Having said that, I think that the OP's question > is probably misguided. Thanks, Steven, for the input. It very well might be. I'll give a little more information. > He or she gives the impression of expecting PyPy > o

Re: What can Nuitka do?

2014-06-27 Thread Rustom Mody
On Saturday, June 28, 2014 8:58:04 AM UTC+5:30, Michael Torrie wrote: > On 06/27/2014 09:06 PM, CM wrote: > > On Friday, June 27, 2014 7:44:39 PM UTC-4, Paul Sokolovsky wrote: > >> Yes, you can. So, please try that, and report > >> how that went. We're eager to know how that would > >> go very mu

Re: What can Nuitka do?

2014-06-27 Thread Michael Torrie
On 06/27/2014 09:06 PM, CM wrote: > On Friday, June 27, 2014 7:44:39 PM UTC-4, Paul Sokolovsky wrote: >> Yes, you can. So, please try that, and report >> how that went. We're eager to know how that would >> go very much. But unlike you, we don't have need >> to transform wxPython GUI application

Re: What can Nuitka do?

2014-06-27 Thread Steven D'Aprano
On Fri, 27 Jun 2014 20:06:36 -0700, CM wrote: > On Friday, June 27, 2014 7:44:39 PM UTC-4, Paul Sokolovsky wrote: >> Yes, you can. So, please try that, and report how that went. We're >> eager to know how that would go very much. But unlike you, we don't >> have need to transform wxPython GUI appl

Re: What can Nuitka do?

2014-06-27 Thread CM
On Friday, June 27, 2014 7:44:39 PM UTC-4, Paul Sokolovsky wrote: > Yes, you can. So, please try that, and report > how that went. We're eager to know how that would > go very much. But unlike you, we don't have need > to transform wxPython GUI application in Python into > an executable. So, you

Re: What can Nuitka do?

2014-06-27 Thread Steven D'Aprano
On Fri, 27 Jun 2014 19:10:25 -0700, Rustom Mody wrote: > If no one speaks up (with hard specific data!) for the technologies you > are considering (eg PyPy, Nuitka etc) then I would conclude that they > are not yet ready for prime-time/ your use-case A silly conclusion. The OP's use-case is quite

Re: What can Nuitka do?

2014-06-27 Thread Rustom Mody
On Saturday, June 28, 2014 5:14:39 AM UTC+5:30, Paul Sokolovsky wrote: > Hello, > On Fri, 27 Jun 2014 16:25:02 -0700 (PDT) > CM wrote: > > (Trying again, simpler and cleaner post) > > Can I use Nuitka to transform a wxPython > > GUI application in Python that uses several > > 3rd party modules i

Re: What can Nuitka do?

2014-06-27 Thread Paul Sokolovsky
Hello, On Fri, 27 Jun 2014 16:25:02 -0700 (PDT) CM wrote: > (Trying again, simpler and cleaner post) > > Can I use Nuitka to transform a wxPython > GUI application in Python that uses several > 3rd party modules into a small and faster > compiled-to-C executable? Yes, you can. So, please try

What can Nuitka do?

2014-06-27 Thread CM
(Trying again, simpler and cleaner post) Can I use Nuitka to transform a wxPython GUI application in Python that uses several 3rd party modules into a small and faster compiled-to-C executable? -- https://mail.python.org/mailman/listinfo/python-list