# c is tough but i like it * date: 2021-06-03 * author: la-ninpre * tags: programming tokipona once i created little python script that spits out random toki pona phrase. but then i thought 'well, this is nice. but i wanna go further'. i had an idea that it would be awesome to attach this script to a webpage, so that it's different every time it is loaded (in other words, i wanted it as cgi script). but to do so with python is, eh, i dunno. so i thought 'hmmm, i always had hard time thinking what i can program to learn c' and this was like a flash. yes! let's code this little thing. though, i never thought that it would be so, well, i n t e r e s t i n g. i knew that c involves memory management, and, you know, this was very good opportunity to kinda learn how it all works. i need to say that even though it was pretty tough, the result is pleasing for me. by the way, it works here on my machine (archlinux with zen-kernel) and it works on my debian vm and, hell, of course it runs perfectly on my openbsd server. needless to say that the former was the special target for this program (who else would be serving it anyway?). yes, i know that all that is weird and maybe even stupid, but c'mon. i do tech related stuff just for year now. i mean, i tried before, but if we only count serious attempts, than it's a year. it is running! => /cgi-bin/nimisewi on gemini => https://aaoth.xyz/nimisewi on web => https://fsl.aaoth.xyz/nimisewi.c and here's the source code ## links => /gemlog/ back to post list => /cgi-bin/gemlikes/view?2021-06-03-c-is-tough-but-i-like-it.gmi like and comment!