Frozen Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Lemmit.Online bot@lemmit.onlineBM to The Rust Programming Language@lemmit.onlineEnglish · 3 years ago

How to work with !Sized types in Rust

sgued.fr

external-link
message-square
0
link
fedilink
  • cross-posted to:
  • rust@programming.dev
1
external-link

How to work with !Sized types in Rust

sgued.fr

Lemmit.Online bot@lemmit.onlineBM to The Rust Programming Language@lemmit.onlineEnglish · 3 years ago
message-square
0
link
fedilink
  • cross-posted to:
  • rust@programming.dev

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.

This is an automated archive made by the Lemmit Bot.

The original was posted on /r/rust by /u/celeritasCelery on 2024-01-26 17:15:45.

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

The Rust Programming Language@lemmit.online

rust@lemmit.online

Subscribe from Remote Instance

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@lemmit.online
lock
Community locked: only moderators can create posts. You can still comment on posts.

A place for all things related to the Rust programming language—an open-source systems language that emphasizes performance, reliability, and…

Visibility: Public
globe

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

  • 1 user / day
  • 1 user / week
  • 1 user / month
  • 1 user / 6 months
  • 0 local subscribers
  • 38 subscribers
  • 3.95K Posts
  • 3 Comments
  • Modlog
  • mods:
  • Lemmit.Online bot@lemmit.onlineB
  • BE: 0.19.20
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org