Cody Tapscott
Cody Tapscott
```julia @check_allocs sum_args(args...) = sum(args) for x=1:1000 v = collect(1:x) s = sum_args(v...) println("sum(1:$(x)) = ", s) end ``` This code will compile 1000 different (non-allocating) copies of `foo`, where...
```julia julia> @check_allocs foo() = rand(Any[1,1.0]) + true julia> try foo() catch e e.errors[end] end Dynamic dispatch in ./REPL[2]:1 | (source not available) Stacktrace: [1] var"##foo#225"() @ Main ./REPL[2]:1 ```...
The idea here is to add support for printing a (type-annotated) function excerpt as part of our error messages. This may or may not make the MVP milestone.
This has been noticed recently as a cause of hangs. Most recently, we hit a GC segfault due to data corruption. When that happens, finalizers are trigger during process teardown...
This gives users a way to explicitly specify the return type of an OpaqueClosure, and it also removes the old syntax `@opaque AT ...` in preference of `@opaque AT->_ ...`
The majority of relocatability issues have to do with reaching into a hard-coded depot or package path on your local machine, and it'd be very nice to be able to...
Adapting to https://github.com/JuliaLang/julia/pull/54755/ and https://github.com/JuliaLang/julia/pull/55020