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.

OK, then why isn C– a subset of C?

Ok subset
0
Posted

OK, then why isn C– a subset of C?

0

For efficient compilation of modern languages, we need features that C just doesn’t provide efficiently: • Ability to return multiple values in registers • Optimized tail calls to any procedure • Global variables bound to registers • Ways to tie garbage-collection information to particular program points • Support for exceptions • Support for lightweight concurrency The latter three are the real killers: C– provides a run-time interface that allows the state of a suspended C– computation to be inspected and modified at runtime. C has no equivalent for this.

Related Questions

What is your question?

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

Experts123