mpl
mpl copied to clipboard
MPL-specific library?
Something I've been considering is making a MPL-specific structure with, for example:
MPL.Parallelwith fork/join primitivesMPL.Concurrencywith atomics, synchronization prims, etc.MPL.Unsafewith e.g. array allocationMPL.GCfor GC statistics and other controls
This would help address the issues #106 and #77.
One big advantage of doing it this way is that we can stay "compatible" with MLton, in the sense that we can sync the MLton library with mainline MLton. In MPL, we would just explicitly deprecate certain functionality (e.g. MLton.GC.pack would raise a "not supported" exception)