Re: Euphoria and Xwindows
- Posted by Irv Mullins <irv at ELLIJAY.COM> Jul 26, 1999
- 423 views
It was a dark and stormy night when Robert Craig wrote: > David Cuny writes: > > So Robert, is there any possibility of getting a > > version of GraphApp embedded into Euphoria, > > or is there a problem with licensing/you'd prefer > > not to tie Euphoria to another product/some other > > compelling reason? > > I tried out Irv's example programs and GraphApp wrapper, > and I was impressed with how much he's been able to do > in a short time, and with the simplicity of his example code. > I used Red Hat 5.2. > > I don't plan to "embed" GraphApp into Euphoria. > Irv seems to be doing fine without my doing that. > > My basic philosophy is to only put stuff into exu (ex.exe, exw.exe) > that really *has* to be there. I'm always happier to implement > a library routine in Euphoria than in C. For example, > sort(), display_image(), read_bitmap() etc. could have > been done in C inside the interpreter to gain a bit of > performance, but I'd rather have library source code > that is open, and easily modified by users or myself. > It also saves memory for programs that don't need the > library routine. I tend to agree. Sooner or later, someone will implement SVGALIB calls in order to do high speed graphics. And, with all the different Xwindows libraries, someone will find a better one than GraphApp.. In either case, it wouldn't help them if Euphoria came bundled with a lot of (what would be to them) useless functions. Rob: It sure would help if there were a debugging version of Eu for Linux (Hint, hint) I am getting a lot of 300 line errors, since the GraphApp file is around 1300 lines. Most of the problems can be traced out, but there are some that result in a "seqmentation fault" and I have no idea what that even means, much less how to fix it. Regards, Irv