Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
this is more a philosophical question. I want to start implementing MCMC algorithms in a programming language that is not matlab or R.
What would you suggest to use? C/C++ or Java?
I want after implmentetion to draw histograms etc but like those in R, matlab. Does any of the above languages have anything like "routine" to do this or after obtaining the results i can do this in matlab or R for example?
For what is worth, i don't know any of the above languages (C/C++ or Java). So i will take it from scratch.
To do MCMC in Java, C, or C++, you will either need to write a lot of code yourself or look for third-party libraries. The features you are looking for are not included in the core language for any of these.
(Also note that C and C++ are very distinct languages. They have diverged a long way from their common roots more than 30 years ago -- ancient history in computer years.)
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
threads are not used, generics are not used.
Android uses only fraction of Java features, i know this, but what parts are NOT used?
p.s. this is not opinion type of question - i m asking about actual parts, i.e. specific answer, facts.
my opinion: threads are not used, generics are not used.
That's wrong. The whole java.util.concurrent package was ported up to java 1.6. And Generics are also full supported. What is not yet in, is the new java 1.8 features, like streams and lambda, and part of java 1.7, the new File.NIO 2
How about AWT and Swing? Android has it's own UI Framework.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I want to start making apps for android in Eclipse, and I have bought a book which will teach me about Java 2 (J2SE 5.0) from Ivor Horton. Will this knowledge of Java be good for Android apps, or is it completely outdated?
No version of Java is truly 'outdated' in the sense I think you mean. There has since been a great deal of extra functionality added to the language, but not removed.
So you may not learn about some things that are now possible with the language, but nothing you learn is likely to have gone out of date except some smalls exception with regards to Java applets (which are not really relevant in Android development anyway).
Android is now capable of handling Java 7 code, so it probably wouldn't be worth learning the in-and-outs of Java 8 if your learning it specifically for Android development.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I'm planning on designing and implementing my own programming language. Is it a good idea to build my language in Java and run it off of the JVM or would my language be faster if I wrote it in C and ran the code off of my own virtual machine?
Maybe you can write your compiler in Java and let it compile to Java byte code.
If you want to do this, you can have a look at the book "Compiler Construction" by Niklaus Wirth for the compiler part and use ASM(Java) to generate the bytecode.
But you should think, wether you really want to build a compiler - it is not very easy.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I was wonderning efficiency of implemeting some Java EE APIs in Scala but not all of them. For instance JNDI would be faster in Scala because we can take advantage of supporting of high order function and so on.
I am interesting in which APIs implementation can be replaced for improve the effectiveness.
The logically correct answer is: no.
Both results run on the same JVM, so both implementations can be exactly the same in terms of processing efficiency. That Scala offers different language features doesn't change that.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I am looking to develop an application as a personal project. What I have in mind is a network-based application that would entail writing code for a typical client-server architecture using TCP Sockets as well as a heavy use of GUIs.
I believe I have quite a few choices: Swing in Java, PyQt, PyGTK, wxpython and the like in Python.
I was just wondering if anyone could direct me to which language would be better in the above respects.
I would suggest you go for JavaFX. It comes with the JDK and has a lot of good features.
Plus, it can inter-operate with Swing, backwards and forwards. It allows you to use CSS to pretty-paint your UI. t gives you best of both the worlds.