Comments (3)
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.
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from multi-language-bench.