You mean write something in one language, then write the very same thing in a different one? No, this is generally impossible. Ebay and the Bible were special cases.I was wondering if it is possible to pull this very same tricks with C.
You mean write something in one language, then write the very same thing in a different one? No, this is generally impossible. Ebay and the Bible were special cases.I was wondering if it is possible to pull this very same tricks with C.
If you understand the two programming languages well enough, you can translate. Take an example. You rewrite something originally in C, in say, C++, the reasons you chose to do that now should be important to you. eBay being originally written in Perl is irrelevant if it's in Java and something else now. I mean, that happening in eBay's history doesn't say anything about what Perl can do by itself. It could be that eBay.com is only using Java because there are a plethora of Java programmers willing to code eBay's inner cogs.
Yes, you can use C to write parts of websites, it's called CGI.
Just because eBay doesn't use Perl doesn't mean you can't use Perl: it's still a scripting language. Just like you could use C. You just have to know how to do Web programming.The Common Gateway Interface (CGI) is a standard (see RFC 3875: CGI Version 1.1) that defines how web server software can delegate the generation of web pages to a stand-alone application, an executable file. Such applications are known as CGI scripts; they can be written in any programming language, although scripting languages are often used.
Thanks 4 the answers guys.