Follow

Hmm... If I was to write an instance, I could use C++, or perhaps, Go.

Though if it was Go, I would have to use a fair bit of off-heap memory.

The garbage collector can be fairly resource intensive (from what I remember, it scans every pointer on the heap). That was the reason Discord abandoned it for another language in one area.

Off-cheap memory would use something like a mmap syscall and unsafe to cast memory back and forth.

It's probably still more efficient than the higher level languages.

Other than writing it in Python (isn't that a bit boring?), I don't see a whole lot of interesting avenues to go in either.

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.