0 points

Rust is nice, unless you have a traits compilation error from a 3rd party library using types that are more difficult to write than C++ templates.

permalink
report
reply
0 points

yeah as nice as it is what you can achieve with trait-bounds there are definitely trade-offs, being compile time and error messages, and sometimes mental complexity, understanding what the trait-bounds exactly mean… I really hope, that this area gets improvement on at least the error-messages and compile time (incremental cached type-checking via something like salsa)

permalink
report
parent
reply
0 points

I much prefer getting told of that it doesn’t match a trait than get 600 characters of which the majority is implementation detail of global allocators und from what exactly the string is derived.

permalink
report
parent
reply
0 points
*

I like how this depicts how rust is designed more top down and C++ is designed bottom up.

How compiler builders see peppa:

https://www.deviantart.com/ian-exe/art/Peppa-pig-front-face-743773121

I think these two pigs are the best comparison of rust and c++ I’ve ever seen. Also considering the aesthetics, it’s so accurate.

permalink
report
reply
0 points

LISP be like: “There is an error here in this wierd code I just generated and which you never saw before. Wanna hotfix it and try again?”

permalink
report
reply

Programmer Humor

!programmer_humor@programming.dev

Create post

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics

Community stats

  • 2.3K

    Monthly active users

  • 866

    Posts

  • 14K

    Comments