4 ppl who code gemini servers or clients
what programming languages do you code in for ur server/client? i made a server so far in node, and another in lua (i am also making a barebones client in lua)
(also this is my first time posting in bbs in general, so sry if i broke one or two post quality rules)
#programming
Apr 07 · 8 months ago · 👍 rellwood, fab, Not4uffinonMobile, kintrix
12 Comments ↓
I wrote a server in C a couple years back. Haven't actually ever used it though, because as I found out, there wasn't anything I actually wanted to write about lol.
@mstrmeow I wrote a Gemini server in rust as a learning project a few years back, which I would not run in production myself because it may have security bugs. I'm not working on it anymore, and today I would try writing a server in Go which should be pretty easy.
I'm a big fan of the Go language and it has an excellent tool chain and library ecosystem. It's like a good mixture of C++ and Python, but without their problems. C++ can be very insecure and therefore dangerous and Python has a mess of dependency ecosystem. It's also easy to cross-compile. You simply choose your OS and architecture and run "go build" and get a self contained one file binary without dependencies.
@fab yeah i know la experience of compiled langs. i may write a gemini server in c if i research abt tls on c good enough
@undefined c gang, hell yea!
I wrote servers in C (one of them ran on ESP32), Python (CPython and MicroPython) and Go; clients in C and Python - big fan of Go (my goto language for server/backend stuff, both in dayjob and personal projects) but my mother tongue is C and Python lovers tend to hate me
I wrote a client in C.
i'm writing a server in rust. currently functionality is still limited, but it's coming along nicely :)
I wrote a server in Java using asynchronous vert.x. I shoehorned it into my vert.x web server which is running in the Google "free tier" (less than a dollar a month so far). It's basic but supports Titan edit and serves up my gemlog, help pages and remote sync. I'm thinking about adding cgi support so I can make programs without having to recompile the server.
I also wrote a client in Java (also using vert.x for networking).
My darling is Common Lisp. It is the only "perfect" programming language.
oh wow, a bunch of c over here, and also some uniques like java and "common" lisp (no offense @rellwood)
If I made either of those I'd try it in Common Lisp, mostly because it's challenging (to me) right now. Otherwise Go, because it's a fun language.
I wrote my server in Lua,, along with a very minimal client, also in Lua.