Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why use a scripting language?

Language Scripting
0
Posted

Why use a scripting language?

0

C++ is a powerful language and an enormous improvement over C. However it is not the best choice for all tasks. The emphasis in C++ is run-time performance [Stroustrup94] and no feature will make it into the language if it makes programs run slower. Thus, C++ programmers are burdened with many restrictions and inconveniences. A few of the restrictions – that C++ programmers are so used to they usually don’t notice — include: • · Manual memory management: a huge amount of C++ programmer time is spent making sure that delete gets called at the appropriate time. • Link phase: C++ modules are linked together so that function addresses don’t need to be resolved at run-time. This improves run-time performance, but slows down the edit/test cycle. • Lack of introspection: C++ code has no way of knowing what members are in a class. This makes writing code to load and save objects an enormous task that in some scripting languages is a single call to a built-in function. C++ is static, scripting

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123