#gemini #programming #C
I'm creating a new Gemini browser in C with Ncurses, named (very creatively) Gemcurses.
It's actually my first project in C, so my code is messy and I'm sure it has a ton of bugs, but it somewhat works!
It requires only Ncurses and OpenSSL libraries.
Feel free to check it out, and tell me what you think and what i need to fix/change/add :)
@crusom Oooh, C... Memory bugs incoming!
Little tip: Use the tool valgrind. It checks for leaked memory, use after free, invalid access (although you'll notice that yourself) and more.
@tobtobxx yes, I use it extensively, it's definitely must-have!
In normal use, I haven't encountered leaks, but it's C, and I know that my code isn't safe at all :p
I know it might not be the best tool for the job (C++ and Rust are much safer, and strings operations are MUCH easier), but I want to learn C and I'm also interested in binary exploitation so yeah :D
@crusom No, definitely go forward. C can do much (I don't need to prove that). And if you put thought into it (and don't have to worry about other people's code), then C is absolutely suited.
For simple projects that need to interface with C libs, I think C is sometimes easier and faster than Rust and friends.