You're viewing a single thread.
View all comments
18
comments
This is why I only allocate on the stack
25 0 ReplyPeople who are enthusiastic about using pointers in C++ are doing it wrong. Never use a pointer when you can get away with a reference.
19 1 ReplyFor C++, yes. But "reference" is just a way of using the pointer when it comes to C
23 0 ReplySure, but that's technically allocation-agnostic either way.
8 0 Reply
Based nasa compliant engineer
13 0 ReplyThis guy gets it
Static allocation for the SIL ratings
9 0 Reply
Stack overflow intensifies
11 0 ReplyI only use the registers.
3 0 Reply
You've viewed 18 comments.
Scroll to top