Re: [Flightgear-devel] C++ for Simulation

2010-09-17 Thread Jan Mattsson
One more "job hat" response: good that you have tests. Without tests, change will always be scary. It doesn't have to be. Yes, they take time to write, perhaps more time than the code itself, but the alternative is even worse. Tests are an executable specification. As for the move from C to C++...

Re: [Flightgear-devel] C++ for Simulation

2010-09-17 Thread Jon S. Berndt
I should mention that the code in question is being rewritten, anyhow - and we have a good set of regression tests already. Jon -Original Message- From: Christian Mayer Sent: Friday, September 17, 2010 12:48 PM To: FlightGear developers discussions Subject: Re: [Flightgear-devel] C++

Re: [Flightgear-devel] C++ for Simulation

2010-09-17 Thread Christian Mayer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jon S. Berndt schrieb: > If cost is an issue (isn't it always?), is it worth > it to expend the resources to clean up code that may have been gathering > flotsam and jetsam for years - particularly if you want to add some new > features (base on new

[Flightgear-devel] Coooperation FlightGear/Fly! Legacy

2010-09-17 Thread stephane
Hello everyone, several days ago, I posted on the FlightGear forum a message to announce the release of the alpha version of Fly! Legacy, the open source flight simulator: http://www.flightgear.org/forums/viewtopic.php?f=3&t=9423 As I said, it is still needed to own Fly! II to have Fly! Legacy

Re: [Flightgear-devel] C++ for Simulation

2010-09-17 Thread James Turner
On 17 Sep 2010, at 11:09, Stuart Buchanan wrote: > The project was also a lot larger than it looked at first glance, > particularly the amount of time required to create a good regression suite. >> From memory, I think we spent significantly more time creating the regression > suite than we did a

Re: [Flightgear-devel] C++ for Simulation

2010-09-17 Thread Stuart Buchanan
On Fri, Sep 17, 2010 at 4:26 AM, Jon S. Berndt wrote: > Guys, I've got a question that's come up in my day job. I'd like to ask for > your opinion. If you had to justify to your boss the rewrite of old C code > in C++, could you do it? If cost is an issue (isn't it always?), is it worth > it to ex

Re: [Flightgear-devel] Musings on optimizing Nasal code

2010-09-17 Thread Tim Moore
On Thu, Sep 16, 2010 at 1:28 PM, wrote: > > You just discovered that Nasal is 10x slower than C++ > > code! This is exactly why I prefer core code to end up in C++ in the end. > > I don't think that's a valid interpretation of my results. Consider the > two cases where I achieved a significant pe