Very Fast Compiling

Everything else that doesn't fall into one of the other PB categories.
Karbon
PureBasic Expert
PureBasic Expert
Posts: 2010
Joined: Mon Jun 02, 2003 1:42 am
Location: Ashland, KY
Contact:

Post by Karbon »

What difference does compiler speed make anyway? Especially when we're talking fractions of a second!
-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
traumatic
PureBasic Expert
PureBasic Expert
Posts: 1661
Joined: Sun Apr 27, 2003 4:41 pm
Location: Germany
Contact:

Post by traumatic »

Karbon wrote:What difference does compiler speed make anyway? Especially when we're talking fractions of a second!
hmm... on that condition.... fractions of a second?



*SCNRA*
Good programmers don't comment their code. It was hard to write, should be hard to read.
Shannara
Addict
Addict
Posts: 1808
Joined: Thu Oct 30, 2003 11:19 pm
Location: Emerald Cove, Unformed

Post by Shannara »

Speed and size is everything ... from programming to relationships ;) Mind you, there are different parameters between the two ....

On a serious note ..

Take a look at the following ....

http://www.developerdotstar.com/community/node/479

.... and tell me the difference in compiler speed ;)

I bet if they were using PureBasic, the compiling time may be smaller ...
Dare2
Moderator
Moderator
Posts: 3321
Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land

Post by Dare2 »

netmaestro wrote:No, but I have VistaClock running sticky. That speeds up processing time for all applications by 300% :lol:
:D

In the good old days the compile process was time for reflection. You could make a cup of coffee, think about your code, consider your approaches. Some of the best ideas came then, when the mind was still fresh from the challenge, but had gone into neutral, allowing free association, allowing the sub-conscious to have a say.

This obsession with fast compilation is counter-productive! :)
@}--`--,-- A rose by any other name ..
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8451
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Post by netmaestro »

A fast compiler moves the dammits closer to the didthatfixits. That's the basic advantage.
BERESHEIT
Dare2
Moderator
Moderator
Posts: 3321
Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land

Post by Dare2 »

:lol:
@}--`--,-- A rose by any other name ..
User avatar
GedB
Addict
Addict
Posts: 1313
Joined: Fri May 16, 2003 3:47 pm
Location: England
Contact:

Post by GedB »

PB does start to slow down on larger projects.

If there was an ability to work with Modules, which could be frozen as UserLibraries when working on a larger codebase, then that would solve the problem.

Then only the Module you are working on would need to be recompiled, making things run faster.
freak
PureBasic Team
PureBasic Team
Posts: 5944
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

With v4, you should also keep in mind that having many predefined Macros will slowdown
the compilation a lot as well.
That is because every parsed token in the source must be checked against the macro table.

Just a hint to those building a set of predefined macros. Don't put too much
of them in your residents... you'll pay for it in compilation time ;)
quidquid Latine dictum sit altum videtur
eriansa
Enthusiast
Enthusiast
Posts: 277
Joined: Wed Mar 17, 2004 12:31 am
Contact:

Post by eriansa »

Dare2 wrote:
netmaestro wrote:No, but I have VistaClock running sticky. That speeds up processing time for all applications by 300% :lol:
:D

In the good old days the compile process was time for reflection. You could make a cup of coffee, think about your code, consider your approaches. Some of the best ideas came then, when the mind was still fresh from the challenge, but had gone into neutral, allowing free association, allowing the sub-conscious to have a say.

This obsession with fast compilation is counter-productive! :)
So true!
I remember compiling an order-entry app on an IBM system/36 : took a whole day! We needed to work on different app's in the same time AND we had to be very attentive. Now it's more like : Trial and error.

I guess it's like everything else: every good side has a downside, the faster things go, the more my brain seems to be down. :wink:
Post Reply