Comment

Comment by ActorNightly

The best way to think of Rust as essentially the new Java, which sort of "won" over C++ due to its more strict syntax with mandatory OOP and code patterns. Rust enhances this by running most of the checks in the compiler so you get native code, with very few runtime additions for type safety.

But just like Java, its almost useless to code in it for personal or smaller projects.

For almost all of my projects where I needed performant code, the way I would do this is write it in C, and then just call the code from Python or Node. Its much easier to just focus on low level performant C code that can be written in usually one file, and then just write all the interface to it through higher level languages, especially for web frameworks.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton