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 12 forks source link

StaticStrings.jl #27

Open mkitti opened 2 years ago

mkitti commented 2 years 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 2 years 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 2 years 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.