Skip to content

Comment on How I Built Zig-SQLiteparent

Comments

arbitrary file I/O. I can take my compile time data and write a python script to put it in a std::array, but I shouldn’t have to.

There's a proposal for that https://open-std.org/JTC1/SC22/WG21/docs/papers/2020/p1040r6...

non-fixed-sized containers, ie vector

You can already use them in a constexpr context, you just can't leave it yet. So creating a vector on compile time and then using it on runtime is sadly not working right now but I think that's being worked on as well.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.