Open arakov opened 7 years ago
I went to do some comparative analysis of the BrainF * ck interpreter and when trying to run 2 banchmark scripts I got exceptions ... I tried to run changing the variable "const int Solution" but it didn't work
Which version did you use? I recommend the nighty build - https://ci.appveyor.com/project/arakov/elena-lang/build/artifacts
I had tested it with the master ... I downloaded this release and it also didn't work
One of the problem is a comment at the program start. I updated asmrules.es (in current) and it works for bench. There is a second problem with mandel.txt. I will look at it later.
I tried to check some possibilities, like the stack size, but the error persisted ... And I noticed that the process using Tape, as it is currently done, is VERY SLOW !! compared with online interpreters and many others ... the execution time is gigantically different (using bench.txt as a test)
of course it is slow. But you may use the script to generate C code and compile it :)
If someone will provide faster solution I wouldn't mind :)
A benchmark example should be created to compare performance to c, c#, java, smalltalk, ruby