Earlier quoted context omitted.
It has not a success. Just aggressive ads.
All the big tech companies are using Rust in one way or another. What other recent language can claim that?
Rust – What made it “click” for me (Ownership and memory internals)
21–30 of 76 posts
Re: Rust – What made it “click” for me (Ownership and memory internals)
#22Ownership is a time-wasting idea; an object should be freely able to go anywhere in the program you need it to go without any concerns.
Ownership sure saves a lot of time for the computer when it runs the final binary. For some software (eg browsers, operating systems), time spent making our programs correct and fast is worth the effort.
Good luck with a browser without javascript.
Re: Rust – What made it “click” for me (Ownership and memory internals)
#23Earlier quoted context omitted.
> not everybody comes with a CS background. Something doesn't sit quite right with me to describe the "basics of hardware" as being something that comes with a "CS background". I come from a formal CS background, and we spent more time dealing with finite state automatons, programming language theory, and other aspects of abstract computation. Getting down and dirty with data sizes, system components, and bit fiddlin…
I have a funny relationship with this. I also come from a formal CS background too. The old joke is that there are two lies in Computer Science: firstly its not science, and secondly it isn't really about computers. But the reality is, I still can't tell you what Computer Science actually is. Is it: - About understanding how to control computers (which are fast electronic machines) - About inventing programming, from…
Computer Systems Engineering
> About inventing programming, from the ground up. (A weird sub-discipline of mathematics and category theory)
Computer Science
> Learning to make software in order to improves the lives of humans
Software Engineering
Re: Rust – What made it “click” for me (Ownership and memory internals)
#24Ownership is a time-wasting idea; an object should be freely able to go anywhere in the program you need it to go without any concerns.
Re: Rust – What made it “click” for me (Ownership and memory internals)
#25let a: String = "Hello world".to_string();
Re: Rust – What made it “click” for me (Ownership and memory internals)
#26Earlier quoted context omitted.
Ownership sure saves a lot of time for the computer when it runs the final binary. For some software (eg browsers, operating systems), time spent making our programs correct and fast is worth the effort.
Ownership is completely inadequate for operating systems. Good luck with a browser without javascript.
Re: Rust – What made it “click” for me (Ownership and memory internals)
#27Earlier quoted context omitted.
I have a funny relationship with this. I also come from a formal CS background too. The old joke is that there are two lies in Computer Science: firstly its not science, and secondly it isn't really about computers. But the reality is, I still can't tell you what Computer Science actually is. Is it: - About understanding how to control computers (which are fast electronic machines) - About inventing programming, from…
> About understanding how to control computers (which are fast electronic machines) Computer Systems Engineering > About inventing programming, from the ground up. (A weird sub-discipline of mathematics and category theory) Computer Science > Learning to make software in order to improves the lives of humans Software Engineering
Otherwise, where do operating systems fall? Are they systems engineering? They don't seem to be entirely about the hardware to me, and they were a core part of my CS program. What about SeL4 - which is a formally verified operating system project?
How about programming languages like C or Rust? Is that computer science, or systems engineering? How about Excel - the world's most popular programming language - that happens to be functional? Are financial planners doing computer science when they program a spreadsheet?
The lines are blurry everywhere. My CS program offered 3 different degrees, like you said - Computer engineering, Computer Science and Software Engineering. The only difference was the CS degree had a lot of electives, and the other two filled those electives in with (different) required subjects.
Maybe CS is just "lets play with some cool things on computers!". And there's a big playpen of things to explore. Thats more or less how it feels to me.
Re: Rust – What made it “click” for me (Ownership and memory internals)
#28Grrrrr..... let a: String = "Hello world".to_string();
Re: Rust – What made it “click” for me (Ownership and memory internals)
#29Earlier quoted context omitted.
> About understanding how to control computers (which are fast electronic machines) Computer Systems Engineering > About inventing programming, from the ground up. (A weird sub-discipline of mathematics and category theory) Computer Science > Learning to make software in order to improves the lives of humans Software Engineering
I mean, I hear what you're saying - but all of those things also seem to be a single discipline. Otherwise, where do operating systems fall? Are they systems engineering? They don't seem to be entirely about the hardware to me, and they were a core part of my CS program. What about SeL4 - which is a formally verified operating system project? How about programming languages like C or Rust? Is that computer science, o…
Re: Rust – What made it “click” for me (Ownership and memory internals)
#30> As said earlier, C++ developers have an advantage on understanding Rust because they have a mental model of what the memory looks like, pointers and so on The immeasurable success of Rust certainly lies in its clear communication and forcing developers to learn about the basics of hardware. I can't help but to feel validated in thinking that every developer worth its salt should know about these basics anyway. But…
their salt