Skip to content

Enable 'some' experimental features by default in devel #16913

Closed
@nc-x

Description

@nc-x

#16878 (comment)

Maybe, for devel we can enable a few experimental features by default
(features that are supposed to be very close to the finish line, but require a bit of usage to find any major issues).
Three examples would be orc, strictFuncs and strictNotNil.
So, in config/nim.cfg we enable these features in devel.
Anybody using devel would be testing these features then.
Before releasing any new stable version of Nim, these experimental features can be disabled again.
If all goes well these features can be promoted to stable.
This is similar to how it works in Rust and has worked well for them.

@Araq's reply -
#16878 (comment)

Three examples would be orc, strictFuncs and strictNotNil. So, in config/nim.cfg we enable these features in devel.

Good idea. We know that --gc:orc doesn't work yet but I know the other options were tested with bootstrapping. And we should ensure it stays this way, yes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions