!NnQKKHycLsnvUKYsfE:matrix.org

Wgpu Random

176 Members
Off-topic18 Servers

Load older messages


SenderMessageTime
14 Jun 2023
@kvark:matrix.orgkvarkkvark at fastmail com03:10:05
@ralith:ralith.comRalithsent05:00:52
@kvark:matrix.orgkvarkgot it, thanks!05:17:53
@asuradev99:matrix.orgAditya Suresh joined the room.23:11:41
15 Jun 2023
@suidieni:matrix.orgsuidieni joined the room.10:35:22
@suidieni:matrix.orgsuidieniis there a repos for the wgpu website? https://wgpu.rs/10:36:42
@davidhuculak:matrix.orgDavid HuculakSeems like: https://github.com/gfx-rs/wgpu-rs.github.io 12:57:11
@davidhuculak:matrix.orgDavid HuculakOh someone already answered 12:57:35
17 Jun 2023
@davidhuculak:matrix.orgDavid Huculak anyone here know of a way to view git changes between branches in a GUI app where it follows renamed files like the regular git diff command does? git difftool --dir-diff doesn't seem to be working 23:30:16
@davidhuculak:matrix.orgDavid Huculakgithub is actually able to do it but I don't like their UI.. I want tabs or a tree23:31:56
@davidhuculak:matrix.orgDavid Huculakmaybe something that can read patch files (direct output from git diff command)23:35:44
@davidhuculak:matrix.orgDavid Huculak * maybe something that can read patch files (direct output from git diff command) so I can control the -M flag23:40:01
20 Jun 2023
@m4b:matrix.orgm4bso is most of parking_lot in rust std now or did i misremember that?06:51:10
@cwfitzgerald:matrix.orgcwfitzgerald
In reply to @m4b:matrix.org
so is most of parking_lot in rust std now or did i misremember that?
No, I think they're still separate
10:37:56
@cwfitzgerald:matrix.orgcwfitzgeraldRust mutexes got faster recently10:38:16
@m4b:matrix.orgm4bAh. Bummer. I seem to recall the mutex work being folded in :/ I know their are api differences thst can’t change eg panicking vs not but I was under impression the impl was being swapped out for parking lot19:59:54
21 Jun 2023
@notsean:matrix.orgJoe O'Connor joined the room.14:54:50
23 Jun 2023
@timokoesters:fachschaften.orgTimo ⚡️ changed their profile picture.18:57:35
25 Jun 2023
@m4b:matrix.orgm4bhas anyone done any ragdoll stuff with rapier by any chance? i don't see much of anything at all searching for ragdoll on crates.io either21:02:48
8 Jul 2023
@ralith:ralith.comRalithfigured it's just a matter of joints16:40:34
14 Jul 2023
@cwfitzgerald:matrix.orgcwfitzgeraldman, xcode's UX is so bad03:54:03
18 Jul 2023
@m4b:matrix.orgm4b so, i updated to rustc, it shows me that a drop(&mut Foo) was not doing what i wanted in some very old, very unsafe rust code i had. and so then i embarked on an odyssey into unsafe rust land, where i just spent like literally hours trying to fix the memory leak of basically a [MaybeUninit<Box<T>>; SIZE] that i just gave up and rewrote it all with [Option<*mut T>; SIZE] and now valgrind reports no leaks, all tests pass, etc. The fact that I couldn't rely on Box being null is the major pain point there (and in fact the code ported to Option<*mut T> just creates a Box and then does into_raw and during dealloc does same thing 05:53:16
@m4b:matrix.orgm4bits still not clear to me how i could even have gotten it working with MaybeUninit tbh; it's a very complicated api, with lots of gotchas05:54:19
@m4b:matrix.orgm4balso, valgrind is so awesome; thankfully i generally don't ever have to use it, but it's sooo good05:54:59
@cwfitzgerald:matrix.orgcwfitzgerald
In reply to @m4b:matrix.org
its still not clear to me how i could even have gotten it working with MaybeUninit tbh; it's a very complicated api, with lots of gotchas
What are you finding difficult about it
05:59:18
@cwfitzgerald:matrix.orgcwfitzgeraldIt does have a lot of gotchas, but such is life on the edge05:59:33
@m4b:matrix.orgm4bwell it's api is super annoying for one, in various ways; it feels extremely verbose, and way less typesafe than the Option<*mut t> version, and depending on what i did, would maybe/maybe not segfault in release, etc. i rewrote it to option version and it compiled and passed tests and valgrind on frist try 🤷06:01:08
@m4b:matrix.orgm4b of course that i had option to rewrite as Option<*mut T> was nice, there are certainly cases where MaybeUninit would be required 06:01:54
@m4b:matrix.orgm4b(no pun intended)06:02:02
@cwfitzgerald:matrix.orgcwfitzgeraldI mean that makes sense that using uninitialized memory is much harder than just using option :) also why not just option box? 06:02:08

Show newer messages


Back to Room ListRoom Version: 5