Jacob Lindahl ☕
banner
geeklaunch.io
Jacob Lindahl ☕
@geeklaunch.io
boom baby, joined a gym
October 16, 2023 at 5:16 PM
ガーガーガー
July 22, 2023 at 5:31 AM
In Rust, you can use std::mem::transmute to statically assert that two types have the same size at compile time.

More details: https://geeklaunch.io/blog/rust-pro-tips-collection/#static-type-size-assertion
July 18, 2023 at 12:07 PM
It appears Twitter is now login-walled.

I'm not! My best content is on my personal site (https://geeklaunch.io/) and my YouTube channel (https://www.youtube.com/c/GeekLaunch).
GeekLaunch
Tech tips and tutorials
www.youtube.com
July 1, 2023 at 3:14 AM
前期全関東選手権アマC級・D級優勝!
June 12, 2023 at 2:59 PM
韓国で小鳥を見つけたわ!
June 5, 2023 at 2:33 PM
grammar for when you have NO japanese skill
May 30, 2023 at 6:34 PM
Excellent article. Single Abstract Method Traits in Rust.

https://mcyoung.xyz/2023/05/11/sam-closures/
Single Abstract Method Traits · mcyoung
mcyoung.xyz
May 12, 2023 at 4:21 AM
Radical non-tech pro tip:

Fix your posture.

You can probably grow an inch or more simply by not hunching your neck forward and straightening your back.

Two steps:

1. Sit on your "sit bones." (pelvis rotation)
2. Push your Adam's apple back. (expand chest + straighten head)
May 7, 2023 at 1:30 PM
Hawaii volcanoes national park
May 7, 2023 at 4:16 AM
@bsky.app please make pressing this button focus the search bar if you're already on the search page.
May 7, 2023 at 4:04 AM
I guess hashtags don't work on bluesky, til
May 6, 2023 at 1:01 PM
#RustProTip

Use impl for generic monomorphization, dyn for dynamic dispatch.

In the generated assembly, with_impl is generated once for each parameterization. with_dyn is generated once, but a vtable is required at runtime.

#rust #rustlang #programming
May 6, 2023 at 1:00 PM