Re: Prototype-Based Programming
- Posted by jimcbrown (admin) Sep 26, 2013
- 2242 views
But how to glue DLLs writed in Euphoria? Get and send parameters by win32lib?
No, there are much easier ways. Read the documentation.
Euphoria is pure (poor) procedural language.
Actually, this is less true of 4.0 than of earlier versions. We have a couple of features that are not exactly purely procedural now.
I started the program in Euphoria, it was very simple, but now simplicity prevent me to continue.
Why? Nothing in Euphoria prevents complex programs from being developed.
Erlang based on unique paradigm, where each part of program is independent process (with it's own memory, data flow, garbage collector). Processes can send messages similar to e-mail. Processes receive the messages sent to them (as well as broadcast messages). What will they do with them - it depends on the process, on nothing else. This allows you to do these tricks, as an update of the program during its operation.
Yes, I do this all the time with Euphoria.
So you can reinstall the operating system, and then proceed to answer your interlocutors by e-mail. These will look like you were late with a response, but communication is not interrupted.
Or you could reinstall a more conventional/traditional operating system without these features, then proceed to answer your e-mail. E-mail is not meant to be real-time, there's no need to use any of Erlang's tricks or novel features to do what you are describing here.
What is Euphoria in such sense? I think it is somewhere between modern Pascal and Modula-2. Maybe I'm wrong, and it is placed below. But not above, sure.
You lack a sufficient grasp of the language to make that determination, based on your inaccurate explanations on the uses and pitfalls of Euphoria thus far. Even if you did however, you haven't adaquately explained why this is the case or what you'd want to do about it.