Stories
Slash Boxes
Comments

SoylentNews is people

posted by janrinok on Monday January 16 2017, @08:42PM   Printer-friendly
from the comparing-tools dept.

Eric S Raymond, author of "The Cathedral and the Bazaar", blogs via Ibiblio

I wanted to like Rust. I really did. I've been investigating it for months, from the outside, as a C replacement with stronger correctness guarantees that we could use for NTPsec [a hardened implementation of Network Time Protocol].

[...] I was evaluating it in contrast with Go, which I learned in order to evaluate as a C replacement a couple of weeks back.

[...] In practice, I found Rust painful to the point of unusability. The learning curve was far worse than I expected; it took me those four days of struggling with inadequate documentation to write 67 lines of wrapper code for [a simple IRC] server.

Even things that should be dirt-simple, like string concatenation, are unreasonably difficult. The language demands a huge amount of fussy, obscure ritual before you can get anything done.

The contrast with Go is extreme. By four days in of exploring Go, I had mastered most of the language, had a working program and tests, and was adding features to taste.

Have you tried using Rust, Go or any other language that might replace C in the future? What are your experiences?


Original Submission

 
This discussion has been archived. No new comments can be posted.
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 1, Insightful) by Anonymous Coward on Monday January 16 2017, @09:46PM

    by Anonymous Coward on Monday January 16 2017, @09:46PM (#454540)

    Visit a coder bar, and you will be asked which language you use. Choose carefully because your answer will signal your social group.

    JavaScript, no framework? We're just not on the same page. And is that a touch of grey in your beard?

    Rust you say? Me too! What's your GitHub so I can follow you?

    Starting Score:    0  points
    Moderation   +1  
       Insightful=1, Total=1
    Extra 'Insightful' Modifier   0  

    Total Score:   1  
  • (Score: 0) by Anonymous Coward on Monday January 16 2017, @10:18PM

    by Anonymous Coward on Monday January 16 2017, @10:18PM (#454560)

    No, that's a touch of non-grey still in the beard. Languages? C And no, no git repo for you, I use rcs.

  • (Score: 2) by turgid on Monday January 16 2017, @10:19PM

    by turgid (4318) Subscriber Badge on Monday January 16 2017, @10:19PM (#454561) Journal

    Visit a coder bar

    Why?

    • (Score: 1, Informative) by Anonymous Coward on Monday January 16 2017, @10:33PM

      by Anonymous Coward on Monday January 16 2017, @10:33PM (#454570)

      Why indeed. I don't need to go to a bar to play "I'm My Own Grandpa" on the jukebox. I can build my own jukebox in my basement and masturbate alone.

  • (Score: 3, Funny) by tibman on Monday January 16 2017, @10:29PM

    by tibman (134) Subscriber Badge on Monday January 16 2017, @10:29PM (#454567)

    I want to visit a coder bar. Surely there is a sticky table under a broken lamp somewhere for us PHP lovers : P

    --
    SN won't survive on lurkers alone. Write comments.
    • (Score: 0) by Anonymous Coward on Tuesday January 17 2017, @01:05AM

      by Anonymous Coward on Tuesday January 17 2017, @01:05AM (#454638)

      I want to visit a coder bar. Surely there is a sticky table under a broken lamp somewhere for us PHP lovers : P

      Please be realistic. Why defend the solution that actually works for 99% of use cases when you can pseudo-intellectual, circle-jerk discussions about Scala?

  • (Score: 1) by snmygos on Tuesday January 17 2017, @08:09AM

    by snmygos (6274) on Tuesday January 17 2017, @08:09AM (#454800)

    I believe you have visited the Mozilla bar.