Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Programming Build Times? (http://www.chiefdelphi.com/forums/showthread.php?t=97556)

Rangel 26-09-2011 22:30

Programming Build Times?
 
Hey I'm the main programmer on our team this year and I am not sure what language I should use.. I pretty much know the basics and the pros and cons between the three by reading other general threads but one thing I didn't quite see is the build times. So my question is, how fast does Netbeans, Windriver, and Labview build and deploy code?

Thanks

lemiant 26-09-2011 22:54

Re: Programming Build Times?
 
I'm not super educated on this. But if memory serves C and Java are very close as far as deployment time and LabView is remarkably slower.

connor.worley 26-09-2011 22:59

Re: Programming Build Times?
 
C++ rarely takes more than 30 seconds to build.
Not sure about Java or LV.

Mk.32 26-09-2011 23:03

Re: Programming Build Times?
 
Java also takes around 30 seconds to build and deploy.
I heard LV takes over an 1min.

Rangel 26-09-2011 23:08

Re: Programming Build Times?
 
Thanks everyone. Your input is definetly going to help in the decision of what language to use.

jhersh 27-09-2011 00:14

Re: Programming Build Times?
 
Quote:

Originally Posted by daniel_dsouza (Post 1078775)
Also just to contribute my 2 cents, we can get Netbeans is free, while we get less than 5 licences for both LabVIEW and WindRiver every year. So depending on the size of your team, it would be more convenient to pick the development solution that fits the size of your team.

That's inaccurate. All 3 development environments can be installed as many times as needed for development of robot programs.

2611.Shooter 27-09-2011 12:32

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...

Alan Anderson 27-09-2011 15:01

Re: Programming Build Times?
 
Quote:

Originally Posted by 2611.Shooter (Post 1078836)
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.

byteit101 27-09-2011 15:12

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.


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

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