If we were to create a Rust version of this page for Haskell, what cool programming techniques would you add to it?

You are viewing a single thread.
View all comments
15 points

Rust isn’t really a language that lends itself to terse point-free functional idioms… The sort of examples I might want to share would probably require a bit more context, certainly more code. Like I think type guards and arena allocation are cool and useful tricks but I don’t think I could write a neat little example showing or motivating either

permalink
report
reply
7 points

Yeah I don’t mean just terse functional idioms. Any programming technique that blew your mind the first time you came across it would qualify.

permalink
report
parent
reply
3 points

Type guards, then :) very cool, much compiler power, love it

permalink
report
parent
reply
2 points

Rust

!rust@programming.dev

Create post

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits
  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

Community stats

  • 577

    Monthly active users

  • 812

    Posts

  • 3.7K

    Comments