Comment by sanxiyn

Comment by sanxiyn 5 days ago

10 replies

As far as I know there is no technical reason why jemalloc shouldn't be the default allocator. In fact, as pointed out in the article, it IS the default allocator on FreeBSD. My understanding is it is largely political.

kstrauser 5 days ago

Now that I think about it, I could easily imagine it being left out of glibc because it doesn't build on Hurd or something.

  • lloeki 4 days ago

    > I could easily imagine it being left out of glibc because [...]

    ... its license is BSD-2-Clause ;)

    hence "political"

    • vkazanov 4 days ago

      Huh? Bsd-style licenses are fully compatible with gpl.

      The problem is exactly this: Facebook becomes the upstream of a key part of your system.

      And Facebook can just walk away from the project. Like it did just now.

      • lloeki 4 days ago

        They are compatible but that's not the point.

        If it were included it would instantly become a LGPL hard-fork because of any subsequently added line of code, if not by "virality" of the glibc license, at least because any glibc author code addition would be LGPL, per GNU project policy/ideology.

        Also also this would he a hard bar to pass: https://sourceware.org/glibc/wiki/CopyrightFSForDisclaim

        As I recall this is what prevented Apple from contributing C blocks† back to upstream GCC.

        https://github.com/lloeki/cblocks-clobj