rust-lang / rust-marketing

Rust marketing handbook
MIT License
38 stars 12 forks source link

Rebuttals: "Only for systems programming" #8

Closed joshtriplett closed 6 years ago

joshtriplett commented 6 years ago

This would cover arguments that other languages are more suitable for "high-level" programming.

sophiajt commented 6 years ago

Seconded. This is a big one I hear a lot. "I don't know if I have a use for Rust" because our current image leans too heavily in the "Rust is a systems language for serious perf".

joshtriplett commented 6 years ago

Exactly; I hear the same.

A few possibilities for responses:

sophiajt commented 6 years ago

Drilling into your second point even more, I think we could pick some examples of source code that read like "high level" languages like JavaScript and then put text with them that say these perform at the same speed as C.

Basically re-enforcing you can choose Rust because you like its expressiveness and just have perf as a nice side effect, if you want.

joshtriplett commented 6 years ago

@jonathandturner That sounds great. Show some things like iterators and show that they compile to the same code as a loop. Show an example of Rayon (s/iter/par_iter/ and get performance). Show how you can easily integrate Rust with Python. Show a less-than-ten-lines example of getting data from a web API in JSON, processing it, and printing useful information.

aturon commented 6 years ago

I'm :+1: on this section, but will keep this PR open for now so we can work together to get some initial bullet points as well.

Centril commented 6 years ago

This is a frequent thing to say in #haskell (freenode) as well when Rust is mentioned; so I think it's a good section to include.