tiflolinux.org - GNU Social
  • Login

Bienvenido

  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Conversation

Notices

  1. Robby (robby@zoinks.one)'s status on Thursday, 30-Sep-2021 21:59:16 CEST Robby Robby

    I saw someone on Reddit made a todo program with Rust that I thought was pretty neat https://github.com/sioodmy/todo

    So I decided to try to rewrite it using C for fun https://git.robbyzambito.me/robby/todo.git/

    I was trying to figure out why it seemed like the “list” command for the Rust version seemed to be running about 1000x faster than my C version. Turns out I didn’t notice that time was using microseconds for my version, and milliseconds for the Rust version. :blobcatgoogly: My C version is actually about 20% faster from my crude testing.

    Also my the Rust production binary is about 400x larger than the C production binary but we wont talk about that :D

    In conversation Thursday, 30-Sep-2021 21:59:16 CEST from zoinks.one permalink

    Attachments


    • Ekaitz Zárraga 👹 repeated this.
    • Pheonix (pheonix@fosstodon.org)'s status on Thursday, 30-Sep-2021 21:59:16 CEST Pheonix Pheonix
      in reply to

      @robby Good one! Your post reminded me of an ancient (slightly offensive?) meme. After 5 min of googling.

      In conversation Thursday, 30-Sep-2021 21:59:16 CEST permalink

Feeds

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

tiflolinux.org - GNU Social is a social network, courtesy of tiflolinux.org. It runs on GNU social, version 2.0.1-beta0, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All tiflolinux.org - GNU Social content and data are available under the Creative Commons Attribution 3.0 license.