This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 1/1/06, Daniel White <twinbee40@skytopia.com> wrote: > > Perl, php, or python are all good choices for cgi scripts. > > Because CGI itself is horribly inefficient, the language > > you use probably won't be the bottleneck. > > Is it inefficient in terms of transferring data between > server and user, or in the processing and manipulation of > data itself on the server? For example, I want to run a > conversion script where the user sends a single MIDI or a > picture to be converted. This single file is sent to the server > for complicated processing with maths and stuff, but no data > is actually being communicated between server and user until > the very end - where a single converted file is easily sent > to the user. So perhaps the inefficiency you speak of isn't > an issue in this case? Probably not. And it will only matter anyway if you end up getting slashdotted :-) > The reason I want to use C/C++ is because I eventually also want to > make the program as a standalone product so people can use it offline > aswell as online. But to avoid the hassle of compilation every > time I want to try the program out, I might use perl or PHP > after all. In this case, is perl or PHP closer to simple C/C++ code? Neither. Java's the closest, if they'll let you use it. > I use CoreFTP to upload to my site using SSH. If what you're saying > is as simple as I think it is, is there any instant way of performing > a compile on a file (using a shell or something), or will I need > to enquire further to obtain information to obtain the location > of the server's compiler exe? Most unix systems let you compile with the command "cc", so that's not an issue. > if I compiled as linux/unix exe, wouldn't that be a > generic exe that would be compatible with most unix/linux > setups? No. Many unix systems use a different CPU, for instance. If you use Java and compile to a .jar file, though, it's quite possible to have it run everywhere in the way that you'd like. - Dan -- Wine for Windows ISVs: http://kegel.com/wine/isv ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |