First, the execution environment has nothing at all to do with the programming language.

It does, at least in the real world of "common usage", as you noted with your "typically".

Originally Posted by Bjarne Stroustrup (2000-10-14)

I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.

How can Java or C# interpreter interpret the java code to machine code faster than C++, if C++ already is machine code?

For example:
Dynamic profiling can lead to recompilation with different parameters, leading to a program that is more likely to assume the right thing. (Branch prediction!)
Garbage collection is, under some circumstances, preferable to deterministic memory management in terms of speed. Especially bad deterministic memory management. Look at it this way: in Java, memory management is done by Sun's garbage collector programmers. They're probably experts in the field. They know what they're doing. In C++, every programmer does his own memory management. That includes all the novices. Guess who's better at doing it.

All the buzzt! CornedBee

"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law

i could reply to the posts in the first page sentence by sentence. But i didnt open this thread to discuss the diference betwin a VM and an interpreter. I mean, i could discuss that, but not on this thread. About php, everyone interested should read about the latest developments.
Just to give a short answer to a big mess: sorry mates, everybody uses the CGI nowadays and yes using php as an apache module is geting deprecated. Check you linux distro default instalation or all those all-in-one Windows-Apache-Mysql-Php packages.

But.. what about toolkits and widgets? I would like to see someone poiting the good and bad things about a specific one based on previous experiences.

I think you would be best served on a PHP specific board. Not doubting you will get an answer here (I believe you have already). But... this is kinda a group of forums oriented towards C based languages. The noise ratio can be considerable, as you just have witnessed, if the question doesn't pertain to the forums theme.

Originally Posted by brewbuck:Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

About php, everyone interested should read about the latest developments.

You've got some articles, blog posts, news updates or discussions to point me to? I did a bit of searching, but couldn't find anything except a note on how the CGI module is easier to set up securely due to chrooting and similar mechanisms.

All the buzzt! CornedBee

"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law

Just to give a short answer to a big mess: sorry mates, everybody uses the CGI nowadays and yes using php as an apache module is geting deprecated.

Are you really trying to make me laugh? Or make yourself seem stupid?

Edit:
I looked through Estonian browser based games. 16 of 16 of them were using PHP.
The most common forum systems (vBulletin, phpBB and many other) are using PHP.
Then I looked for some international game sites (small flash games). And guess what! They're using PHP (or no filename extensions or ASP).

Last edited by maxorator; 11-17-2006 at 06:43 AM.

"The Internet treats censorship as damage and routes around it." - John Gilmore

You've got some articles, blog posts, news updates or discussions to point me to? I did a bit of searching, but couldn't find anything except a note on how the CGI module is easier to set up securely due to chrooting and similar mechanisms.

I didnt said it was easier - which it is - i said it's more used.
A normal php instalation is not the apache module. Plus, other webservers have to use the CGI

Get an all in one LAMP or WAMP package
OR
google for lamp instalation instructions and follow them
OR
simply run phpinfo() in your hosting company and check it out.

maxorator: you should read what i wrote and check out if you know what i am talkling about before replying that way. If there is someone here making himself stupid is not me. No offense.

Now about the toolkits... ok.. damit, i only said i am using php in order to filter unavaluable solutions.

Which toolkit do you preffer and why?
In case you can and/or feel like it you can refer to some issues related to its usage with php.