Native regions: a borrow-checked sublanguage inside Clojure

6 points by Yogthos


veqq

I like the API of calling the types in native. What others did you think of and reject? I've been wracking my brains with different approaches for this for months with declarative-dsls. Of course, it's different, the C side and not sensible for small data. Currently I have compress optionally take specific columns to narrow as tightly as possible, without the user knowing about them, or (va/from :uint8 [1 2 3 4]) to do specific casts. Wrapping it as a macro instead seems quite nice! (I have a select-fast macro which does some of this work but...)