feeling inadequate (because I am)
Y'all posting about genuinely useful software, meanwhile I am having big difficulties with writing a program that parses JSON and automatically crams it into a C struct so that I don't have to write lots of boilerplate...
(It's for my Mastodon client, since the Mastodon API uses JSON)
So that for example you can have a struct post, a description of which fields you're interested in and what datatype they have, and the library should both parse the fields and cram them directly into the struct post instead of wasting memory on storing a full description of a JSON when I don't even care about most fields
It's not going well because I'm stupid, and also this is probably incomprehensible
(Not asking for advice because that'd require me to explain in words what I'm doing, and that's too hard)
re: feeling inadequate (because I am)
@vaporeon_ pets the vappy
re: 😈
@vaporeon_ TypeScript has generics :)
re: 😈
@vaporeon_ can the vaporeon run javascript code with this: https://bellard.org/quickjs/
re: 😈
@wallhackio Reported
(Good luck running TypeScript on any computer that is older than 10 years or so...)