Re: Py Programming Language
- Posted by "Cuny, David at DSS" <David.Cuny at DSS.CA.GOV> Jan 25, 2001
- 592 views
Apologies if this appears more than once; my prior response seems to have vanished into the ether... Eddy Van Esch wrote: > Can Py create stand-alone executables even > with the non-registered version of Euphoria? Yes. There are even pre-compiled versions of Py available. > Can I write windows GUI-programs with Py? Yes, Py includes PI (Py Include), which will create wrappers so that Euphoria libraries can be compiled into the Py language. Wrapping something like Win32Lib is a bit tricky, since you have to replace the call_proc() and call_func() routines int Win32Lib with calls to Py instead, but it's not that much more work. The end of the Py documentation has a discussion of how that can be done with a library which, unfortunately, is no longer include with Py. I'll try to get a Win32 version released soon, which includes a patched version of Win32Lib. I wouldn't recommend running te=he Win32 version of Py, however. The console I/O is frustratingly slow. > Is Py much slower than Euphoria...?? Relative to Euphoria (which it is written in), Py is slow. That doesn't mean that Py is slow, as much as it means that Euphoria is fast! The compiled version of Py is considerably faster than the interpreted version. Unfortunately, there seems to be a problem with get_key() that causes it to lock up intermittantly. I'm looking forward to the next release of EC. -- David Cuny