Hacker News new | ask | show | jobs
by z3t4 2377 days ago
I like that it looks like Node.js http module. But I'm too scared to use C with pointers and malloc, so I'll stick to Node.js. I'm however jealous of people that are competent in C, assembly or any other low level systems language.
2 comments

Pointers to long lived objects on the heap aren't a big deal in C.

Pointer arithmetic and pointers to ephemeral objects is what sucks.

Try it out! It’s not that complicated to pick up and even a basic understanding of how memory allocation works goes a long way to making you a better programmer.
imo it is not memory allocation that is the problem, but pointer ownership, which C neither helps you understand nor implement