Cursed Rust: Printing Things The Wrong Way

https://endler.dev/2023/cursed-rust/

33 points · 3 comments · view on lemmy.world

3 Comments

Eufalconimorph@discuss.tchncs.de · 1 pts · 2y (2 replies)

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.

jcbritobr@mastodon.social · 0 pts · 2y (1 reply)

@Eufalconimorph url is broken

Eufalconimorph@discuss.tchncs.de · 1 pts · 2y

Oops, fixed.