Skip to content

Commit 4d109c7

Browse files
Fully excise support for static
> If one is looking for an interface which includes functionality for statically-computed values, see StaticArrayInterface.jl. This was separated from ArrayInterface.jl because it includes a lot of functionality that does not give substantive improvements to the interface, and is likely to be deprecated in the near future as the compiler matures to automate a lot of its optimizations. When digging through those functions, it's just a completely different library. It shouldn't be mixed with generic programming requirements. Those have nothing to do with generic programming, they were specifically for enforcing static guarantees, which is better done by the compiler with effects analysis these days anyways. So this entire part of the library is being scrapped. I will open a new library, StaticArrayInterface.jl, which can be dedicated to that. But I don't want that polluting the code here, especially since a lot of it is not easy to read and not things the compiler team would recommend people doing. Along with the fact that it was the vast majority of the load time and used by almost no downstream packages. Bye static code, good riddance. That is finally completed.
1 parent ba8116f commit 4d109c7

27 files changed

+58
-4078
lines changed

Project.toml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,13 @@ version = "6.0.25"
44

55
[deps]
66
Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"
7-
Compat = "34da2185-b29b-5c13-b0c7-acf172513d20"
8-
IfElse = "615f187c-cbe4-4ef1-ba3b-2fcf58d6d173"
97
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
108
Requires = "ae029012-a4dd-5104-9daa-d747884805df"
119
SnoopPrecompile = "66db9d55-30c0-4569-8b51-7e840670fc0c"
1210
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
1311
SuiteSparse = "4607b0f0-06f3-5cda-b6b1-a6196a1729e9"
1412

1513
[compat]
16-
Compat = "4"
1714
SnoopPrecompile = "1"
1815
Requires = "1"
1916
julia = "1.6"
@@ -23,10 +20,7 @@ ArrayInterfaceBandedMatricesExt = "BandedMatrices"
2320
ArrayInterfaceBlockBandedMatricesExt = "BlockBandedMatrices"
2421
ArrayInterfaceCUDAExt = "CUDA"
2522
ArrayInterfaceGPUArraysExt = "GPUArraysCore"
26-
ArrayInterfaceOffsetArraysExt = ["OffsetArrays","Static"]
27-
ArrayInterfaceStaticArraysExt = ["StaticArrays","Static"]
2823
ArrayInterfaceStaticArraysCoreExt = "StaticArraysCore"
29-
ArrayInterfaceStaticExt = "Static"
3024
ArrayInterfaceTrackerExt = "Tracker"
3125

3226
[extras]
@@ -35,28 +29,23 @@ BandedMatrices = "aae01518-5342-5314-be14-df237901396f"
3529
BlockBandedMatrices = "ffab5731-97b5-5995-9138-79e8c1846df0"
3630
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
3731
GPUArraysCore = "46192b85-c4d5-4398-a991-12ede77f4527"
38-
OffsetArrays = "6fe1bfb0-de20-5000-8ca7-80f57d26f881"
3932
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
4033
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
4134
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
4235
SuiteSparse = "4607b0f0-06f3-5cda-b6b1-a6196a1729e9"
4336
SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f"
4437
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
4538
StaticArraysCore = "1e83bf80-4336-4d27-bf5d-d5a4f845583c"
46-
Static = "aedffcd0-7271-4cad-89d0-dc628f76c6d3"
4739
Tracker = "9f7883ad-71c0-57eb-9f7f-b5c9e6d3789c"
4840
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
4941

5042
[targets]
51-
test = ["SafeTestsets", "Pkg", "Test", "Aqua", "Random", "SparseArrays", "SuiteSparse", "Static", "BandedMatrices", "BlockBandedMatrices", "GPUArraysCore", "OffsetArrays", "StaticArrays", "StaticArraysCore", "Tracker"]
43+
test = ["SafeTestsets", "Pkg", "Test", "Aqua", "Random", "SparseArrays", "SuiteSparse", "BandedMatrices", "BlockBandedMatrices", "GPUArraysCore", "StaticArrays", "StaticArraysCore", "Tracker"]
5244

5345
[weakdeps]
5446
BandedMatrices = "aae01518-5342-5314-be14-df237901396f"
5547
BlockBandedMatrices = "ffab5731-97b5-5995-9138-79e8c1846df0"
5648
GPUArraysCore = "46192b85-c4d5-4398-a991-12ede77f4527"
57-
OffsetArrays = "6fe1bfb0-de20-5000-8ca7-80f57d26f881"
58-
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
5949
StaticArraysCore = "1e83bf80-4336-4d27-bf5d-d5a4f845583c"
6050
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
61-
Tracker = "9f7883ad-71c0-57eb-9f7f-b5c9e6d3789c"
62-
Static = "aedffcd0-7271-4cad-89d0-dc628f76c6d3"
51+
Tracker = "9f7883ad-71c0-57eb-9f7f-b5c9e6d3789c"

docs/make.jl

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,11 @@
11
using ArrayInterface
2-
using Pkg
3-
4-
function dev_subpkg(subpkg)
5-
subpkg_path = joinpath(dirname(@__DIR__), "lib", subpkg)
6-
Pkg.develop(PackageSpec(path=subpkg_path))
7-
end
8-
dev_subpkg("ArrayInterfaceCore")
9-
10-
using ArrayInterfaceCore
112
using Documenter
123

134
makedocs(;
14-
modules=[ArrayInterface, ArrayInterfaceCore],
15-
sitename="ArrayInterface",
5+
modules=[ArrayInterface],
6+
sitename="ArrayInterface.jl",
167
pages=[
17-
"Home" => "index.md",
18-
"API" => "api.md"
8+
"ArrayInterface.jl: An Extended Array Interface for Julia Generic Programming" => "index.md",
199
]
2010
)
2111

docs/src/api.md

Lines changed: 0 additions & 117 deletions
This file was deleted.

0 commit comments

Comments
 (0)