4 ms·
Dynamic code loading is what makes C#/.net orm's fast (see Dapper, Destrier, PetaPOCO etc.) Basically they let you use an IL generator to emit a bunch of IL ope
by bigdubs 12y ago
Dynamic code loading is what makes C#/.net orm's fast (see Dapper, Destrier, PetaPOCO etc.) Basically they let you use an IL generator to emit a bunch of IL operations, then compile them to a delegate. This is useful specifically for creating the methods that take a data reader and turn discrete columns into fields on a database mapped object.
As soon as we can do this with Golang the orms we use will get much faster.