brenhinkeller / StaticTools.jl

Enabling StaticCompiler.jl-based compilation of (some) Julia code to standalone native binaries by avoiding GC allocations and llvmcall-ing all the things!
MIT License
167 stars 11 forks source link

StaticStrings.jl #27

Open mkitti opened 1 year ago

mkitti commented 1 year ago

I originally started a package called NStrings.jl, but then this became StaticStrings.jl:

https://github.com/mkitti/StaticStrings.jl

Now it occurred to me that we may have a name collision.

Could we check if our goals are compatible here?

brenhinkeller commented 1 year ago

The main goal here is just static-compiler-ability, open to other goals too. StackString could also be an acceptable type name here as a parallel to MallocString

mkitti commented 1 year ago

To be clear, we should be able to make your "StackString" compatible with StaticStrings.jl. They are both NTuple based.

In particular, it maps to the CStaticString type in StaticStrings.jl.