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

Remove Static dependency #42

Open
YingboMa opened this issue Oct 5, 2023 · 3 comments
Open

Remove Static dependency #42

YingboMa opened this issue Oct 5, 2023 · 3 comments

Comments

@YingboMa
Copy link
Member

YingboMa commented Oct 5, 2023

No description provided.

@chriselrod
Copy link
Member

Having something acting integer-like but with compile-time known size is useful, as it makes it easier for more generic code to support sizes and strides.

But we don't need the full and invalidating parts of Static.jl for that.

@chriselrod
Copy link
Member

We do want ArrayInterface support for as long as we have LoopVectorization.jl.

So, options are:

  1. Unilaterally declare Static.jl is going in this direction, and strip out what we don't want, so we get ArrayInterface support without needing to make too many changes there. Changes are probably mostly around conveniences like convert and promote methods, which we abandon.
  2. New small lib, move ArrayInterface to that.
  3. Wait for LoopModels. New small lib/stripped Static.jl, forget about full ArrayInterface.

@Tokazama
Copy link
Member

Tokazama commented Oct 6, 2023

For what it's worth, I'm open to stripping out a few things from Static.jl. For example, I've thought for a while now that static float types may be better to have in a dedicated mathematics package.

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

3 participants