Jesus4Lyf
Good Idea™
- Reaction score
- 397
Don't get too excited, this is too fragile for general use.
This is a timer system that executes JASS code created dynamically as it runs. Currently it is similar to TT. It is theoretically the fastest timer system ever written, and I have it running on my computer successfully. However, even declaring globals or adding functions in some places can utterly break this timer system, replacing it by a fatal error.
What I'd like to know is... Does this even work on anyone elses computer except mine?
Please open the map, and WITHOUT OPENING THE CODE OR SAVING THE MAP, click test map and try it. It is critical that you don't recompile it for the first test. After that, you can check out the code and save it and see if it still works (if it ever did). Please report your findings here. Don't be suprised by fatal errors, they're very likely.
I'd like to hand out a big thankyou to TheDamien for finding that you can actually execute bytecode out of arrays. I've been studying bytecode ever since to see if this is actually at all feasible.
I'm happy to explain things further. This thread can become just as interesting as people are curious.
This is a timer system that executes JASS code created dynamically as it runs. Currently it is similar to TT. It is theoretically the fastest timer system ever written, and I have it running on my computer successfully. However, even declaring globals or adding functions in some places can utterly break this timer system, replacing it by a fatal error.
What I'd like to know is... Does this even work on anyone elses computer except mine?
Please open the map, and WITHOUT OPENING THE CODE OR SAVING THE MAP, click test map and try it. It is critical that you don't recompile it for the first test. After that, you can check out the code and save it and see if it still works (if it ever did). Please report your findings here. Don't be suprised by fatal errors, they're very likely.
I'd like to hand out a big thankyou to TheDamien for finding that you can actually execute bytecode out of arrays. I've been studying bytecode ever since to see if this is actually at all feasible.
I'm happy to explain things further. This thread can become just as interesting as people are curious.