What are the problems with using code converters (C# to Python) in Google App Engine or other hosting platforms?
-
I am a C# developer. But I want to use Google App Engine hosting for cost purposes. Can I use some code converters like DeveloperFusion (http://www.developerfusion.com/tools/convert/csharp-to-python/) or SharpDevelop (http://codeconverter.sharpdevelop.net/SnippetConverter.aspx) to convert my C# to Python? Basically, I will be developing small applications. Will there be huge bottlenecks using these code converters?
-
Answer:
My experience is that code converters can do an incomplete job. I recently used one to convert C# poco cases to Java for use on an Android app. But C# has delegates, linq, and some other things that the converter just didn't know how to handle. So there was some cleanup needed afterward, and I think the Java developers preferred to go ahead and re-write te classes anyway.
Andrew B Schultz at Quora Visit the source
Other answers
The appengine has certain APIs for handling web requests and to work with databases etc. So translating some e.g. .Net web service code will not just work. Apparently they don't have C# support like for some other languages, "For Java, Python, PHP, and Go, Google will continue to provide support and updates. We are considering support for other languages, but for a C# runtime, we suggest that users and vendors checkout the Custom Runtime support within App Engine Managed VMs." says the last comment from Nov 2014 there: https://code.google.com/p/googleappengine/issues/detail?id=8
Toni Alatalo
No program knows what you were thining when you wrote that line, so even the best converters need a little cleaning up after the conversion. Even AI wouldn't help. If I cnverted your code from one language to another (and I think I'm at least as intelligent as a computer), It still probably wouldn't be EXACTLY what you wanted.
Al Klein
Related Q & A:
- Has Google App Engine improved?Best solution by Quora
- How to do Network discovery using UDP Broadcast C#?Best solution by Stack Overflow
- How can I convert Matlab code to c#?Best solution by Stack Overflow
- How to connect Android app to App engine?Best solution by groups.google.com
- How does google search engine works?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.