Search

Items tagged with: rustlang


I wrote up an update on the virtual function elimination feature

github.com/rust-lang/rust/issu…

When using `&dyn Trait`, this feature removes virtual functions that never get called, and may turn virtual calls back into direct calls if there is only one possible option. The idea is that you get the upsides of `dyn Trait` with less of the downsides.

But, rustc currently gives incomplete information to LLVM, causing it to miscompile. The LLVM implementation is also clearly meant for C++, and doesn't handle what rust gives it well in all cases.

So, let's fix that!

#rustlang


In light of this, I'm looking for code bases (that compile to binaries) that make serious use of `dyn Trait` to benchmark the LLVM changes with.

So, if you have any of those, let me know

#rustlang


I wrote up an update on the virtual function elimination feature

github.com/rust-lang/rust/issu…

When using `&dyn Trait`, this feature removes virtual functions that never get called, and may turn virtual calls back into direct calls if there is only one possible option. The idea is that you get the upsides of `dyn Trait` with less of the downsides.

But, rustc currently gives incomplete information to LLVM, causing it to miscompile. The LLVM implementation is also clearly meant for C++, and doesn't handle what rust gives it well in all cases.

So, let's fix that!

#rustlang



The media in this post is not displayed to visitors. To view it, please go to the original post.

Vim-like TUI client for Telegram!

Powered by @ratatui_rs 🐀

github.com/bercly0b/rtg

#rustlang #ratatui #terminal


The media in this post is not displayed to visitors. To view it, please go to the original post.

A system monitor for the terminal, in cyberpunk style! 🌃

Powered by @ratatui_rs 🐀

github.com/5c0/metropolis

#rustlang #ratatui #terminal



The media in this post is not displayed to visitors. To view it, please go to the original post.

Rust 1.100 in 60 seconds!

#rustlang #release






⇧