Hi Everybody,
It will still be a few months yet until we're really coding Om and
PicoGUI 2.0, but this is a decision worth a discussion:
Should the core components of Om and PicoGUI 2.0 be written in C or C++?
Here are a few arguments each way:
- In favor of C:
- smaller binary size
- C++'s class-based object model won't help much in implementing Om's
python-like object model.
- possibly more compatibility with older systems that don't support C++
- C code is natively compatible with many other languages, while C++ must
use 'extern "C"' functions for compatibility, not allowing the other
language access to C++'s class-based object model.
- In favor of C++:
- C++'s classes won't help implement Om, but they do provide a more standard
way to organize the source code.
- C++ code can be compiled without libstdc++ to produce binaries not much
larger than C. (http://fresco.org/~njs/c++-without-stdc++)
- C++ includes exceptions and constructors/destructors, two features we would
definitely need to implement by hand if we used C.
--Micah
--
Only you can prevent creeping featurism!
-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb:
Dedicated Hosting for just $79/mo with 500 GB of bandwidth!
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
Pgui-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/pgui-devel