this post was submitted on 04 Dec 2020
3 points (80.0% liked)

Rust Programming

8011 readers
1 users here now

founded 5 years ago
MODERATORS
 

Genuinely serious since this is so much of a meme.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] curious@lemmy.ml 0 points 3 years ago

It seems like you misunderstood my point. By saying that we should use more resources to make computing simpler I meant something like using a garbage collector, which trades some computing cycles and memory for better productivity and not something like bloating stuff up by using Electron. A lot of programming languages where designed when computers where slower and had not much memory. I would happily give 5% of performance and memory to have another improvement in productivity like the invention of the garbage collector gave us.

... and now it actually feels more productive than Java.

Java has always been full of boilerplate code, therefor it never really was very productive (maybe when compared to C++). I don't get why anyone still writes Java, when there is Kotlin.

  • Java code is approximately 50% shorter than C++ code
  • Kotlin code is approximately 50% shorter than Java code
  • Haskell code is approximately 80% shorter than Kotlin code

โ†’ what takes one pages in C++, takes 2-4 lines in Haskell.

To the Nushell discussion: Nu is my main shell and I have contributed a bit of code to it in the past.