> Some thoughts below.
>
> http://masticate.com/2012/05/08/to-kickstart-or-not-to-kickstart/
"The last time I looked there were over 200k lines of code in there."
It's big and not always healthy. I don't think you'll find much
disagreement on that.
It's the complexity that hurts. Part of the line count contributes to
taming the complexity, such as having each class in a separate file, and
each command or dialog in a class. That part is healthy.
How could we trim the complexity? I'll throw two ideas out there, just
for the sake of discussion.
* In principle we could re-merge some "mapped" classes with their "base"
counterparts. They spend a fair bit of code just staying in sync, or
trying to. But that's a lot of work and error opportunities just to keep
things working about the way they are.
* What if we used garbage collection? Memory management has been
something of an issue. Not long ago Ted tracked down a tricky
referenced-after-freed bug. When I redid MIDI export, managing memory
was a significant part of the work. From my experience, using the Boehm
GC was very easy; I linked it in, replaced malloc and some internal
memory routines, and never had to think about memory management again(*).
But that was in C. In C++ it's apparently harder and STL templates have
to always be told about it.
So I throw those ideas out there to see what everyone else thinks.
Tom Breton (Tehom)
(*) I never had to, but I fooled around with it anyways, causing the one
and only memory-related bug I had.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel