Конференция "FreePascal" » Сравнение компиляторов [Win32]
 
  • Venom Spawn © (14.06.05 01:00) [0]
    Можно ли где найти сабж с участием компиляторов FreePascal, Delphi и MSVC6.0/.Net?
  • Thaddy (14.06.05 02:43) [1]
    Well, I can give you an indication:
    - Delphi is by far the fastest compiler (except for Powerbasic btw)
    - VC6 generates the fastest code
    - .all .net compilers generate (much) slower code, but can improve
    - freepascal is multiplatform! ( the others are not, compiles a bit slower than delphi, but can generate a lot faster code than delphi if you use all options (only sometimes for now)

    So what do you want?
    1) A Fast compiler? Delphi or Freepascal
    2) Fast code? Freepascal( multi platform) or VC6 ( for win32 only)
    3) A bit of both?
    4) .net ? GWBASIC, EDLIN?
  • Thaddy (14.06.05 02:44) [2]
    Well, I can give you an indication:
    - Delphi is by far the fastest compiler (except for Powerbasic btw)
    - VC6 generates the fastest code
    - .all .net compilers generate (much) slower code, but can improve
    - freepascal is multiplatform! ( the others are not, compiles a bit slower than delphi, but can generate a lot faster code than delphi if you use all options (only sometimes for now)

    So what do you want?
    1) A Fast compiler? Delphi or Freepascal
    2) Fast code? Freepascal( multi platform) or VC6 ( for win32 only)
    3) A bit of both?
    4) .net ? GWBASIC, EDLIN?
  • cyborg © (14.06.05 09:22) [3]

    > Venom Spawn ©   (14.06.05 01:00)

    Если они у тебя есть, то напиши тесты сам.
  • Anatoly Podgoretsky © (14.06.05 09:46) [4]
    cyborg ©   (14.06.05 09:22) [3]
    Тесты это сложная вещь, особенно если не знаешь оба языка в тонкостях. В качестве тестов могут подойт тесты драйнсто и винстон, при условии качественного кодирования.
  • cyborg © (14.06.05 09:58) [5]

    >  [4] Anatoly Podgoretsky ©   (14.06.05 09:46)

    Ну уж Фрипаскаль с Дельфи сравнить можно ;)
  • Иван Шихалев © (14.06.05 17:25) [6]
    Ну уж Фрипаскаль с Дельфи сравнить можно ;)

    http://hlab.newmail.ru/
  • Thaddy (14.06.05 20:57) [7]
    Interesting results, but not always all optimizations that FPC is capable of for 80X86. For example, the mmx support of FPC gives me huge improvements in dsp processing: up to 500% faster, compared to D4-D7.
  • Stargazer (21.06.05 23:14) [8]
    К теме Delphi есть интересная точка зрения:

    Сообщение № 2189
    http://www.delphikingdom.com/asp/talktopic.asp?ID=285&Order=0&Count=10&pNo=13
  • frame © (26.06.05 21:28) [9]
    http://www.itc.ua/print.phtml?ID=15800
    хотя мне не особо верится
  • Thaddy (27.06.05 18:52) [10]
    It is all a matter of what is implemented:

    1) Delphi and VC6 implement only 80X86 and FP instructions, but Delphi optimizes these better than freepascal.

    2) Freepascal also implements newer instruction sets like MMX, so, when you need that, Freepascal is *a lot* faster for that type op high level code.

    3) The Freepascal team recognizes that their register optimizations could be improved (compared to Delphi)

    4) VC6 can use an Intel or Microsoft processor instruction pack to achieve something similar with newer processors. But C remains unreadable for most ;) (Not true by the way:I love - plain- C)

    5) The fastest compiler when only using highlevel instructions is therefore dependent on the type of application.

    6) For DSP, I can prove Freepascal is the fastest without any help from third party or external libraries or using internal assembler.

    7) With all compilers You can always use built-in assember. In that case all compilers should be about just as fast ;)
  • yantux © (21.12.09 11:38) [11]
    А компилятор fpc автоматически использует mmx инструкции или надо использовать библиотеки, вставлять в исходник дериктивы компилятора?
  • alexrayne (21.12.09 15:47) [12]
    надо вставлять директивы, да и вообще весь код раком надо ставить.
  • yantux © (21.12.09 15:49) [13]

    > надо вставлять директивы, да и вообще весь код раком надо
    > ставить.


    А более конкретно что это может значить?
  • 0x00FF00 (21.12.09 18:18) [14]
    > дериктивы

    директивы.


    > А более конкретно что это может значить?
    Собственноручно написанные ассемблерные вставки?

    PS. 2005 год... Некроманты на марше! =)
  • Игорь Шевченко © (21.12.09 20:07) [15]
    а watcom все равно круче :)
  • имя (22.12.09 13:18) [16]
    Удалено модератором
  • имя (22.12.09 13:19) [17]
    Удалено модератором
 
Конференция "FreePascal" » Сравнение компиляторов [Win32]
Есть новые Нет новых   [118451   +42][b:0][p:0.028]