-
Notifications
You must be signed in to change notification settings - Fork 38
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
Reconsider use of Setfield #215
Comments
I'd say @jw3126 is generally very careful about API compliance. The only API "violation" I can recall in Setfield.jl is these use of generic functions in the generator body of |
Hm, ok... I am worried, I have to admit though, that it looks like Setfield is really trying to push what can be done with the compiler and seems to rely on a fair number of pretty complicated stuff (that I don't even understand from glancing at it briefly). I think it is quite normal that such things take time to bake and get stable, but for a pretty run of the mill package like VegaLite it seems not super ideal to have a dependency on something like that. Let's leave it in for now, but maybe we can keep an eye on it and I'd say that if we run into a similar issue like this crash via the |
Setfield is a clever package but, compared to (say) crazy auto-diff packages, I'd say it uses pretty standard tech (the most advanced one being BTW, as I mentioned in JuliaLang/julia#29428 (comment), it is pretty easy to invoke this without any overload of |
Yeah, I'm trying to come up with a way to make the extension more robust, but it is tricky when things segfault... |
I am curious, why do you need to depend on |
@tfk, is Setfield.jl doing more stuff like jw3126/Setfield.jl#113? I see the value it brings to the table, but on the other hand I think we should not take dependencies here that use especially clever, but at the end brittle, tricks like that one...
The text was updated successfully, but these errors were encountered: