Mason Protter
Mason Protter
Can’t we just make it ignore empty lines?
I'm pretty sure it'll not work even if you do it internally (unless you manually `zero` out your buffer)
Hi @wnederpel yeah this is not something that Bumper can support, but it should fail in a more graceful way, I'll try to fix this soon.
Yeah that sounds pretty reasonable to do.
Hm, yeah that seems to be a problem in StrideArrays.jl's broadcast system, it's just manifesting here because Bumper uses types from StrideArrays. ```julia julia> using StrideArrays julia> let a =...
So what's going on here is that Bumper.jl uses StrideArraysCore.jl because it defines nice pointer-backed performant array types. If one loads StrideArrays.jl, then StrideArraysCore.jl will override various things like broadcasting...
Hey Miles, sorry I want to evaluate options soon. I'm considering switching to UnsafeArrays.jl or something like that, or forking StrideArraysCore or something but haven't had time or bandwidth to...
Currently planning on just dropping StrideArrays and switching to https://github.com/LilithHafner/PtrArrays.jl/ instead. Should give us everything we need.
Ah interesting. So the trick here is that `@alloc` is not really its own macro. It's really just a special marker meant to be seen and handled by `@no_escape`. So...
This isn't quite the same, but there is the package https://github.com/ericphanson/AllocArrays.jl which does something similar. I must say though, the idea makes me a bit uncomfortable. Without escape analysis available...