Code Monkey home page Code Monkey logo

Comments (3)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 26, 2024
I have a suggestion based on my own experience with that program: make sure to 
give enough stack size in the linker options... More specifically, under the 
Linker Properties, Choose the System sub-property and set Stack reserve size 
and Stack commit size to, say, 10M. The value must be inputted in bytes.

I had the same problem running the Java and C# versions. The program requires 
more than 1M of stack space.


Original comment by [email protected] on 17 Jul 2011 at 10:02

from multi-language-bench.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 26, 2024
Oh, and to answer your question, the output is indeed correct. I don't know why 
the output is not the same as for the Java version...

Original comment by [email protected] on 17 Jul 2011 at 10:02

from multi-language-bench.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 26, 2024
Nico, thank you.

Yes, I found out about the stack overflow by running a debug build under 
MSVC2010 - it stopped with an out of stack error, although the MSVC IDE 
struggled to show the fault, I guess because of the many thousands of stack 
levels. I've not tried any of the other implementations.

Looking at the code I found the seventy six thousand AND TWO an odd result. I 
would really have liked a simple assert(loops == 76002) to reassure me!

Also, I found the loop dump odd - it looked like it was going to dump out the 
loops found, but just dumped zeros.

I haven't looked much since. I might take another look now.

Anthony

Original comment by [email protected] on 18 Jul 2011 at 3:52

from multi-language-bench.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.