Okay. Yesterday, I wrote a simple (yet useful) TCP service with Rust, with only the standard library, in about an hour.

Today, I want to write ten dozen things on my TODO list in Rust. And I’m an emphatic C++ programmer.

@SuperFloppies Nice! What would you say you gained compared to a similar program in C++? Security I guess.

@bjonte Well, I still need to analyze the program’s runtimes behavior, but the whole memory safety thing made “just doing it” a lot easier. And the compiler refuses to compile a lot of things, common first-draft-type mistakes.

So far, the best thing I can say is that it saved development time and performed reasonably fast at runtime relative to my existing code in C++.

@SuperFloppies Sometime in the future I want to make a networked game. I may try using Rust for a dedicated server. How’s the debugging capabilities?

@bjonte Haven’t had a chance to mess with them yet. My code worked once the computer accepted it lol.

However that is the next thing, along with profiling, that I’m going to look at.

Sign in to participate in the conversation
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either! We adhere to an adapted version of the TootCat Code of Conduct and have documented a list of blocked instances. Ash is the admin and is supported by Fuzzface, Brian!, and Daniel Glus as moderators. Hosting costs are largely covered by our generous supporters on Patreon – thanks for all the help!