It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
...should I learn Rust?

[ ] - Yes
[ ] - Have you heard about Zig?
[ ] - Definitely.
[ ] - Use Go. Its so Good!
[ ] - Try Assembly first. Back in my day I used to.. (...)
[ ] - Of course!
[ ] - Let me show you how Python works everywhere!
[ ] - No, never.
[ ] - If you like to suffer.
[ ] - Every tool has its use, so if you.. (...)

Thank you.
avatar
.Keys: Coming from Java and C, let me ask you...
...should I learn Rust?
[x] It's never wrong to learn something new, so - go ahead!
[x] - Only if you want to join the ranks of insufferable zealots
Our opinion on this does not matter. Your use case should be your compass. What you intend to do with anything you learn, should define what you choose to learn. Because without any goal, you set. There is little purpose to learning.

This is aimed at his query. Not some deep posit about anything else.
avatar
.Keys: Coming from Java and C, let me ask you...
...should I learn Rust?
avatar
BreOl72: [x] It's never wrong to learn something new, so - go ahead!
Good!
avatar
vv221: [x] - Only if you want to join the ranks of insufferable zealots
What you mean? :p
avatar
Shmacky-McNuts: What you intend to do with anything you learn, should define what you choose to learn.
Because without any goal, you set. There is little purpose to learning. - Shmacky, 2024
You gave me inspiration for life, actually.
For what purpose do you intend to use this for?
Is there any reason for you not to learn rust?
Learning is always good.
avatar
.Keys: ...should I learn Rust?

[ ] - Yes
[ ] - Have you heard about Zig?
[ ] - Definitely.
[x] - Use Go. Its so Good!
[x] - Try Assembly first. Back in my day I used to.. (...)
[ ] - Of course!
[ ] - Let me show you how Python works everywhere!
[x] - No, never.
[ ] - If you like to suffer.
[ ] - Every tool has its use, so if you.. (...)

Thank you.
no, it's just a trend promoted by (((them))) that's going to die off anyways, nothing can replace good old c and asm, they are THE timeless languages, though use go for a memory safe language since the guy who was involved in the creation of c was also involved in the creation of it so it must be another masterpiece (or atleast close) like c
I'd say that yes, it's worth learning.

Rust does have some nice characteristics. For example, if you can get your code to compile, it very likely works as intended. Furthermore, if your code fails to compile, the compiler error messages are actually quite helpful.

I could also recommend learning a bit of Haskell, even if you don't plan to use it for serious code; it will introduce you to a programming paradigm that's very different from what you're used to, and much of it can be applied to modern languages.

(I'm actually writing a computer game in Rust; progress is slow but steady, and I don't get stuck with heisenbugs and other hard to find bugs nearly as often.)
avatar
.Keys: ...should I learn Rust?

[ ] - Yes
[ ] - Have you heard about Zig?
[ ] - Definitely.
[x] - Use Go. Its so Good!
[x] - Try Assembly first. Back in my day I used to.. (...)
[ ] - Of course!
[ ] - Let me show you how Python works everywhere!
[x] - No, never.
[ ] - If you like to suffer.
[ ] - Every tool has its use, so if you.. (...)

Thank you.
avatar
Nutty_the_Squirrel: no, it's just a trend promoted by (((them))) that's going to die off anyways, nothing can replace good old c and asm, they are THE timeless languages, though use go for a memory safe language since the guy who was involved in the creation of c was also involved in the creation of it so it must be another masterpiece (or atleast close) like c
Are those excessive parentheses necessary?

(I rejected Go because an unused variable is a hard error; also, the language doesn't play well with C the way Rust does.)
avatar
.Keys: [ ] - Let me show you how Python works everywhere!
It even works with Rust; you just need the pyo3 crate.

(On the other hand, Python isn't suitable for low-end microcontrollers; Rust, on the other hand, can be used there.)
Post edited December 14, 2024 by dtgreene
avatar
dnovraD: For what purpose do you intend to use this for?
Want to build a hobbie project for Android / iOS and another for Windows / Linux, but I've never "worked" on a "big" GUI project like the ones I want to create, alone.

First I tried setting up Cordova and Electron for the ease of HTML/CSS GUI creation, but I noticed, researching, that apps built with Electron tend to be badly optimized and I want it to work fast and well.
Then researched a bit about wxWidgets, GTK, and the most used ones. None of them were of my liking, although GTK seems pretty well used and documented enough for a GUI beginner.

Ended up learning about Slint, eGui, Iced and Tauri.
Slint and eGui called my attention, but people on the internet praise Iced a lot.

Rust called my attention the first time around 3 years ago as it was being publicized as being "Memory Safe, harder to commit memory errors like in C and blazingly fast.", but only now I decided to actually give it a try.

Already tried to use Rust/Slint and build a quickly little GUI app that is taught on their documentation. (The memory game)
Really fun process, not too hard to understand, but some things happens on the back that I couldn't figure it out what was happening.
I liked Slint because its GUI code look a lot like HTML/CSS editing process, and its absurdly well optimized with simple 2D programs apparently.

By creating this little program following their documentation I learned one thing that annoyed me, though:
The compile time in Rust is... eh.. not great.

So, any thoughts?
avatar
.Keys: ...should I learn Rust?

[x] - Use Go. Its so Good!
[x] - Try Assembly first. Back in my day I used to.. (...)
[x] - No, never.
avatar
Nutty_the_Squirrel: no, it's just a trend promoted by (((them))) that's going to die off anyways, nothing can replace good old c and asm, they are THE timeless languages, though use go for a memory safe language since the guy who was involved in the creation of c was also involved in the creation of it so it must be another masterpiece (or atleast close) like c
What you mean by promoted by them? Who are them? Microsoft, Google and Amazon?
Do you mean that the engine around the "R" from "Rust" forms a Pentagram if you line them out? :P

You saying Rust is going to "die off" so easily contradicts the data I've been researching.
In the last couple years the use of the language actually increased by a lot.

Here are some sources showing its growth, usage and overall data:

https://www.arewewebyet.org/

https://areweguiyet.com/

https://thenewstack.io/rust-growing-fastest-but-javascript-reigns-supreme/

https://sdtimes.com/softwaredev/report-typescript-rust-and-python-among-the-languages-showing-the-most-promise-in-2024/

https://blog.rust-lang.org/2024/02/19/2023-Rust-Annual-Survey-2023-results.html

And C will probably still be used for a hundred years simply because so many systems depend on it. Rust growth will, apparently, from the data, start to replace C code or places where C would be used.

And companies are indeed pushing Rust for its, eh, they indeed to like to repeat that, "Memory Safety features" and "Speed". xD
avatar
dtgreene: I'd say that yes, it's worth learning.

Rust does have some nice characteristics. For example, if you can get your code to compile, it very likely works as intended. Furthermore, if your code fails to compile, the compiler error messages are actually quite helpful.

I could also recommend learning a bit of Haskell, even if you don't plan to use it for serious code; it will introduce you to a programming paradigm that's very different from what you're used to, and much of it can be applied to modern languages.

(I'm actually writing a computer game in Rust; progress is slow but steady, and I don't get stuck with heisenbugs and other hard to find bugs nearly as often.)
avatar
Nutty_the_Squirrel: (...)
avatar
dtgreene: (I rejected Go because an unused variable is a hard error; also, the language doesn't play well with C the way Rust does.)
avatar
.Keys: [ ] - Let me show you how Python works everywhere!
avatar
dtgreene: It even works with Rust; you just need the pyo3 crate.
(On the other hand, Python isn't suitable for low-end microcontrollers; Rust, on the other hand, can be used there.)
Thanks for the tips.
Nice to know you're creating a game on Rust!
If I remember corretly you were using Godot, by some other post long ago.
Why did you stop? Or Godot supports Rust? I don't intend to use Rust for creating games, but it got me curious now.
avatar
.Keys: If I remember corretly you were using Godot, by some other post long ago.
Why did you stop?
Or Godot supports Rust?
https://godot-rust.github.io/book/
avatar
Gede: Is there any reason for you not to learn rust?
Learning is always good.
People say its too different from C and Java in some ways.
Apparently Strings are complex on Rust and down the line code can get huge and complex, but then... "down the line" depends a lot, I know. Coming from other languages, traditional ones I mean, people complain its really hard.

avatar
.Keys: If I remember corretly you were using Godot, by some other post long ago.
Why did you stop?
Or Godot supports Rust?
avatar
BreOl72: https://godot-rust.github.io/book/
Oh nice! Thank you.
avatar
Gede: Is there any reason for you not to learn rust?
Learning is always good.
avatar
.Keys: People say its too different from C and Java in some ways.
Apparently Strings are complex on Rust and down the line code can get huge and complex, but then... "down the line" depends a lot, I know. Coming from other languages, traditional ones I mean, people complain its really hard.
Considering this, I am assuming you don't know C++. (Please forgive me in case I am mistaken)
I would recommend you to first learn the basics of C++ just to understand how it works, including how to use shared pointers. C++ is a completionist language that became overlycomplicated for some tasks.
Rust was created to replace C++ in that manner. From a Java programmer perspective, you would think Rust is already hard, but from a C++ programmer, you would notice how easier it became!

And then you are going to understand why Rust was made like that. Then you will also comprehend this:
avatar
vv221: [x] - Only if you want to join the ranks of insufferable zealots
And then you will like it a lot like many Rust programmers do!

To be honest, I don't see much demand for Rust programmers, not here at least. Everyone seems obsessed with Python now and hardly wants to learn another language.
Sigh.
Post edited December 14, 2024 by thiagott
avatar
.Keys: Want to build a hobbie project for Android / iOS and another for Windows / Linux, but I've never "worked" on a "big" GUI project like the ones I want to create, alone.
Try out Dart + Flutter before even thinking about Rust for that kind of thing.
avatar
.Keys: ...should I learn Rust?
Honestly, I actively avoid non-C programming languages, as it had never been necessary (neither professionally, nor personally) to learn anything else; so, my knowledge of Rust is minimal.

I will say that I have nothing but utter disdain for Python, as it has a tendency to distract beginners in such a manner that they will often become 'stuck on Python' (so to speak), and consequently, they will not gain vital experience with an essential (and efficient) compiled programming language.

You should ask yourself: "Why should I learn another language?" -- If there is no practical purpose, abstain.
Post edited December 14, 2024 by Palestine