Tohquai7
Re:The rise of wgpu
on Thursday March 07, 2019 @01:05PM (#19330397)
It can.
-Z unstable-options -Zunpretty=hir,typed
// source
pub fn square(num: i32) -> i32 {
num * num
}
// expanded
use ::std::prelude::v1::*;
extern crate std;
pub fn square(num: i32)
-> i32 ({ ((num as i32) * (num as i32) as i32) } as i32)
You can try on https://rust.godbolt.org/
Re:PureOS is convergent
on Thursday March 07, 2019 @10:48AM (#19328960)
IDEs and productivity tools often approximate a tile-based window managers where you can collapse all but the central tile (or conversely, put the central one in fullscreen) if you want the maximal real estate for the content instead of the auxiliary bars and then slide them in for a moment when you need them.
This mode seems suited for mobile UIs, so that flexibility should get them pretty close to being convergent. There probably still need to be some adjustments to make it really usable on mobile, but a lot of the work has already been done.