Live data from Hacker News

A half-hour to learn Rust

fasterthanli.me

141–150 of 342 posts

Re: A half-hour to learn Rust

#144
post #143

What I would like to also see in these types of well written articles is the answer to questions like "what can you do with Rust that you can not do with C?"

Having to ask for permission to corrupt memory.

Re: A half-hour to learn Rust

#146
Preface: This is an honest question, not an attempt to start a "which language is better" war.

I'm proficient in C#. I haven't yet encountered any problems I can't solve with C# and the .Net open source ecosystem. (Perhaps that says more about the banality of the problems I'm solving than about .Net, but there you are.)

What would Rust give me the tools to do that I can't already accomplish with C# / .Net Core?

Re: A half-hour to learn Rust

#147
post #100

When I read these articles everything always seems so understandable, but I can pretty much guarantee that I won’t remember much tomorrow.

Same with me, to learn anything I need to write it down, possibly several times.

Have you tried Anki or similar Spaced Repetition System?

Re: A half-hour to learn Rust

#148
post #146

Preface: This is an honest question, not an attempt to start a "which language is better" war. I'm proficient in C#. I haven't yet encountered any problems I can't solve with C# and the .Net open source ecosystem. (Perhaps that says more about the banality of the problems I'm solving than about .Net, but there you are.) What would Rust give me the tools to do that I can't already accomplish with C# / .Net Core?

Rust is a systems (i.e. lower level) language similar to C and C++ that can be compiled to native standalone executables.

If you're primarily doing app dev work, be it desktop or web, you wouldn't really benefit much from it. Although I think Rust code can be compiled to wasm so you could use it as part of webdev work.

You might also find this an interesting read from the same author: https://fasterthanli.me/articles/i-am-a-java-csharp-c-or-cpl...

Re: A half-hour to learn Rust

#150
post #146

Preface: This is an honest question, not an attempt to start a "which language is better" war. I'm proficient in C#. I haven't yet encountered any problems I can't solve with C# and the .Net open source ecosystem. (Perhaps that says more about the banality of the problems I'm solving than about .Net, but there you are.) What would Rust give me the tools to do that I can't already accomplish with C# / .Net Core?

Predictable (low) pauses. Ability to (easily) embed into other language/app as library/plugin.
Post reply on HN