|
|
|
|
Josh @ Dreamland
|
|
Reply #4 Posted on: November 22, 2009, 10:48:58 am |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
As opposed to compiling it at, say, compile time. It'd probably be too much effort to re-reference that stuff at load time if he precompiled it. ...It'd still be pretty easy, though.
Extensible- The GML frontend is a thin layer over C++. Not to mention the project is open source. Anyone can extend ENIGMA's functionality who knows even a little C++, and with the new parser, you can include C++ headers.
Non-Interpreted- Indeed a play on Game Maker. ENIGMA doesn't have a bloaty format with a slow interpreter, it passes the code to a very capable compiler with a long-developed optimizer.
Game Maker- That program that I'm considering disowning.
Augmentation- To augment is to change, specifically to add to, or intensify. ENIGMA adds C++'s syntax goodies to the mix, such as ++ and, well, typing, templates, you name it. Not to mention the possibility mentioned in E of including any C++ library.
|
|
|
Logged
|
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble "I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
|
|
|
|
|
Josh @ Dreamland
|
|
Reply #7 Posted on: November 22, 2009, 09:58:41 pm |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
For open source, C++ DLLs, they can just be included, yes.
I was thinking about asking Ism to incorporate a DLL resource (I believe GM5 had something similar to that, but I was too young to use it at the time.) Basically, the resource would do implicitly what the code does, but at compile time to (potentially) save speed later. I'm unsure of the actual speed difference caused by conditionally pushing things onto the stack, as is necessary in making DLL calls of undefined argument counts of variable-sized objects. (Namely double (8 byte) and char* (4 byte) ). Considering the fact that the calls could be hard coded, I imagine you could see a speed difference of almost 2x, but that's just for call. Extensive functions you call would render the difference in call time insignificant.
Such a resource, therefore, could save on number of lines of code in the case that a DLL's source is unavailable, and can potentially save on speed. So you may see that come along in the not-so-distant future.
|
|
« Last Edit: November 22, 2009, 10:01:26 pm by Josh @ Dreamland »
|
Logged
|
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble "I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
|
|
|
|