Writing a server for a game about POSIX filesystems in mojo

Hello there)
Yea, I (and a full-stack) have an idea for a game about visualising the shell and filesystem in a 3d space, inspired by Tronmovie and Labirynth of Reflections book.
I am trying my best not to use Python at all, as I want the entire server to be compiled and optimised by llvm. It’s quite a challenge)
So far the data structure goes well, and the dirparsing is very similar to low-level parsing in Python.
The problems I’m facing right now is networking though.
I need a way to establish sockets for quick communications, but the language doesn’t have any networking stdlibs for now.
Obviously, I could use python’s sockets, but that’s not aligned with my goals here)
One of the ideas that comes to mind is using external_call to c libraries distributed as .so files or such, although that still feels a bit chesty.
A proper solution would be to open a stream and parse the file descriptors, and etc, but I lack technical knowledge/time)
If you have any ideas/updates on networking (userlibs or stdlibs), it would be greatly appreciated))

  • Yours forever, and a big fan, kitty_ket

libc is always linked, so you should be able to rely on socket(2) and friends. Networking in the stdlib is blocked on a few features and some design work, so it’s going to be a bit.

Thanks! That’s really useful)
So, external_call stuff for now?

Yes, external_call for now.

sad noises

Tried to use a single language(