I often hear the saying that iostream is inefficient in terms of performance, and it is better to use printf family if type-safe is not concern. But as far as I know, the static type checking (is this thing people call the 'type-safe' do?) is done in the compilation, and even the class mechanism (except virtual function) will not create a burden on run-time. Am I right? Or what exactly makes iostream inefficient?
Samuelandjw 0 Newbie Poster
tux4life 2,072 Postaholic
Samuelandjw 0 Newbie Poster
siddhant3s 1,429 Practically a Posting Shark
tux4life 2,072 Postaholic
Samuelandjw 0 Newbie Poster
tux4life 2,072 Postaholic
Samuelandjw 0 Newbie Poster
tux4life 2,072 Postaholic
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
tux4life commented: Good point. +12
Nick Evan 4,005 Industrious Poster Team Colleague Featured Poster
tux4life commented: Good point :) +12
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
tux4life 2,072 Postaholic
Nick Evan 4,005 Industrious Poster Team Colleague Featured Poster
tux4life 2,072 Postaholic
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Salem 5,199 Posting Sage
MosaicFuneral 812 Nearly a Posting Virtuoso
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.