|
Introduction - Rust for C#/.NET Developers[^]:
This is a (non-comprehensive) guide for C# and .NET developers that are completely new to the Rust programming language. Some concepts and constructs translate fairly well between C#/.NET and Rust, but which may be expressed differently, whereas others are a radical departure, like memory management. This guide provides a brief comparison and mapping of those constructs and concepts with concise examples. Now you have no excuse not to learn Rust!
|
|
|
|
|
I've been meaning to bite the bullet. Maybe this will be the final push.
|
|
|
|
|
Nooo, don't tell me you became rusty at this!
|
|
|
|
|
|
Thanks ... The idea of both languages side-by-side makes it very interesting for learning , and Rust Playground makes it even more interesting
modified 20-Mar-24 10:31am.
|
|
|
|
|
peterkmx wrote: and Rust Playground makes it even more interesting
Rust Explorer is better. Richer intellisesnse and inline compiler errors. It also keeps a history even if not logged in. Though not always operational. Not working right now. Code runs but no intellisense.
Kevin
|
|
|
|
|
Thanks, good to know ... I'll keep it on the agenda
Lately I also installed RustRover, I will try it too,
it will be a kind of multi-track learning ...
modified 21-Mar-24 18:02pm.
|
|
|
|
|
Rust for professionals is also worth a look just to get a quick overview of he syntax.
Quote: This is a short introduction to Rust, intended for developers that already know another language. In the examples, Rust is compared with TypeScript, JavaScript or Java, sometimes with C++ or Kotlin.
And also bookmark GitHub - jondot/rust-how-do-i-start: Hand curated advice and pointers for getting started with Rust
What I found initially was that when I first read the initial concepts around ownership and borrowing they seemed straightforward enough. But it's when you start writing real code that things get scary quite quickly.
I remember being stuck for three days at one point when trying to convert a C# program to Rust. I never did solve the problem. Instead I took a different approach.
I'd also say don't sweat over trying to write idiomatic Rust at the first attempt. Just get something working. So in my case when porting an application I just wanted to get the correct results. Having achieved that I then successively "Rustified" it as I started to learn more.
Kevin
|
|
|
|
|
Many thanks, my backlog for multi-track learning becomes still more interesting,
Wish you a good weekend ...
|
|
|
|
|
It's fun though, even when you get stuck. Also the Chat AIs are pretty good. Though these came out well after I'd started learning. It's best to avoid them until you've reached a certain level on your own first. Then you can gain more from them.
Kevin
|
|
|
|
|
Shao Voon Wong wrote: Now you have no excuse not to learn Rust!
But, Zig[^]!
I think that may be a pretty good excuse.
Sorry, just trying to muddy the waters.
|
|
|
|
|
But a long way from 1.0. Having said that, a while back I saw a post from someone who's used both and he feels there could be room for both.
Kevin
|
|
|
|
|
|
And so the wheel turns...
|
|
|
|
|
PIEBALDconsult wrote: we used a book which was designed to teach C to developers who knew Pasca
When I took a C course way back before becoming a dev they actually started with a bit of Pascal before moving to C. But I never used C very much commercially. Started with C++.
Kevin
|
|
|
|
|
I always thought metal and water creates rust, seems I missed something if you have to learn it. I will have to follow suit and start learning then...
|
|
|
|
|
While the terrible Facebook ad featuring PM with Aussie accent is amusing, experts say it's a sign of things to come in political misinformation He doesn't have that accent?
Welcome to our new (un)reality. Every election is going to be horrible from now on, isn't it? (OK, they often already were, but this just makes them even worse)
|
|
|
|
|
Kent Sharkey wrote: Every election is going to be horrible from now on, isn't it? (OK, they often already were, but this just makes them even worse) If only were the elections... I expect a huge increase in a lot of different things, or said with other words, is there anything save from it?
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
|
In open sourcing Garnet, we hope to enable the developer community to benefit from its performance gains and capabilities, to build on our work, and to expand the Garnet ecosystem by adding new API calls and features. Use cache, save cash
*cash savings not guaranteed
|
|
|
|
|
"Daisy, Daisy, give me your answer do. I'm ... half ... crazy ... All ... for ... the ... love ... of ... you ..."
|
|
|
|
|
Google researchers have developed a new artificial intelligence system that can generate lifelike videos of people speaking, gesturing and moving — from just a single still photo. I'm looking forward to seeing it in many videos, trying to sell me shady crypto investments
Sorry about being redundant there.
|
|
|
|
|
Kent Sharkey wrote: trying to sell me shady crypto investments
We could animate the Pharoahs to sell pyramid schemes.
We could animate the Charles Ponzi to sell Ponzi schemes.
...
EDIT: typo
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
modified 19-Mar-24 16:10pm.
|
|
|
|
|
Why will it not surprise me if it is used for something not that "funny"?
Animating certain historic chars to give speechs to / about...
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
We have film or video of every famous (or infamous) person who lived in the past 100+ years, which may be used to animate them. The only use for this new technology is to animate non-famous people, or people who lived before cinema was invented, assuming a photo or statue of them exists.
I doubt very many Americans would care what "Abraham Lincoln" or "George Washington" said about current affairs, Italians would care what "Julius Casear" said about their government, or Germans would care what "Otto von Bismarck" had to say.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|