Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MPL-specific library? #103

Open
shwestrick opened this issue Dec 6, 2019 · 0 comments
Open

MPL-specific library? #103

shwestrick opened this issue Dec 6, 2019 · 0 comments

Comments

@shwestrick
Copy link
Collaborator

shwestrick commented Dec 6, 2019

Something I've been considering is making a MPL-specific structure with, for example:

  • MPL.Parallel with fork/join primitives
  • MPL.Concurrency with atomics, synchronization prims, etc.
  • MPL.Unsafe with e.g. array allocation
  • MPL.GC for 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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant