It's been two evenings I'm trying to code again and... nothing despite my motivation. I've wanted to use this big break to start again some projects in C but I don't have the mindset right now. Maybe I need a bigger break to recharge my brain.
@thomasorus have you checked out nim? statically typed, compiles to c, fun to write, fast and free, etc ... however...
it's more important to choose what is right for YOU than what other people tell you to do, or whatever is in vogue in merveilles (or elsewhere). i am skeptical of lots of things but trying new programming languages for fun isn't one of them for sure haha
at the moment end of the day, PL are just ways to get something done. if you enjoy it and can do it fast enough... ✨🌺💚💅
@metasyn Well there are a lot of languages and things to try that seem fun! The thing is, I want to cultivate myself on a low level language by doing a real project on it and C seems like a cool challenge. If I don't enjoy it in the end I'll just redo it in my language of choice.
@thomasorus @bd @metasyn I’ve got a very naive markdown to gemtext converter I wrote in C which has my solution to the problem at least... I can send you the code for it for reference if you’d like because it’s mercifully short.
I mostly tried to go for ruthless resource efficiency, terseness and making it pass valgrind and with warnings dialled up to 11 on clang and.
Really not a C expert myself though!
You can either `make README.md` or just read the contents of it out of the beginning of `to_gem.c` - I kinda tried out some weird things with this because I didn't think anything would ever use it :P
But yeah, the code's all in one file with the docs, and I appear to have documented all of the functions!
Merveilles is a community project aimed at the establishment of new ways of speaking, seeing and organizing information — A culture that seeks augmentation through the arts of engineering and design. A warm welcome to any like-minded people who feel these ideals resonate with them.