Re: Serious development
- Posted by Al Getz <xaxo at AOL.COM> Nov 23, 2000
- 363 views
The most important question is what are you developing? If you need high speed or need to do any large picture filtering then you wont want to use Euphoria unless you can isolate these areas and code them in another language like C, and then link them to a Euphoria coded GUI. I'm considering coding a chess program like this because the chess engine needs to be very very fast, while the GUI operates at less then human reflex speed, hence i assign the GUI tasks to Euphoria and the engine to C++ and/or assembler. Another area to explore is coding in Euphoria with the advanced knowledge that you will translate (by hand) the resulting code into C or C++. If you stick to certain styles of programming its a breeze to convert all the statements to C and compile. The nice thing is you can fully test the program in Euphoria before converting to C, thus making sure all the ideas work ok, then convert to C line by line. It doesnt really take that long. Using a set programming style and you have almost a line by line correspondence between the two languages. I wouldnt be surprised if you could write your own mini translator to handle a controlled style of programming. I started one of my own quite a while back. I converted a very complex program to C++ line by line and it made the overall task simpler. In that particular program i used single dimensional sequences of fixed length to make converting to C++ arrays very simple. Variable length arrays arent always needed anyway. Good luck with it, and let us know how its comming along. --Al