Re: Multi-Platform Support
Bernie Ryan wrote:
> Please explain to me how a windows type framework for
> C++ fits into using Euphoria.
I'm not sure I understand the question. Do you mean:
[How do you convert a C++ framework to Euphoria?]
This is done by creating a wrapper function that serves as an interface
between Euphoria and wxWindows. So your Euphoria code gets converted
internally into a call to wxWindows code.
As I mentioned earlier, there are a number of languages (CLIPS, Python,
Scheme, XLisp and Perl) - none of which are C++ - that allow the wxWindows
function to be called from within the language. Since most of these
applications are 'open source', it might even be possible to borrow large
chunks of pre-existing wrapper code.
[Why Not Write It In Native Euphoria?]
Because it's a never-ending process, and a lot of work to boot. Why
re-invent the wheel?
[C++ Is Impure]
[I Hate Anything To Do With C/C++]
[Linking Euphoria A C++ Framework Will Turn Euphoria into C++]
I think these arguments can be dismissed out of hand. Using wxWindows as the
GUI didn't fundamentally change the nature of any of the other programming
languages, and it won't change Euphoria, either.
[It'll Bloat Euphoria]
Possibly. But from the demos I've looked at, it shouldn't. And it doesn't
have seem to have a lot of hidden costs (VBRUN, DLLs, etc.) that are
associated with some languages.
Besides, I'm sure that if Robert adopted wxWindows, there would still be a
window-free version for people.
[Why Do I Want To Add Windows To Euphoria?]
Perhaps you don't. But adding windows support would certainly help with the
applications I'd like to write. And it would certainly help Euphoria gain
wider acceptance, and prevent it from dying an early death as the last of
the Great DOS Programming Languages.
Did that answer your question(s)?
-- David Cuny
|
Not Categorized, Please Help
|
|