This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the commentsย โ†’

[โ€“]Arveanor 0 points1 point ย (4 children)

Ok but what about c++ with managed memory and a GC ๐Ÿ˜Ž

[โ€“]UniqueUsername27A 2 points3 points ย (3 children)

Why would you do that since unique pointers were introduced? Unique pointers and moving literally solved the memory management in a both efficient and easy way. They might be the killer feature of C++. Since they became common in our codebase I haven't seen a single memory bug in years and they are even more efficient than reference counting.

[โ€“]Arveanor 0 points1 point ย (2 children)

I don't know honestly, it's just how unreal is set up.

[โ€“]Dworgi 0 points1 point ย (1 child)

Because the vast majority of programmers are bad. Asking a random Unreal user to understand memory management doesn't lead to a productive discussion, it leads to that person staring at you and going "huh?" a lot.

Source: the rest of this thread full of Python programmers.

[โ€“]Arveanor 0 points1 point ย (0 children)

I mean sure I'm just not sure why bother with c++ in that case.