Skip to main content
put garbage collection in C++

put garbage collection in C++

44 signatures 6 to reach 50
S
Someone signed
F
Filip M. signed
S
social b. signed
S
Someone signed
J
James J. signed
S
Sándor O. signed
A
Adam signed
I
Ingo E. signed
V
VoskyC signed
G
George T. signed
Started by Anonymous 20 years, 1 month ago
This is a petition towards the C++ committee to add garbage collection to the C++ language standard. C++ is one of the most used programming languages around the world. It is an efficient programming language that can be used for any task, from real time to business applications. Unfortunately there is one big problem with C++ that has costed billions of dollars in the IT industry: C++ enforces manual memory management. This makes it difficult to write and maintain long-standing always-changing applications. I think most of us have witnessed applications that crashed mysteriously, loosing our work. One of the reasons that many C++ applications crash is that it is not possible for the majority of programmers to handle manual memory management in a complex environment, due to its complexity. The solution for this is very easy: add garbage collection to C++. Garbage collection is an automated memory management technique that greatly simplifies many programming tasks. The algorithms for garbage collection are known for a long time, as well as the trade offs. Garbage-collected programs may run a little-bit slower, but a great deal source of errors no longer exists. There are no technical obstacles in adding garbage collection to C++. There are garbage collectors around for C/C++ (like the famous Boehm\'s collector) that are good at what they do...but they are not part of the C++ standard, thus making portability difficult and application writing taking more time than it ought to be. This is an important petition, from the perspective that the world runs on software and it is software that defines many of our everyday activities. C++ happens to be one of the most used programming languages around, with billions of lines of code written and running worldwide...with one big flaw (i.e. manual memory management) that makes the risk of crashing much greater than it ought to be. So let\'s all vote for this petition...it will make software better, and maybe our life!

4 Comments

M
Mike Ward
20 years ago Featured

i know some people want total control but i just want my program to stop crashing every hour. pls add it

D
Dave Iyer
20 years ago Featured

Please make this happen so I can stop chasing memory leaks in my sleep.

S
Sarah Lane
20 years ago Featured

manual memory management in 2017 is just asking for trouble. way too many segfaults

A
Anonymous
9 years ago

This would be very useful for me

Help this petition grow

Share it with friends to help reach 50 signatures.

Sign Petition

We never post to your account. Social sign-in is used only to verify your signature.

or sign with Email

Add a comment?

Your signature will be added via . Tell others why you're signing — it's optional.

By signing, you accept iPetitions Terms of Service and Privacy Policy.

Share Petition

Don't stop at signing, share the petition link with friends to multiply our impact

Copy link or share directly

Instagram
QR Code