Skip to content

Conversation

@wks
Copy link
Collaborator

@wks wks commented Aug 2, 2022

After the MMTKBuilder refactoring in mmtk-core, mmtk-ruby now has access
to the strongly-typed Options struct. This allows us to provide a
strongly-typed API for setting the options, instead of serializing
option values into strings and set them via environment variables or API
functions based on string-parsing.

We now provide API for setting the plan and the heap size. More options
can be made available later. Environment variables MMTK_* still work.

After the MMTKBuilder refactoring in mmtk-core, mmtk-ruby now has access
to the strongly-typed Options struct.  This allows us to provide a
strongly-typed API for setting the options, instead of serializing
option values into strings and set them via environment variables or API
functions based on string-parsing.

We now provide API for setting the plan and the heap size.  More options
can be made available later.  Environment variables MMTK_* still work.
@wks wks force-pushed the strongly-typed-options branch from 569997c to 989740f Compare August 3, 2022 07:06
@wks wks marked this pull request as ready for review August 3, 2022 07:10
@chrisseaton chrisseaton merged commit 854b568 into master Aug 3, 2022
@chrisseaton chrisseaton deleted the strongly-typed-options branch August 3, 2022 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants