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

Switch to Preferences.jl #15

Closed
Arkoniak opened this issue Mar 9, 2022 · 1 comment
Closed

Switch to Preferences.jl #15

Arkoniak opened this issue Mar 9, 2022 · 1 comment

Comments

@Arkoniak
Copy link
Owner

Arkoniak commented Mar 9, 2022

Currently I am using custom code to work with preferences. There is a project https://github.com/JuliaPackaging/Preferences.jl which should make it more reliable and stable.

@Arkoniak
Copy link
Owner Author

Arkoniak commented Mar 9, 2022

Ok, after some investigation, it turns out that the usage of Preferences.jl has following drawbacks:

  1. It works only with Julia 1.6+. Of course, 1.6 is new LTS, so there is no need to support older versions. On the other hand, this is the only package, which adds this restriction, so it's a big impact with little value.
  2. As it turns out, it is impossible to make Julia independent preferences, on the contrary, preferences are very fragmented. The only solution is to make changes to startup.jl, which kind of defeat the purpose. See: Another storing location JuliaPackaging/Preferences.jl#30 (comment)

So, Preferences.jl is useless in the context of the BenchmarkExt.jl project. It makes no sense to use it.

@Arkoniak Arkoniak closed this as completed Mar 9, 2022
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

No branches or pull requests

1 participant