Or even better, Haskell!
- [Calling Haskell from C - HaskellWiki](https://wiki.haskell.org/Calling_Haskell_from_C)
And the FAQ on the Haskell wiki directly addresses this too:
- https://wiki.haskell.org/Introduction#I_already_have_a_large....
So apparently it is doable!
For many projects that is a showstopper.
https://stackoverflow.com/questions/3859340/calling-haskell-...
haskell is not tailored for that.
of course there are other domains for which haskell is top-nocth and rust falls flat.
So, yeah, no allocations in situations like that. Allocate at start-up, and re-use your buffers (for that kind of code).