3 ms·
I haven’t looked in a while, what’s the status of Bun macros? For quite some time I’ve wanted a fast and ergonomic way to override built in runtime behavior for
by eyelidlessness 4y ago
I haven’t looked in a while, what’s the status of Bun macros? For quite some time I’ve wanted a fast and ergonomic way to override built in runtime behavior for object/array literals. E.g. for an efficient implementation of the records/tuples proposal, for which I’ve thought Bun macros could be well suited. I think they’d be equally well suited to a specialized struct factory, which could bypass at least some of the overhead of JS runtime construction.