There is a saying "At times a needle can do what a sword cann't" . Same holds true in case of programming languages !!
There was no excuse. There was a point made - "If one likes C++ use C++ nobody is stopping him/her. But that doesn't mean all other languages are bad or are pathetic."
I wonder if C++ is so good and STL is such a godly thing then why did we need to go to Objective-C. Why do iOS applications need that and why didn't C++ and STL did the magic. The answer is every tool / technology has its application. Loading a heavy container ( vector/ list) doesn't make sense when all you need to implement is a skip list.
Salute to your efforts and I see a lot of commitment there. Would request you to add these posts in your post as well. Will help people directly coming over there. !!
Nice to know that you write million lines of code.
I worked for one founder once. He earned $137 million by selling his products. He had worked on similar products for 15 years in his previous companies, primarily in C++. But when he started on his own - he chose C. He chose C for its own qualities and I am sure he would have missed some good qualities of C++ but then that is a compromise that come with early decision.
"Not possible to have made in C." -- Is it really true ?? I don't need the answer. You need to answer yourself.
"one guy (or a small team), properly trained and experienced, can move mountains with a high-leverage language." -- But if guy is not properly trained he can create a mess which is hell to clean also.
"1000 monkeys on 1000 typewriters can make something large in C" -- Every time you are using an STL container, that container has already been written by someone else. Every template you use, compiler generates the actual code for it. Every time you include a library , it was written in actual C/C++ code by someone else. Use g++ -E option to compare the "pre processed" code and compare the things.
That's what even I am saying : It is about personal choice. If you like C++ use C++ nobody is stopping you. But that doesn't mean all other languages are bad or are pathetic.
"Enlightening" was for realizing that debate can never end but realization can come that both languages are good in their own space. None is like superior than other at least in case of C and C++.
Not ambitious !!!
If it makes you feel happier , I will say , Linux, Gcc , valgrind .... all were NOT ambitious projects. But everybody knows what the FACT is !!
1. Most of the compilers restrict the size of Stack to be much less than the size of heap.
2. If you use the space of this stack for dynamic memory allocation as well, you will be limiting your capacity to write recursive functions.
3. it will depend on the kind of system you are developing. If you are developing some tool to analyze millions of tweets, you have to use "heap" there is no alternate. If you are developing an embedded application " say loading your list of conatcts for sending the message yes there you can get away with allocating the memory on stack itself. But then there most of the phones do not allow you to make a list of more than 25-30 people.
So it depends on the application one is willing to develop and K&R well recognized it in early 70s itself that is why they introduced alloca in addition to malloc , calloc
1. Is there any tool where I can check the page speed of a website.
2. for a site like http://syncfin.com where i have to use 4 bright images, is there any particular format I should keep the images in. Basically when there are multiple heavy images to be loaded , what would be the best strategy to optimize the page speed.
thanks in advance for any pointers to relevant articles and tips.
Could be it was because facebook wanted to focus and capture other important stuff like - facebook comment plugin , facebook like button, facebook share plugin ...
They always knew that replicating craiglist can be done any day later.
Probably because it was after his divorce we got the famous quote ( which applies so well to entrepreneurship ) - "A person who has never made a mistake has never tried anything new."
There was no excuse. There was a point made - "If one likes C++ use C++ nobody is stopping him/her. But that doesn't mean all other languages are bad or are pathetic."
I wonder if C++ is so good and STL is such a godly thing then why did we need to go to Objective-C. Why do iOS applications need that and why didn't C++ and STL did the magic. The answer is every tool / technology has its application. Loading a heavy container ( vector/ list) doesn't make sense when all you need to implement is a skip list.