in Education by
I was discussing neural networks (NN) with a friend over lunch the other day and he claimed the the performance of a NN written in Java would be similar to one written in C++. I know that with 'just in time' compiler techniques Java can do very well, but somehow I just don't buy it. Does anyone have any experience that would shed light on this issue? This page is the extent of my reading on the subject. JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
The Hotspot JIT can now produce code faster than C++. The reason is run-time empirical optimization. For example, it can see that a certain loop takes the "false" branch 99% of the time and reorder the machine code instructions accordingly. There's lots of articles about this. If you want all the details, read Sun's excellent whitepaper. For more informal info, try this one.

Related questions

0 votes
    I was discussing neural networks (NN) with a friend over lunch the other day and he claimed the the ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 27, 2022 in Education by JackTerrance
0 votes
    I am importing a project from C to Java which involves a lot of floating-point arithmetic. Are there ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 26, 2022 in Education by JackTerrance
0 votes
    I am importing a project from C to Java which involves a lot of floating-point arithmetic. Are there ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 26, 2022 in Education by JackTerrance
0 votes
    I am importing a project from C to Java which involves a lot of floating-point arithmetic. Are there ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 26, 2022 in Education by JackTerrance
0 votes
    During trying to achieve the performance with Hyperledger Fabric which IBM team reported in their article Hyperledger ... performance? Select the correct answer from above options...
asked Jan 30, 2022 in Education by JackTerrance
0 votes
    def main(): for i in xrange(10**8): pass main() This piece of code in Python runs in (Note: The timing is ... sys 0m0.012s Why is this? Select the correct answer from above options...
asked Feb 1, 2022 in Education by JackTerrance
0 votes
    Just wondering if any of you guys use Count(1) over Count(*) and if there is a noticeable difference in ... SQL Server 2005.) Select the correct answer from above options...
asked Jan 28, 2022 in Education by JackTerrance
0 votes
    Why does a sorted array get processed faster than an unsorted array, even though the size of the arrays are ... processed faster. Why? Select the correct answer from above options...
asked Jan 21, 2022 in Education by JackTerrance
0 votes
    Recurrent Neural Networks are best suited for Text Processing. A. True B. False...
asked Dec 26, 2022 in Technology by JackTerrance
0 votes
    Recurrent Neural Networks are best suited for Text Processing. A. True B. False...
asked Nov 13, 2022 in Education by JackTerrance
0 votes
    Recurrent Neural Networks are best suited for Text Processing. (a) True (b) False...
asked Oct 19, 2020 in Technology by Editorial Staff
0 votes
    Explain the commonly used Artificial Neural Networks?...
asked Jan 17, 2023 in Technology by JackTerrance
0 votes
    Neural Networks Algorithms are inspired from the structure and functioning of the Human Biological Neuron. A. True B. False...
asked Dec 26, 2022 in Technology by JackTerrance
0 votes
    Neural Networks Algorithms are inspired from the structure and functioning of the Human Biological Neuron. A. True B. False...
asked Nov 13, 2022 in Education by JackTerrance
0 votes
    Why do we need biological neural networks? (a) to solve tasks like machine vision & natural language processing (b) ... (d) all of the mentioned Please answer the above question....
asked Sep 21, 2022 in Education by JackTerrance
...