According to the FAQ in the "Coding" section, JVM-based languages get an 
increased stack size of 64MB with the flag -Xss64m. I did some test submissions 
in C++ on the platform and it seems the stack size for native languages is at 
the OS default of 8 MB.* Would it be possible to have it set the same limit? 
This can be done in linux with the command "ulimit".

I like code jam philosophy of using the right tool for the right job when it 
comes to languages. However, I think it would make more sense if the tool 
limitations were inherent to the language itself rather than imposed by the 
platform. It is a little unfair to customize a bigger stack size for JVM-based 
languages and not the rest.


* My tests: allocate a buffer on the stack and have my program do something to 
prevent compiler optimization. The program gets an RE verdict only for buffer 
size > 8 MB.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Code Jam" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-code/c079c7a8-04a5-4db7-b7e7-7021d2f62a63%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to