Lemmy.one
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Sosthène Guédon@programming.dev to Rust@programming.devEnglish · 2 years ago

How to work with !Sized types in Rust

sgued.fr

external-link
message-square
0
fedilink
12
external-link

How to work with !Sized types in Rust

sgued.fr

Sosthène Guédon@programming.dev to Rust@programming.devEnglish · 2 years ago
message-square
0
fedilink

Sizedness in Rust is a peculiar topic. I recently found myself having to work with unsized types when trying to reduce the use of const generics in the heapless crate. Here I will document the approaches I considered and the pros and cons of each of them.

alert-triangle
You must log in or # to comment.

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.

  • 17 users / day
  • 96 users / week
  • 663 users / month
  • 1.47K users / 6 months
  • 35 local subscribers
  • 7.68K subscribers
  • 1.22K Posts
  • 5.53K Comments
  • Modlog
  • mods:
  • snowe@programming.dev
  • Ategon@programming.dev
  • EdTheLegendary@programming.dev
  • kahnclusions@programming.dev
  • torcherist@programming.dev
  • BE: 0.19.7
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org