High-Throughput Game Message Server with Python WebSockets
11–20 of 61 posts
Re: High-Throughput Game Message Server with Python WebSockets
#12Author contemplating an eventual C++ rewrite, but this is a perfect use case for Rust. When you want performance and where memory mistakes can be a serious security problem.
Or F#/C#. Rust will have memory fragmentation over time.
Re: High-Throughput Game Message Server with Python WebSockets
#13Re: High-Throughput Game Message Server with Python WebSockets
#14Earlier quoted context omitted.
Ah yes, C, well known for its memory safety!
As with any tool, if you don't use it properly it can hurt you.
Re: High-Throughput Game Message Server with Python WebSockets
#15Re: High-Throughput Game Message Server with Python WebSockets
#16Author contemplating an eventual C++ rewrite, but this is a perfect use case for Rust. When you want performance and where memory mistakes can be a serious security problem.
Or F#/C#. Rust will have memory fragmentation over time.
Re: High-Throughput Game Message Server with Python WebSockets
#17I chose python because I wanted game development to be fun. Ultimately, I couldn't find an existing python framework for multiplayer games that scaled well to my needs.
Re: High-Throughput Game Message Server with Python WebSockets
#18However, it seems you can't just flick a switch and get encrypted connection like you can with TLS.
So what do people normally use? Does everyone do a custom AES-packet or something?
Re: High-Throughput Game Message Server with Python WebSockets
#19Quesrions for people familiar with the industry: my understanding is that UDP is optimal for fast-pased games, you don't have to wait for re-sends of old packets, etc. However, it seems you can't just flick a switch and get encrypted connection like you can with TLS. So what do people normally use? Does everyone do a custom AES-packet or something?
You want to do everything else over tcp and encrypted.
Re: High-Throughput Game Message Server with Python WebSockets
#20Quesrions for people familiar with the industry: my understanding is that UDP is optimal for fast-pased games, you don't have to wait for re-sends of old packets, etc. However, it seems you can't just flick a switch and get encrypted connection like you can with TLS. So what do people normally use? Does everyone do a custom AES-packet or something?