lazy_importer icon indicating copy to clipboard operation
lazy_importer copied to clipboard

Please make a C version

Open muturikaranja opened this issue 3 years ago • 3 comments

A lot of us would really like one..

muturikaranja avatar May 13 '22 22:05 muturikaranja

The problem with C is that AFAIK there are no ways to guarantee compile time computation.

I would probably be possible to create something with tons of macros, but 🤷

JustasMasiulis avatar May 14 '22 13:05 JustasMasiulis

Yeah one way is macros. Also, how can I compile this without the runtime?

muturikaranja avatar May 15 '22 12:05 muturikaranja

This doesn't really use any from "runtime". If you don't have C++ includes you can define LAZY_IMPORTER_NO_CPP_FORWARD to get rid of the only things I use from there.

JustasMasiulis avatar May 16 '22 11:05 JustasMasiulis