Hello.
Thank you very much to everyone who helped me. I finally completed the Standard ML version of my server (with event-driven architecture).
I made sure in practice that high-performance asynchronous servers can be done using PolyML and MLton.
The performance of PolyML also surprised me pleasantly...
For MLton I used memmove for string concatination. I also found out that PolyML FFI is a bit slow.
In general, my impression is very positive.
Thank you for PolyML and MLton.
Nick.