Hacker News
points by octoberfranklin 3 days ago | 0 comments
Upshot: even though sglang is written in Rust, they still got burned by undefined behavior from uninitialized memory.
[–] himata4113 2 days ago
This is entirely self inflicted as SGLang is optimized for (near) maximum performance. Another issue is that this is dealing with a device driver rather than system memory which rust has very little control over, as in there is no native implementation in rust that allows you to address multiple-memory buffers. Think how old games had 16 different memory blocks all starting at 0 since the cpu could only address 65 kilobytes.
Hacker News