NetBeans is written in Java and sometimes very slow

  • How many times would it work faster if it were written in pure C ++?
  • What time does a C ++ program run faster in statistics?
  • Why not test it yourself? Here to you for a swing: hashcode.ru/questions/189730 - VladD
  • This question can only be answered if you provide ps statistics and in fact a typical holivar is jmu
  • Here is such a pitiable statistics opennet.ru/opennews/art.shtml?num=30784 memory eats like a vacuum cleaner every 5 would work faster no less - dfhsfhgfj
  • one
    @jmu: as far as I understand, since JIT, Java is no longer a bytecode interpreter. The code is compiled into native. - VladD
  • 2
    @avp Subjectively. 1. Maybe I came across bad and slow C ++ programmers :) 2. On the other hand, if I put C-coder and java-coder at two adjacent tables, and ask to write a simple graphical editor for the database directory (in one or two tables DB) ... I do not think that the C-programmer will rise from the table earlier. But perhaps see P. 1)) 3. If C ++ were the most convenient for applied development, I think that everything else would not have appeared. - SilverIce

2 answers 2

They closed it already, and I brought food here: The Computer Language Benchmarks Game , - in my opinion, the most adequate language benchmark.

Can anyone of the local masters dare to overtake C / C ++?

  • one
    Super !!! A lot, and most importantly with the source . - avp
  • Compiled to assembler with manual dopilivaniem? - alexlz
  • In addition to the abstract performance of the language, the performance of standard libraries is also important. :-P codinghorror.com/blog/2005/05/… ( Fed .) - VladD
  • @Dith: by "overtake" do you mean a similar code? I can overtake, a couple of trivia, we already discussed this question when we talked about the performance of std :: map. Or by "overtake" you mean "on some code that is sharpened by C ++"? - VladD
  • @alexlz if this does not contradict the @VladD rules, there are suitable rules that put languages ​​in equal conditions in this wonderful ranking;) - Dith

I'm not sure, but the thought is. The point is not in Jave itself, but specifically in the Swing library, which is very slow (as it seemed to me from experience). Perhaps now delirium demolished, but still.

  • @ alex91: well, there is no analogue of programs with Swing in C ++: there is no built-in window library in C ++. - VladD
  • Well, Java itself is not a meteor, of course) - alex91