Enabling StaticCompiler.jl-based compilation of (some) Julia code to standalone native binaries by avoiding GC allocations and llvmcall-ing all the things!
Adds a stack-allocated StackArray type that mirrors the syntax and conventions of MallocArray
StackArray:MallocArray::StaticString:MallocString
As with StaticString vs MallocString, the size of the stack-allocated option must be known at compile time to be StaticCompilerd
Slice-indexing either a StackArray or a MallocArray now returns a lightweight ArrayView (similar to how slice-indexing either a StaticString or MallocString returns a StringView to avoid excessive copying
StackArray
type that mirrors the syntax and conventions ofMallocArray
StackArray
:MallocArray
::StaticString
:MallocString
StaticString
vsMallocString
, the size of the stack-allocated option must be known at compile time to beStaticCompiler
dStackArray
or aMallocArray
now returns a lightweightArrayView
(similar to how slice-indexing either aStaticString
orMallocString
returns aStringView
to avoid excessive copying