As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I have looked around and was unable to find any questions regarding this exact question. I did find some similar questions but not exactly what I want know.
If you develop an Android application in C/C++, will there be a (substantial) speed difference when compared to developing the same application in Java?
From the Android docs:
The NDK will not benefit most applications. As a developer, you need
to balance its benefits against its drawbacks; notably, using native
code does not result in an automatic performance increase, but always
increases application complexity. In general, you should only use
native code if it is essential to your application, not just because
you prefer to program in C/C++.
The NDK was intended to be used in performance-critical situations only.
You can however create a whole application with C/C++ but only if the device runs Android 2.3 or later: Can I make a rather native C++ app with Android?
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Our current system is based on a Spring/Hibernate/Java/MySQL stack. We have a relationship with a company for which we will end up doing a portion of the IT work. They are currently building a system using an outside vendor which is based on PHP/MySQL. I would like to make an argument that they should reconsider and switch to a Java-centric platform. My main argument is that we can utilize our current (Java-based) skillset for system maintenance and enhancements, instead of having a system which requires knowledge of both PHP and Java. However, they have asked if there is any technical reason why this couldn't happen.
It would be great if I could bring some technical arguments to table which show the two platforms are incompatible. However, I've googled the differences, and as far as I can tell, there wouldn't be any particular technical issues. For example, we could use web services for the systems to communicate.
So, the question is, is there anything one could say about PHP which makes it either incompatible with or just not as "good" as Java? E.g security, scalability and other enterprise considerations? I know it's a vague question, but it would be very helpful to get some input.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I am a iOS programmer so confident with objective c. I have also naturally programmed in Java. I am branching out into android programming and was wondering about the different programming approaches.
I have read in many different articles that there are significant differences between programming in a Java style and a Objective c/ c++ style. Whilst I know the languages are different. I was wondering if there are any Java/Android/iOS programmers that could give any pointers for someone branching out in android?
Cheers
Yes, definetly, both architecture iPhone and android are very different, but there are many similarities also, you should start with simiilarites, which would increase your learning speed, later as need arise, you can learn differences also.
Like iOS application have AppDelegate as a single class, existed lifetime of the application. In android, though not mandatory but you can have an application class, which can work similarly as AppDelegate. In iOS screens are designed in nib files, android also has a gui tool to design screens. But its not simply drag-drop and you also supposed to understand screen size variety in android.
Android does not follow, MVC architecture fully, and it makes a big difference, but if you still want to follow MVC framework, there is an open source api, on google code, by whivh you can implement mvvc architecture in android applications.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I don't know much of either languages, but what would be better for writing applications that deals with the following. Right now, I use PHP, but I'm looking to see what would be the next ideal language to dig into, if the needs arise.
MySQL
off-line data processing of CSV, XML, etc. files
web applications (dynamic websites)
I understand that this could quite possibly be subjective.. so if you could just pitch in some pros and cons, that would be superb. TIA!
If you come from PHP, JAVA is probably a bit easier than C++ for you.
If you are looking to make dynamic websites with a programming language you should look into C#
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
is there something new about programming apps for iphone with scala?
Do you have some experiences with programming scala apps for iphone?
Thanks for any help!
It will be very difficult to make this happen. There's no JVM on the iPhone and it's probably too big to package it with your app.
There's work being done on an LLVM backend for Scala. Since there are code generators for the iPhone for LLVM, this is a path forward, but the backend is still a proof of concept, we still need a way to invoke Cocoa code from Java (not sure if something like that exists) and the Java standard library would need to be ported over as well.
But this would definitely be an excellent thing if it ever happens. Coding in Objective-C is definitely nowhere near as nice as coding in Scala.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 12 years ago.
What are the benefits of using a compiled solution like .NET of Java over an interpreted solution like PHP or Ruby for building a Web Application/Web Site. It seems like Java or .NET apps would require a lot more overhead compared to a PHP/Rails solution.
If I were developing a big enterprizy application I would prefer .NET or Java depending upon skills of my team and resources available. But if I were to develop a quicky + clean website, 2.0 kinda thing, I would prefer ROR or PHP.
It's not which is better and which is not, it's just what you are trying to do.