GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Michał "rysiek" Woźniak · 🇺🇦 (rysiek@mstdn.social)'s status on Monday, 13-Jan-2025 03:40:34 JST Michał "rysiek" Woźniak · 🇺🇦 Michał "rysiek" Woźniak · 🇺🇦

    I finally started playing with Rust, after not having seriously coded in any compiled language for years, and… I am really liking it. :blobcatcoffee:

    The compiler shouts at me, but also provides all the context I need to figure out what's wrong.

    Most of the time once I do figure it out, my brain goes "ooh right, yeah, that makes sense!"

    It feels like coding with a safety net: I am reasonably sure I won't end up doing something massively memory-unsafe. And it helps a lot when refactoring, too!

    In conversation about 4 months ago from mstdn.social permalink
    • alcinnz repeated this.
    • Embed this notice
      Jon Yoder (jonyoder@mstdn.social)'s status on Monday, 13-Jan-2025 03:44:43 JST Jon Yoder Jon Yoder
      in reply to

      @rysiek The only downside I've found so far to Rust is complexity. It's a deep language and you have to have a good grasp on certain concepts before even a "Hello world" makes a ton of sense. It's very much worth the effort, though.

      Best of luck!

      In conversation about 4 months ago permalink
    • Embed this notice
      Michał "rysiek" Woźniak · 🇺🇦 (rysiek@mstdn.social)'s status on Monday, 13-Jan-2025 03:46:00 JST Michał "rysiek" Woźniak · 🇺🇦 Michał "rysiek" Woźniak · 🇺🇦
      in reply to

      I understand how to a lot of people – especially anyone really fluent in other low-level statically typed languages – Rust's approach might feel restrictive or extra work.

      To me it feels restrictive and extra work the same way writing proper tests does: indeed it is, but what you get for that extra effort is peace of mind that is really valuable.

      I guess now would be a good time to write some tests for my little Rust side-projects, ironically. :blobcateyes:

      In conversation about 4 months ago permalink

      Attachments

      1. No result found on File_thumbnail lookup.
        work.to
        This domain may be for sale!
    • Embed this notice
      Michał "rysiek" Woźniak · 🇺🇦 (rysiek@mstdn.social)'s status on Monday, 13-Jan-2025 03:47:30 JST Michał "rysiek" Woźniak · 🇺🇦 Michał "rysiek" Woźniak · 🇺🇦
      in reply to
      • Jon Yoder

      @jonyoder thanks!

      Yeah, to some extent. Then again, I did the first few chapters of the Rust Book to find my feet and then jumped right into coding of my side-project.

      Wasn't really that hard. Documentation is really good, which helps a ton.

      In conversation about 4 months ago permalink
    • Embed this notice
      Michał "rysiek" Woźniak · 🇺🇦 (rysiek@mstdn.social)'s status on Monday, 13-Jan-2025 03:55:15 JST Michał "rysiek" Woźniak · 🇺🇦 Michał "rysiek" Woźniak · 🇺🇦
      in reply to
      • hko 😷🪁

      @hko thanks!

      In conversation about 4 months ago permalink
    • Embed this notice
      hko 😷🪁 (hko@mastodon.social)'s status on Monday, 13-Jan-2025 03:55:16 JST hko 😷🪁 hko 😷🪁
      in reply to

      @rysiek hooray! have fun :)

      In conversation about 4 months ago permalink
    • Embed this notice
      Mind Dilation (sunscream@mstdn.social)'s status on Monday, 13-Jan-2025 05:32:50 JST Mind Dilation Mind Dilation
      in reply to

      @rysiek Crashing spectacularly is half the fun in programming.

      In conversation about 4 months ago permalink
    • Embed this notice
      Michał "rysiek" Woźniak · 🇺🇦 (rysiek@mstdn.social)'s status on Monday, 13-Jan-2025 05:39:25 JST Michał "rysiek" Woźniak · 🇺🇦 Michał "rysiek" Woźniak · 🇺🇦
      in reply to
      • Mind Dilation

      @sunscream not for me. I prefer to write things that do what they're supposed to do, without the potential of them blowing something up.

      It's "throwing some code together" vs. "software engineering" type thing. We have way too much of the former, and precious little of the latter.

      I like that Rust pushes me towards the latter.

      In conversation about 4 months ago permalink

      Attachments


    • Embed this notice
      Michał "rysiek" Woźniak · 🇺🇦 (rysiek@mstdn.social)'s status on Monday, 13-Jan-2025 05:40:27 JST Michał "rysiek" Woźniak · 🇺🇦 Michał "rysiek" Woźniak · 🇺🇦
      in reply to
      • Etam

      @etam I could actually see that, yeah!

      Strong typing is a boon, for one. Errors caught early, at compile-time, instead of late, at run-time, are a huge boon as well.

      In conversation about 4 months ago permalink
    • Embed this notice
      Etam (etam@im-in.space)'s status on Monday, 13-Jan-2025 05:40:29 JST Etam Etam
      in reply to

      @rysiek
      I got so spoiled by Rust, that anytime I have to touch some Python code, my brain constantly repeats "this would be so much easier in Rust" and I'm super annoyed.

      In conversation about 4 months ago permalink
    • Embed this notice
      Mind Dilation (sunscream@mstdn.social)'s status on Monday, 13-Jan-2025 06:03:58 JST Mind Dilation Mind Dilation
      in reply to

      @rysiek Can't argue with that if it works for you.

      In conversation about 4 months ago permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.