Evan Teran

Results 399 comments of Evan Teran

Interesting, I think it's even more complex than you mention because if the size of the elements are a multiple of the size of size_t then it's probably OK. I...

More thoughts on this... `malloc` is (i believe) required to return pointers which are suitably aligned to store "any kind of variable". In other words, `size_t *p = malloc(N);` is...

Interesting, I think you may be correct. I was thinking in terms of the alignment of the size_t fields that are BEHIND the user pointer, but forgot that I also...

Nice, I think it MAY be "not too bad" once it's all figured out

A thought that may be "good enough" for all practical use cases. Since the 3 objects of meta-data start at offset 0, and we're looking to just make sure that...

I'm open to it, especially if controlled by a macro so it's opt in. I'd also be even more in favor of a `cvector_shrink_to_fit` macro of some kind that would...

Agreed that this would be awesome. It would be a **lot** of work and also would need to be wrapped in conditional logic since `string_view` is part of c++17 and...

So we actually try to do our best to mark all strings for translation, but we've never gotten any offers for translation. If you're interested in helping with Simplified Chines,...

Oh, I'm very familiar with how it's done :-). For edb it would be slightly different than `.po` files because we would use Qt's built in internationalization system with Qt...

Specifically, as the second link you shared says, we'd use `.ts` files which get compiled into `.qm` files. We'd then want to just make it so edb can load them....