Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Idk what you did, but no garbage collection normally means leaking memory. It does work well, for 5 minutes if you're lucky, then it crashes with an out of memory error.
-
If you have normal instances and do not allocate memory yourself, the destructors will take care of everything. No need for a garbage collector at all.
-
sWaT176y@Lor-inc then we can only hope working for longer than a few minutes wasn't a requirement
-
thestr1556y@beegC0de @Lor-inc The app was an MFC application, which was just a few simple dialogs with the options to go back back at the beginning, which was also developed using threads and events to change the dialogs, so you could use the plugin for more than a just few minutes.
@beegC0de if by that you mean, if i used new or i didn’t, i have to say there are places i did, and there are some i didn’t. Most of when i used was to instantiate dialog views.
I tested the app many times, specifically to see if there were any leaks, but it worked great..
Only thing i know is that they checked the code and they didn’t say anything, even though there are two things i know i did terrible.. memory management and string manipulations, but if they are happy then i don’t have to worry about that π
Also they want to collaborate in the future, so that’s a good sign π
Related Rants
-
xjose97x19Just saw a variable in C named like this: long time_ago; //in a galaxy far away I laughed no stop.
-
Cyborg15A guy and a girl are in a Java seminar. Afterward, the guy approaches the girl and asks, "Hey gurrl, can I ge...
-
Unskipp24So this happened last night... Gf: my favorite bra is not fitting me anymore Me: get a new one ? Gf: but it ...
A friend came to me whether i want to do a project on c++(someone asked him to find a c++ guy).
Me needing money didn’t refuse. Even though i am a Java developer with 0 skills on c++, but wanted to give it a try.
So project started, and it was about a plugin for rhinoceros app(3d graphics app).
The plugin was simple, had some views and some services to upload a file into s3 and some api calls, not something complex..
So i ended up working on the project together with my friend(web dev).
So long story short, we had a lot of issues, but considering we both had no knowledge on c++, we were really lucky to finish the product almost on time(3 days after).
Did no memory management even though i’ve read that we have to do that by our selfs and that c++ doesn’t have garbage collector.
But the plugin worked great even without garbage collector.
Had a lot issues with string manipulation, which almost drive me crazy.
PS: did a post here before taking the project, to ask whether it is a good idea to take the project or not, had some positive and some negative replies, but i deleted the post since i thought i was breaking the NDA i signed ππ
PS2: just finished OCAJP 8 last week with a great scoreπ
rant
rhinoceros
rhino
c++
project
java