|
-
May 18th, 2010, 02:58 PM
#1
why should you use c++ in this project ?
I read all over the web about how scripting programming languages (like ruby or python) are fast for writing programs quickly. so i would like you to consider a programming project that is :
1- the length of source code is in the magnitude of few hundreds to few thousands lines of code.
2- not a low level (driver / OS level) program.
question : since developing my program in ruby or python will be much faster(i assume) what are the reason(s) why i should consider using c++ over ruby /python for such project ?
sharing your practical experience will be greatly appreciated.
thank you
-
May 18th, 2010, 03:01 PM
#2
Re: why should you use c++ in this project ?
It really depends on what you're trying to do.
-
May 18th, 2010, 06:37 PM
#3
Re: why should you use c++ in this project ?
Today, C++ mostly excels at writing low level stuff (drivers, embedded systems), or programs that have very high performance needs in terms of speed and/or memory management.
Pretty much EVERY NEWER LANGUAGE out there is faster than C++ in development speed. However, none of them offer the fine grain control C++ offers.
IMO, the question isn't "which is better" but "will Python/Perl/Java be fit for the job". If the answer is no, then you fallback to C++. That's my view anyways.
Is your question related to IO?
Read this C++ FAQ article at parashift by Marshall Cline. In particular points 1-6.
It will explain how to correctly deal with IO, how to validate input, and why you shouldn't count on "while(!in.eof())". And it always makes for excellent reading.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|