|
|
|
|
|
by cmbaus
4445 days ago
|
|
There is a big discussion going on that could be misleading. To clarify, are we calling the freelist implementation, which the heartbeat code does not use, an allocator? Update: I agree with the author that it is wrong to point the blame at the freelist implementation. If every C application that manages the reuse of commonly used data structures is doing wrong, then pretty much every modern server application will have to be re-written -- for instance Apache [1]. C is fast and portable and binds to just about any language which is why OPENSSL is in such wide use. Maybe it would be better to use more 'secure' languages like Go, but if OPENSSL was written in Go, how many applications would use it? I'd say almost none. [1] https://apr.apache.org/docs/apr/1.5/group__apr__pools.html |
|