fstab
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
testeronious@lemmy.world to Rust@programming.dev · 1 year ago

Curl: Hyper, is it worth it?

curl.se

external-link
message-square
9
fedilink
28
external-link

Curl: Hyper, is it worth it?

curl.se

testeronious@lemmy.world to Rust@programming.dev · 1 year ago
message-square
9
fedilink
  • taladar@sh.itjust.works
    link
    fedilink
    arrow-up
    7
    arrow-down
    1
    ·
    1 year ago

    Hyper itself does work quite well in Rust and is the basis for the vast majority of Rust web frameworks, I just don’t really see a use case for wrapping it in the curl API.

    • onlinepersona@programming.dev
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 year ago

      I think it’s used because the author of curl is moving towards rust and doing it piecemeal. Although curl is well-tested and battle-tested, it’s still written in a memory unsafe programming language, which I think was the motivation.

      Anti Commercial-AI license

      • taladar@sh.itjust.works
        link
        fedilink
        arrow-up
        4
        ·
        1 year ago

        Well, the author of curl is the Daniel Stenberg suggesting its removal here.

      • asdfasdfasdf@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        Hyper was the standard for Rust web servers way before it was used by curl for anything.

        • onlinepersona@programming.dev
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          1 year ago

          That’s probably why the curl author chose it.

          Anti Commercial-AI license

Rust@programming.dev

rust@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !rust@programming.dev

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits
  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 2 users / day
  • 68 users / week
  • 253 users / month
  • 2.85K users / 6 months
  • 1 local subscriber
  • 7.17K subscribers
  • 877 Posts
  • 4.25K Comments
  • Modlog
  • mods:
  • snowe@programming.dev
  • Ategon@programming.dev
  • EdTheLegendary@programming.dev
  • kahnclusions@programming.dev
  • torcherist@programming.dev
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org