Tvheadend Future
#22
@cbxbiker61 Here I would have to disagree. C is no harder to understand than C++ (want an example, try reading something like XBMC code without your head exploding!), a good software engineer realises that language is mere syntax, it's the design that makes things easy or difficult to understand. The TVH design, being OSS, is not the best, though its far from the worst I've seen. I admit some of the recent additions could already benefit from re-factoring (having been designed on the fly, sue me!). C++ provides very little benefit IMHO, yes some minor syntactic sugar (as with most higher level / OO languages) but anything that can be done in C++ can be done in C, with only minimal extra keystrokes. To be honest, I prefer OO in C to C++ these days.

I think if you want a migration to C++ you should consider helping out the tvdaemon project, they forked from TVH about the same time I started working on it. There original plan was to start a migration, then it turned into a full scale rewrite. I told them they were over optimistic suggesting they could have a bare bones working solution in 2-3 months, 24 months on, I don't really see them anywhere near that (though I believe the project is not dead). Certainly a migration to C++ would be possible, but you'd basically have to rewrite the entire code base (just re-doing the DVB/Input code has taken me 6-8 months). I think it very unlikely I'd want to be involved in that, since I can see very little benefit to the project as a whole. Maybe it would open it up to more people, certainly there is a tendency for educational institutions to turn out programmers that know C++, and think C is some sort of black art, but I'm not convinced myself.

With regard to HDHR one of the big things I did in the DVB rewrite was try and create (I say try, I think I could have done better, but I lost energy and focus) a more flexible framework into which other input systems could be added. Of course, for native HDHR support to exist, someone would have to step forward and do the work. And of course, thankfully the guys at SiliconDust have at least been sensible about writing there lib in C (rather than C++) because it offers greater flexibility for user applications. No doubt actually adding another input system would highlight some issues with what's been done, but I doubt its anything insurmountable.

Regards
Adam
Reply


Messages In This Thread
Tvheadend Future - by adamsutton - 2014-03-05, 16:48
RE: Tvheadend Future - by Prof Yaffle - 2014-03-05, 17:40
RE: Tvheadend Future - by adamsutton - 2014-03-05, 17:49
RE: Tvheadend Future - by the_mouse - 2014-03-05, 21:05
RE: Tvheadend Future - by Ned Scott - 2014-03-06, 10:12
RE: Tvheadend Future - by Hedda - 2014-03-06, 16:43
RE: Tvheadend Future - by adamsutton - 2014-03-06, 16:48
RE: Tvheadend Future - by Hedda - 2014-03-06, 16:55
RE: Tvheadend Future - by Prof Yaffle - 2014-03-06, 16:59
RE: Tvheadend Future - by Hedda - 2014-03-06, 19:41
RE: Tvheadend Future - by Prof Yaffle - 2014-03-06, 20:01
RE: Tvheadend Future - by Ned Scott - 2014-03-07, 01:42
RE: Tvheadend Future - by f4k3 - 2014-03-07, 05:08
RE: Tvheadend Future - by xhaggi - 2014-03-07, 09:21
RE: Tvheadend Future - by Cassiel - 2014-03-07, 15:40
RE: Tvheadend Future - by adamsutton - 2014-03-07, 22:21
RE: Tvheadend Future - by Meindert - 2014-03-08, 14:31
RE: Tvheadend Future - by Prof Yaffle - 2014-03-08, 15:49
RE: Tvheadend Future - by noggin - 2014-03-09, 14:36
RE: Tvheadend Future - by giaur - 2014-03-09, 15:59
RE: Tvheadend Future - by cbxbiker61 - 2014-03-10, 07:36
RE: Tvheadend Future - by adamsutton - 2014-03-10, 11:53
RE: Tvheadend Future - by giaur - 2014-03-10, 15:50
RE: Tvheadend Future - by cbxbiker61 - 2014-03-10, 20:31
RE: Tvheadend Future - by giaur - 2014-03-11, 10:00
RE: Tvheadend Future - by cbxbiker61 - 2014-03-11, 17:52
RE: Tvheadend Future - by giaur - 2014-03-14, 13:42
RE: Tvheadend Future - by iharobike - 2014-03-14, 15:03
RE: Tvheadend Future - by negge - 2014-03-14, 16:29
RE: Tvheadend Future - by giaur - 2014-03-15, 13:09
RE: Tvheadend Future - by negge - 2014-03-15, 13:54
RE: Tvheadend Future - by marathont - 2014-03-18, 10:00
RE: Tvheadend Future - by joethefox - 2014-03-18, 10:18
RE: Tvheadend Future - by marathont - 2014-03-18, 10:31
RE: Tvheadend Future - by adamsutton - 2014-03-18, 10:03
RE: Tvheadend Future - by iharobike - 2014-03-18, 14:37
RE: Tvheadend Future - by adamsutton - 2014-03-19, 02:30
Logout Mark Read Team Forum Stats Members Help
Tvheadend Future0