programming.dev
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
snaggen to Rust · 2 years ago

Cursed Rust: Printing Things The Wrong Way

endler.dev

external-link
message-square
3
link
fedilink
35
external-link

Cursed Rust: Printing Things The Wrong Way

endler.dev

snaggen to Rust · 2 years ago
message-square
3
link
fedilink
Cursed Rust: Printing Things The Wrong Way | Matthias Endler
endler.dev
external-link
There is a famous story about a physicist durin…
alert-triangle
You must log in or register to comment.
  • Eufalconimorph@discuss.tchncs.de
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    2 years ago

    Inline assembly (asm!) and freeform assembly (global_asm!) stabilized in Rust 1.59. Those would allow even lower-level printing mechanisms.

    For really “cursed” code I’d say making a weird machine would count.

    • Júlio Gardona@mastodon.social
      link
      fedilink
      arrow-up
      0
      ·
      2 years ago

      @Eufalconimorph url is broken

      • Eufalconimorph@discuss.tchncs.de
        link
        fedilink
        arrow-up
        1
        ·
        2 years ago

        Oops, fixed.

Rust

rust

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: [email protected]

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

Wormhole

[email protected]

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.

  • 13 users / day
  • 173 users / week
  • 400 users / month
  • 2.91K users / 6 months
  • 1.47K local subscribers
  • 6.89K subscribers
  • 992 Posts
  • 4.69K Comments
  • Modlog
  • mods:
  • snowe
  • Ategon
  • EdTheLegendary
  • kahnclusions
  • torcherist
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org