On the incompleteness of C: Postgres is a database, but also a runtime (fully custom memory management infrastructure), a standard library (custom string builder, linked list, hash map, sorting, ...), and even language (custom longjmp-based try/catch/raise mechanisms).
-
-
E.g. while there's parts of PG that'd benefit from a GC, it'd be a bad idea to rely on it for the majority of a query's memory. Having many gigabytes of memory that need to be GCed will lead to pauses, especially when consisting out of many small allocations.
-
Parts that'd benefit from GC: Much easier lock-free algorithms.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.