Been working on a web backend with #rust and Rocket.
Normally a Node.js + Express server has a 33 ms local latency and uses 660 mb of ram, so it was a really pleasant surprise to see the Rocket use only 2 mb of ram and have a 22 ms local latency.
Turns out to debug OpenGL in RenderDoc you need to support at least GLSL 1.10 and up, so it's a good idea to have your shaders target as many versions as possible.
When reading serial data with #rust, make sure to make your read buffer reasonably large, some USBs on some devices need a bigger buffer than others.
Setting my buffer from 16 to 256 bytes basically made a program that only worked on one PC work on 2 PCs.
Was working on the settings system for a #Rust game today, loving that JSON serialization with serde-json is so easy!
Fixed an issue with reading data from serial inputs in #rust, remember to always use terminators between samples!
[ Your Data Bytes ][ Some End of Stream ]
Got VS Code debugging working with #rust and LLDB, cool to see the instructions/registers/call stacks your code boils down to!
Apparently using #rust language server on windows requires that you have MSBuild tools installed, not Visual Studio, so just a heads up. :cold_sweat:
Graphics Software Engineer @ Marmoset.co. Writes about 🛆 Computer Graphics, 🎨 Art & 🎹🎸 Audio Design/Engineering.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!