le 16/06/04 21:50, Matt Bathje à [EMAIL PROTECTED] a écrit : > I posted this on the struts list this morning, but it might get better > answers here. > > I was reading the stories here: > > http://www.sys-con.com/story/?storyid=45250 > http://www.kano.net/javabench/ > > Summary: > Java in server mode is faster than C++ in the benchmarks run. Java in client > mode is much more iffy, sometimes faster, sometimes slower, and sometimes > the same. > > > So my question becomes - does anybody have any experience running their > Tomcat jvm using the -server option instead of letting it default to client? > > Based on what the tester says, the only downside of running the jvm in > server mode is a longer startup time, but the Java code still beat C++ even > with the longer times, so it can't be too bad. > > So anybody have any experience/thoughts on this? > > > Thanks, > Matt Bathje >
Matt, No one can really believe Java is faster than C or C++, because Java is itself written in C and C++. I haven't been through the benchmark code throroughly, but there's definitely a bias somewhere. ------------------------------- Eric VERGNAUD - JLynx Software Cutting-edge technologies and services for software companies web: http://www.jlynx.com ------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]