Re: Euphoria questions
- Posted by Irv Mullins <irv at ELLIJAY.COM> Jan 06, 1999
- 460 views
On Wed, 6 Jan 1999 07:19:20 +0700, Hendy Irawan <ceefour at INDO.NET.ID> wrote: >Dear Mr. Euphoria Programming for MS-DOS, not forgetting a reply for your >letter... > >> Most. Especially in programs of reasonable complexity - business >> programs, for example. >Really? Wouldn't you think the program would be unreasonably large??? >I've seen a bound Eu program and it's way big because the source code >is inside. Yes, it's shrouded. But with any file viewer I can see the >source code clearly, giving me up the idea about the program flow, >etc. Really? Let me send you a shrouded program, and you tell me what it does. No, the program isn't big because of the source code. Short Euphoria programs are about 200,000 bytes because the entire run-time code is included. Big Euphoria programs are only slightly larger. Check the programs on RDS's site. Or, better, write a large program in C++, Pascal, and Euphoria. Compile the C and Pascal. Then tell use how large the files are. >Encrpyting? Come on, Eu doesn't use PGP, one decryptor and any Eu >program vulnerable. >I think this is different to Java where you can't see the source at >all. Almost like machine code. Even VB (hey, it's interpreted, too!) That's a joke, right? >> Exactly. That's why Euphoria is faster when writing and debugging code. >slower run-time. Most (99%) of me wants faster run-time. Games, eh? >I wonder if Eu can be duo, both compiled and interpreted. (!!!!) Sure, but there would be little to gain. >>>BTW why did RDS choose interpreted thing? >> Good question. >So? No one? > >> Why do you need pointers? What hacks? Please give some examples. >You know.... the standard stuff we really got used to in C++.... >Mainly for code optimizing anyway. > Well, where is the stuff I "really got used to" - PERFORM 1000-PROCEDURE-START THRU 1000-PROCEDURE-END The reason you need pointers in C is to make up for oversights in the original language. These workarounds make coding difficult, and add lots of potential errors. >BTW does using "machine code" actually make Eu programs faster? Doing >it means there still be interpreter which read the "machine code" then >interpret then do it. One instruction could be numerous instructions >with that! I think you need a better understanding of computers. What you wrote makes no sense. >Why RDS decided not to implement OOP? Did they think it's just >unnecessary or...... insufficient resources? More likely insufficient interest. OOP just complicates many programs. >From time to time.... we're going to expect many lang enhancements. >Like Pascal which had evolved (caused by Borland's hands) to the great >ObjectPascal now used by Delphi, etc. Borland has been working on TP since 1982. I think Euphoria is now more functional than TP 5.0, which was released in 1988. >Who would do and approve such changes in Eu? RDS? Rob. And I think we have a better chance of getting Rob to change Euphoria than we have to get Bill Gates to change VB! >> What type mismatch? You can define your own types in Euphoria, to make >> them as strict as you want. >Hmm... I never used any custom types in Eu... > Try it sometime. Irv