Re: Fastest pure Euphoria CPU

new topic     » goto parent     » topic index » view thread      » older message » newer message

I also submitted a preprocessor entry, but with a different trick in mind.

The preprocessor was http://scm.openeuphoria.org/hg/contest/file/default/2010-12-15-cpu/entries/jimcbrown/cpu-pp-fun.ex but the key was to run http://scm.openeuphoria.org/hg/contest/file/default/2010-12-15-cpu/entries/jimcbrown/cpu-myownpp-fun.ex

Like this

eui -p ex:cpu-pp-fun.ex cpu-myownpp-fun.ex prog1.txt 

Here, the preprocessor (pp-fun) made the necessary modifications to make the main program (myownpp-fun) work. There are other tricks that could have been done (such as sneakily invoking the translator and then writing out a short euphoria program to run the translated executable, or look for slower parts of Euphoria code and replacing them with machine code calls).

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu