-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
enable -d:nimPreviewFloatRoundtrip
#19388
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
Conversation
The test intends to find whether -d:nimPreviewFloatRoundtrip and -d:nimPreviewDotLikeOps work for important packages etc.
datamancer failed to pass, so I made a PR there: SciNim/Datamancer#23 |
There's a problem with this approach: by making patches to important_packages to add incompatibility workarounds, you're at the same time distorting the view of the impact of the breaking changes: everything that is not in there will still break even though important_packages looks green on the surface - this in turn means that 2.0 becomes yet another "throw out all valid nim code out there and start over"-kind-of-release. |
|
Well 2.0 will break somebody's code in order to get a better language and library, that's the point of the exercise. The question is: "how much code?" and "how hard is it to fix?" And experiments with important_packages are providing valuable clues. |
yes, but by fixing them in upstream also distorts the picture of which packages continue to work - one way forward would be to document which important packages have been broken and required a fix: if you notice that after a year of fixing important packages to work with 2.0 almost every package needs a fix, you'll know that 2.0 breaks all nim code out there, and everyone else will have to spend years trying to adapt - we're spending several man-months of developer time trying to fix all things broken by 1.2 -> 1.6 alone - this is a significant cost when using nim at scale. edit: a lot of information has already been lost this way btw: if you count all "make this work with orc/arc"-kind of PR:s in almost every single nim package out there, it's pretty grim - this kind of information is critical when making a go/no-go decision for using nim in a project. |
A couple of remarks in mostly random order:
|
update: SciNim/Datamancer#23 is merged |
-d:nimPreviewFloatRoundtrip
The PR is ready |
@xflywind as I said, can we move |
Ok. |
done. succeeded by #20185 |
The test intends to find whether -d:nimPreviewFloatRoundtrip and -d:nimPreviewDotLikeOps work for important packages etc.
ref nim-lang/RFCs#437