Gerhard Fiedler wrote: > Timothy Weber wrote: > >> But I wonder if the old cfront would still be "better than plain C" for >> the right person and the right project. Surely it's easier to use >> out-of-date C++ than to implement vtables, etc. directly in C. > > Very likely. If I thought about doing something like this, I'd probably > have a good look at cfront. Making it work is probably more efficient than > collecting and writing a lot of library code that provides some of the > functionality it probably already has. Exactly! I remember when C++ first arrived for the PC. I had independently (ignorantly) developed classes and inheritance in C, and was starting to work with virtual functions too. I jumped at the chance to let the compiler handle those things for me. -- Timothy J. Weber http://timothyweber.org -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist