Go to Post .. if no one gets ahead no one gets left behind. - Koko Ed [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 27-09-2011, 12:32
2611.Shooter 2611.Shooter is offline
Programmer
AKA: Andrew Lavery
FRC #2611 (Vectors)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2008
Location: jackson, MI
Posts: 43
2611.Shooter is infamous around these parts2611.Shooter is infamous around these parts
Re: Programming Build Times?

Using labview, my team's computers often took more than 10 minutes to build, and a similar time period to deploy over a wired connection. (2 years ago, might have changed. but I doubt it) Last year, we used windriver, and build+deploy times were generally around one minute. on the same computer as the previous year, so its not like its a hardware difference. But labview takes all of 30 seconds to learn, so...
  #2   Spotlight this post!  
Unread 27-09-2011, 15:01
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Programming Build Times?

Quote:
Originally Posted by 2611.Shooter View Post
Using labview, my team's computers often took more than 10 minutes to build, and a similar time period to deploy over a wired connection. (2 years ago, might have changed. but I doubt it)
It did change. The FRC distribution of LabVIEW last year saw a significant improvement in build speed. It's still a turtle compared to C++, but it's fast enough that I don't have a problem recommending it.

Developing and debugging using the Run command is a lot faster than building a permanent executable, too. It greatly shortens the typical "edit-compile-download-debug" cycle.
  #3   Spotlight this post!  
Unread 27-09-2011, 15:12
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Re: Programming Build Times?

C++ has a interesting compiler model that saves tons of time on most builds. In a nutshell, it only builds the .cpp files that have changed, so if you have a million lines of code, and change one file, it only needs to recompile the one file (which produces a .o file), then joins all the .o files together, which is much faster than the .o file compilation. The result: a speedy build 90% of the time. Unless you mush lots and lots and lots of code into one file, C++ is fast at compiling changes. Do be aware that the compiler is smart and figures out if dependencies of a file change most of the time, but occasionally the compiler does not recompile something that it should (.h file changes usually), leaving two incompatible .o files. Rebuilding solves this issue (when we have errors, most of the time rebuilding solves it), and our code last year (which had quite a few largeish files) would rebuild completely in about 30 seconds, and a regular build of our main file took 10 seconds tops. C/C++ compiling is an interesting subject.
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 23:27.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi