Author Topic: C::B with DM or vc++?  (Read 18447 times)

Offline takeshi miya

  • Lives here!
  • ****
  • Posts: 1487
Re: C::B with DM or vc++?
« Reply #15 on: February 23, 2006, 05:13:44 pm »
It's here: http://forums.codeblocks.org/index.php?topic=2085.0

C::B has been compiled with MSVC and Intel compilers with few one-time changes.

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5247
Re: C::B with DM or vc++?
« Reply #16 on: February 23, 2006, 05:14:59 pm »
My personal opinion :
- OFFICIAL CB is compiled with GCC and reamins that way ( see  remarks of Yiannis)
- let's try to help the people who try to build CB with other compilers (other mostly true warnings/ errors) --> always good to compile with everal compilers
- if people see a more 'optimized' build of CB can be obtained by using another compiler they can build it themselves (they just get the sources and make it themselves), choice is a good thing, but maintaining CB distributions with different compilers is a bit to much for the CB team, but every user can then however create on his/her self.
Note don't focus too much on the build time of CB itself only ( I rather compile it with a slow compiler to have in the end a fast CB application, then have it compile super quick and ending up with a slow CB)

Good luck with this further research, very interesting !!!

Cheers,
Lieven

Offline Trikko

  • Multiple posting newcomer
  • *
  • Posts: 82
    • e-nuts.net
Re: C::B with DM or vc++?
« Reply #17 on: February 23, 2006, 05:17:19 pm »
A. Fontana
My homepage
Do you need custom software? Do you want to work as freelancer?

Offline Trikko

  • Multiple posting newcomer
  • *
  • Posts: 82
    • e-nuts.net
Re: C::B with DM or vc++?
« Reply #18 on: February 23, 2006, 05:21:20 pm »
It's here: http://forums.codeblocks.org/index.php?topic=2085.0

C::B has been compiled with MSVC and Intel compilers with few one-time changes.

Why didn't C::B developer apply this patches to official distro?
A. Fontana
My homepage
Do you need custom software? Do you want to work as freelancer?

Offline takeshi miya

  • Lives here!
  • ****
  • Posts: 1487
Re: C::B with DM or vc++?
« Reply #19 on: February 23, 2006, 05:26:15 pm »
Why didn't C::B developer apply this patches to official distro?

I think Sam didn't posted the patches on the tracker. :)

I agree with Lieven here.

sethjackson

  • Guest
Re: C::B with DM or vc++?
« Reply #20 on: February 23, 2006, 05:39:05 pm »

Anyway, have a look at here.


DM passes 100% of dr. dobbs tests :D

http://www.digitalmars.com/changelog.html#new845

ehehhehe :)


Umm DM isn't on the list (show me where I can't find it) and guess what that was done in November 2003. The GCC proposed candidate passed  99.11%, and the test (what they testing I can't even tell) was done 2 years ago.  :P Hmm I think GCC is waaaay better now.....

EDIT:

Oh and BTW the proposed GCC candidate passed more of the "test" than M$ VC......  :lol:

Have a look here like Michael said.

http://cmeerw.org/prog/freecpp/
« Last Edit: February 23, 2006, 05:41:55 pm by sethjackson »

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: C::B with DM or vc++?
« Reply #21 on: February 23, 2006, 05:40:04 pm »
Nobody doubts that DM compiles a lot faster.
However, as far as those benchmarks are concerned, those are simply hilarious. The floating point math comparison even more than the wxWidgets one.

Why didn't C::B developer apply this patches to official distro?
I think Sam didn't posted the patches on the tracker. :)
I agree with Lieven here.
It does not matter whether he did or not. Those patches will not be applied.

Nevertheless, if you believe that you have to compile using MSVC, then feel free to do that. However, if you get strange errors like Sam is getting, then don't come here and complain... :)
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: C::B with DM or vc++?
« Reply #22 on: February 23, 2006, 05:43:51 pm »

Anyway, have a look at here.

DM passes 100% of dr. dobbs tests :D

http://www.digitalmars.com/changelog.html#new845

ehehhehe :)

The GCC version I have tested at that time (3.4.4) passed 2 or 3 more tests :wink:. Imagine version 4.1...... :D

Anyway, I do n ot want to begin a compiler's war :D.

Best wishes,
Michael

sethjackson

  • Guest
Re: C::B with DM or vc++?
« Reply #23 on: February 23, 2006, 05:47:51 pm »
The GCC version I have tested at that time (3.4.4) passed 2 or 3 more tests :wink:. Imagine version 4.1...... :D

Anyway, I do n ot want to begin a compiler's war :D.

Best wishes,
Michael

We have almost have a few already (in other threads) I think......  :lol: It is always funny how people compare new compilers to an old version of GCC......

Offline takeshi miya

  • Lives here!
  • ****
  • Posts: 1487
Re: C::B with DM or vc++?
« Reply #24 on: February 23, 2006, 06:05:41 pm »
Imagine version 4.1...... :D
4.1 haves lot's of regressions on Win32, so it's quite the opossite for now.

I think Sam didn't posted the patches on the tracker. :)
I agree with Lieven here.
It does not matter whether he did or not. Those patches will not be applied.

It's quite the opossite, what matters is that patches aren't deleted on the tracker, so other people that is interested in doing so can do it by applying them. If they're applied to codebase or not, it's just a matter of convenience to official builds.

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: C::B with DM or vc++?
« Reply #25 on: February 23, 2006, 06:07:11 pm »
It is always funny how people compare new compilers to an old version of GCC......
I'd not call it funny. It is actually quite embarassing.
Imagine you compared a 1950 car to a 2005 car. Everybody would yell "bloody fool" at you... :lol:

It gets even more embarassing when things like floating point throughput are taken as a measure to compare compilers in terms of application performance. Unless you write something like a realtime MP3 encoder, this is absolutely irrelevant to you (and in that case, you would code the SSE stuff by hand, anyway).
A typical, "normal" GUI application is idle 95%-98% of the time, and it rarely ever uses a floating point operation at all.

The one and only thing that really uses significant CPU in Code::Blocks is the code completion plugin, and that is due to a somewhat unlucky parsing algorithm, not due to compiler-related issues.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline takeshi miya

  • Lives here!
  • ****
  • Posts: 1487
Re: C::B with DM or vc++?
« Reply #26 on: February 23, 2006, 06:13:45 pm »
I think that discussing that one compiler or language is better than other, in an IDE that haves multi-compiler multi-language support, is only going to hurt.
« Last Edit: February 23, 2006, 06:17:26 pm by Takeshi Miya »

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: C::B with DM or vc++?
« Reply #27 on: February 23, 2006, 06:21:41 pm »
I think that discussing that one compiler or language is better than other, in an IDE that haves multi-compiler support, is only going to hurt.

Yes, you are right. It can cause problems. Anyway, IMHO the discussion could be divided into two parts: (1) the compiler used to build C::B and (2) the compiler used to build your application. For example, I like GCC and I hate M$ compiler. If C::B were built with M$, what I will do...:D....Well, I think that I will used it anyway, but building my applications with GCC :).

Best wishes,
Michael

Offline Trikko

  • Multiple posting newcomer
  • *
  • Posts: 82
    • e-nuts.net
Re: C::B with DM or vc++?
« Reply #28 on: February 23, 2006, 06:25:06 pm »
Nobody doubts that DM compiles a lot faster.
However, as far as those benchmarks are concerned, those are simply hilarious. The floating point math comparison even more than the wxWidgets one.

I've just underlined that i was speaking about math... :D
A. Fontana
My homepage
Do you need custom software? Do you want to work as freelancer?

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4291
    • Code::Blocks IDE
Re: C::B with DM or vc++?
« Reply #29 on: February 23, 2006, 06:54:58 pm »
I think Sam didn't posted the patches on the tracker. :)
I agree with Lieven here.
It does not matter whether he did or not. Those patches will not be applied.

It's quite the opossite, what matters is that patches aren't deleted on the tracker, so other people that is interested in doing so can do it by applying them. If they're applied to codebase or not, it's just a matter of convenience to official builds.

Thomas said what I said a few posts up: patches for supporting builds with other compilers will not be accepted.

BUT

The fact that we may reject the patch, does not mean that it is deleted from the patch tracker. The patch will always be there for anyone to try and apply, if he/she needs to. You just have to filter for "Any" patch, instead of "Open" ones ;)
Be patient!
This bug will be fixed soon...