Hi.

I'm new here, and I'm considering contributing to the NetSurf development (for 
example in the area of DOM/JavaScript support, where it seems to be most 
needed), as mentioned in the "Why 32-bit?" thread at c.s.a.programmer.

Unfortunately, the mailing list archive doesn't have a search function, and I 
can't find a FAQ for this, so I'll ask here: Does anyone know why C was chosen 
as an implementation language for NetSurf, and not something like C++?

It seems to me that for a relatively large project like this, C++ could be a 
better choice, and with things like the W3C DOM having an OO interface, which 
could be nicely reflected in classes and objects. Similarly, I'd think the 
layout engine could benefit from OO, with HTML being hierarchical in nature.

For that matter, I can't think of any reason for preferring C to C++ for a 
project of any size, except people not knowing the language, or no C++ compiler 
available (the latter should be well covered with RISC OS and e.g. GCC). 
However, I'd be curious to know your thoughts on this.

And please, no language wars. Let's keep to the facts and avoid flames.

Regards,

Terje

Reply via email to