00:02 < bridge> Leaving resources alive 00:02 < bridge> at process exit? 00:02 < bridge> got a link? 00:03 < bridge> It doesn't know about what a process is 00:04 < bridge> https://en.wikipedia.org/wiki/Very_long_instruction_word 00:05 < bridge> would still be interested in a link 00:06 < bridge> Well it's in the spec as said 00:06 < bridge> https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#vkDestroyDevice 00:08 < bridge> > Prior to destroying a device, an application is responsible for destroying/freeing any Vulkan objects that were created using that device as the first parameter of the corresponding vkCreate* or vkAllocate* command. 00:09 < bridge> is that what you're talking about? it seems to talk about not freeing parent objects before freeing all children 00:09 < bridge> (like not calling `curl_global_cleanup` while stuff is still running) 00:09 < bridge> Nope. Read the note 00:10 < bridge> It does not give you that guarantee 00:10 < bridge> > Prior to destroying a device, an application is responsible for destroying/freeing any Vulkan objects that were created using that device as the first parameter of the corresponding vkCreate* or vkAllocate* command. 00:10 < bridge> this? 00:11 < bridge> it still seems to only say that you need to free children objects before the parentt 00:11 < bridge> it still seems to only say that you need to free children objects before the parent 00:11 < bridge> This is also it. But you quoted the same thing again 00:11 < bridge> ah. oops 00:11 < bridge> Why only? 00:11 < bridge> You need to do that 00:12 < bridge> it doesn't seem to be unambiguous to me 00:13 < bridge> It's not a matter of opinion. The Vulkan spec says it. If you don't do it it's undefined behavior 00:13 < bridge> it is critical to turn off the engine prior to leaving the car to avoid fuel wasting 00:13 < bridge> this doesn't tell me to leave the car AFAICT? 00:13 < bridge> If you don't clean it. It might leak 00:14 < bridge> Just because our awesome operating systems will be more clever than us doesn't mean it's correct 00:14 < bridge> that doesn't seem to be useful 00:15 < bridge> the operating system always has to clean up this stuff to function correctly 00:15 < bridge> the process might be killed, for example 00:15 < bridge> Ok. I have sleep to catch. Not worth my time. Night 00:15 < bridge> night 🙂 00:25 < bridge> @jupeyy_keks @heinrich5991 https://ryhl.io/blog/temporary-shared-mutation/ 00:26 < bridge> yea, seen it in the stdlib docs 00:28 < bridge> https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit/?id=cbe0e415089636170aa6eb540ca4af5dc9842a60 00:28 < bridge> net: phy: add Rust Asix PHY driver 00:28 < bridge> This is the Rust implementation of drivers/net/phy/ax88796b.c. The 00:28 < bridge> features are equivalent. You can choose C or Rust version kernel 00:28 < bridge> configuration. 00:29 < bridge> interesting 00:31 < bridge> https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/tree/drivers/net/phy/ax88796b_rust.rs?id=cbe0e415089636170aa6eb540ca4af5dc9842a60 00:31 < bridge> https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/tree/drivers/net/phy/ax88796b.c?id=cbe0e415089636170aa6eb540ca4af5dc9842a60 02:39 < bridge> thanks for putting effort into upgrading teeroutines :D 09:08 < bridge> thanks for reminder, i still had a RefCell in code 09:09 < bridge> @ryozuki when rust kernel programmer 😏 09:13 < bridge> xd 09:13 < bridge> morning 09:16 < bridge> @jupeyy_keks 09:16 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1186220344974000172/image.png?ex=659274c9&is=657fffc9&hm=0a048d018364f331fa9578579722d229d97997bd2f937757381ef35687f898dd& 09:16 < bridge> vulkan update day 09:18 < bridge> 🥶 09:18 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1186220920130510902/image.png?ex=65927552&is=65800052&hm=d18ff0daf6c4e133821e7aca81667afc4551c521da482e25254d09519997a2eb& 09:22 < bridge> 17.4.2 is released 09:22 < bridge> not even on web 09:22 < bridge> but it will be now on gentoo guru 09:22 < bridge> cuz gentoo best 09:23 < bridge> morning 09:23 < bridge> ☕ 🍵 09:23 < bridge> pick 09:23 < bridge> coffeee 09:23 < bridge> ☕ 09:31 < bridge> ☀️ 09:31 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1186224185580732416/image.png?ex=6592785c&is=6580035c&hm=125f6b946beca987b6b58be811ca47809725e90f087493fa5451169028129606& 09:32 < bridge> just directly skip to 17.5, just to show how fast you are as maintainer xd 09:41 < bridge> xd 09:46 < bridge> im still mourning my minecraft 09:47 < bridge> how could this have happened 09:47 < bridge> i have historically bad luck with my minecraft server files getting lost or corrupted in bullshit ways 09:55 < bridge> https://rust-ml.github.io/linfa/ 10:26 < bridge> cool 10:28 < bridge> log4j 10:29 < bridge> ? 10:29 < bridge> ur hacked xd 10:29 < bridge> what 10:29 < bridge> LOL 11:57 < bridge> same here in kazan, only -2 11:58 < bridge> ah wait its cold for ya :kek: 11:58 < bridge> we had like -35 weeks earlier 11:58 < bridge> nature wants some torture it seems 12:43 < bridge> Same in Perm 13:51 < bridge> @cellegenrih Thank you! 13:51 < bridge> :owo: 14:18 < ws-client> 100 wowo thanks @cellegenrih uwu 14:18 < bridge> 😎 14:31 < bridge> https://blog.rust-lang.org/2023/12/18/survey-launch.html 14:42 < bridge> "how often are you active in the rust community?" 14:42 < bridge> 14:42 < bridge> A: every day, for every single bug anyone encountered, ryozuki reminds me of how epic rust is. He defs the prophet in the community of rust 14:45 < bridge> :owo: 14:46 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1186303363227336704/image.png?ex=6592c21a&is=65804d1a&hm=5b2847992c93d9f47dd2e4444f8c39ed0ebc4315806cae1728cd5fd5e66cf1c3& 14:46 < bridge> :justatest: 14:47 < bridge> @jupeyy_keks 14:47 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1186303742400802867/image.png?ex=6592c274&is=65804d74&hm=f990d880817cb4e3a56ead8a4cae050040163e15389d844e6fb3cc2546036f86& 14:47 < bridge> make sure to answer this 14:47 < bridge> lol 14:47 < bridge> for features 14:47 < bridge> unrelated but this video is very awesome 14:47 < bridge> https://youtu.be/cekP7Gya-EE?si=SO9Com7tBp42kIOo 14:48 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1186303877285429318/image.png?ex=6592c294&is=65804d94&hm=1f1402182f0fdd945d599da55f410aef21109daff6e6e9886890117b1b4bf334& 14:48 < bridge> my answer 14:48 < bridge> I wrote "pure flex" in the field 14:48 < bridge> 14:48 < bridge> But in missing features i spammed all the shit i wanted xdd 14:48 < bridge> i want macro metavariables 14:48 < bridge> i follow the gh issue 14:48 < bridge> https://github.com/rust-lang/rust/issues/83527 14:50 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1186304426529538088/image.png?ex=6592c317&is=65804e17&hm=d06586f2bfdd3512351f253f0ec867f5f9269dddb3ad9e4fc9a57add1d31a5f3& 14:51 < bridge> imagine choosing the second option 14:51 < bridge> 😬 14:52 < bridge> > RFC 3086: macro metavariable expressions, strict_provenance, alloc_layout_extra 14:52 < bridge> my wishlist 14:52 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1186305009227399168/image.png?ex=6592c3a2&is=65804ea2&hm=5777a512006fc50464e362d5bf9d3c3c6e81bfb83654a14570850c0173519e1a& 14:52 < bridge> this is more important to vote than local gov 14:52 < bridge> 😬 14:52 < bridge> :justatest: 14:53 < bridge> Async traits. Const eval. Generic variadic. Partial borrowing. Smth like that were mine 14:53 < bridge> Xddd true 14:54 < bridge> XD 14:54 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1186305374014414888/image.png?ex=6592c3f9&is=65804ef9&hm=42d8b3245d86e2dbc053bb12dc47526f152b7d3f4cb2f7193cf2a8dd50e96b9b& 14:54 < bridge> rust doesnt have consteval? 14:55 < bridge> did u watch the video 14:55 < bridge> it’s delightful 14:55 < bridge> it has only stabilized a MVP of const 14:55 < bridge> 👍 14:55 < bridge> for few things 14:55 < bridge> there is const fn 14:55 < bridge> but its rly limited 14:55 < bridge> I forgot negative traits. Shit 14:55 < bridge> Next year 14:56 < bridge> @jupeyy_keks well 2024 is big for rust 14:56 < bridge> because 2024 there will be 14:56 < bridge> i love when i accidentally tap near anyone’s profile picture and the whole app freezes for 2 seconds (and the user profile doesn’t even show up) 14:56 < bridge> rust 2024 edition 14:56 < bridge> a new edition 14:56 < bridge> its like c++23 but for rust 14:56 < bridge> Just as for Linux desktop? 😬 14:56 < bridge> Oh nice 14:56 < bridge> XD 14:56 < bridge> limited like can’t have any non compile time expression ? what else do u want from it 14:56 < bridge> or what cant it do 14:57 < bridge> is it just that a lot of the std lib is not const eval compliant 14:57 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1186306162283515934/image.png?ex=6592c4b5&is=65804fb5&hm=b53031d721873bfea216156d3197b05c89d40b6103b89351c00a360302723f18& 14:57 < bridge> stl annoys me with that often 14:57 < bridge> like std math functions still relying on errno 14:57 < bridge> so they can’t be constexpr 14:57 < bridge> :brownbear: 14:57 < bridge> Huge step 14:58 < bridge> But i need more features.i need them all 14:58 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1186306422523306004/image.png?ex=6592c4f3&is=65804ff3&hm=2bfd35d89181eed1fe10f9ba043e19a075ff341aa2e876eed384137c5530064d& 14:58 < bridge> :justatest: 14:58 < bridge> i think this was fixed by an app reinstall last time 14:58 < bridge> they are probably doing something silly 14:58 < bridge> caching 14:58 < bridge> Every day, every night. Every breath 14:58 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1186306600542150746/image.png?ex=6592c51e&is=6580501e&hm=498982ae8ea5f01732790430d52633b9af32a28ba5f9deb6c3d686f6a477cbce& 14:58 < bridge> i can put this 14:58 < bridge> :ez: 14:59 < bridge> XD 14:59 < bridge> yup reinstalled app and it’s good again 14:59 < bridge> when answer my q’s 15:00 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1186306957397737502/image.png?ex=6592c573&is=65805073&hm=85735f2f632d43aa2c4bbab4d266701cd8f5ea907e054484ea6865a08aba8cca& 15:00 < bridge> :ez: 15:00 < bridge> :pepeW: 15:01 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1186307226026123304/image.png?ex=6592c5b3&is=658050b3&hm=1f7dc2d2e43391da5f597001a78529e96e3d6dd83ea25b56c192085d3be3386d& 15:01 < bridge> xd 15:06 < bridge> you need to watch the video 15:06 < bridge> it changed my life 15:13 < bridge> What video 15:14 < bridge> This? 15:14 < bridge> Tf 15:14 < bridge> This? 15:16 < bridge> hell yeah 15:17 < bridge> My attention span is not high enough to watch more than 10 seconds 15:18 < bridge> well it’s a very good video 15:18 < bridge> it tickles my brain 15:19 < bridge> i quite like that sammy exists 15:22 < bridge> K 15:23 < bridge> Is his guitar software written in rust? 15:25 < bridge> no he is a real guitar 15:25 < bridge> no software 15:26 < bridge> :lol: there is no such option as "all the time" 16:23 < bridge> guys anyone know's what's this error after compile ddnet, im change map and got crashed with this error 16:23 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1186327984353849493/image.png?ex=6592d908&is=65806408&hm=7fec7a8e4d4d5fd6715ea3b4cd776a2b7d30cc2dcb72d162ecb06072b4aaedc7& 16:54 < bridge> I would like float calculations in const functions (problem is potentially different results during compile and runtime, but maybe only with NaN(?), see: https://github.com/rust-lang/rust/issues/57241) 16:54 < bridge> Also const functions in traits would be quite nice, but for me it sounds like they are much further away 17:21 < bridge> :troll: 17:38 < bridge> <3x1st_> @headshotnoby answer in dm 18:19 < bridge> 17.4.2 install/upgrade sets off a severe virus threat on Windows 10, btw 18:19 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1186357122884173985/image.png?ex=6592f42b&is=65807f2b&hm=f2d9f26f7a42ec48c430136d928ff4ebe57c6044a6e8541d35772aac9a5dfdaf& 18:20 < bridge> Installed previous version and no threat. Tried new one again and got the threat again. Recreated a few different ways 18:20 < bridge> :pepeW: Send to Microsoft so they can add it as a false positive 18:23 < bridge> Some behavior seems to trigger the "Defense Evasion" tactic, no idea how the detection works I suppose they don't make it public on purpose https://learn.microsoft.com/en-us/microsoft-365/security/defender-endpoint/client-behavioral-blocking 18:24 < bridge> another fix is to switch to linux 18:24 < bridge> @heinrich5991 did u do the survey yet 18:28 < bridge> i'll try on Windows 11 and see what happens since ig that is the new standard 18:29 < bridge> <_voxeldoesart> the teejan (tee trojan) 18:29 < bridge> https://lwn.net/SubscriberLink/954787/41470c731eda02a4/ 18:29 < bridge> > A lot of care is being put into gccrs not becoming a "superset" of Rust, as Cohen put it. The project wants to make sure that it does not create a special "GNU Rust" language, but is trying instead to replicate the output of rustc — bugs, quirks, and all. Both the Rust and GCC test suites are being used to accomplish this. 18:31 < bridge> > Rustc uses some intrinsics provided by LLVM that are not supported by GCC, which means the gccrs team needs to spend time implementing them in GCC. 18:31 < bridge> > In the GNU Cauldron talk, Patry also mentioned that gccrs had more than 800 commits waiting to be upstreamed to GCC. 18:33 < bridge> > Cohen mentioned that "C programmers have been forgetting to close their file descriptors for 40 years, [so] there are a lot of plugins to catch that". Gccrs intends to enable Rust programmers to use existing GCC plugins and static analyzers to catch bugs in unsafe code. 18:33 < bridge> xddd 18:34 < bridge> <_voxeldoesart> rust fans have a strong vendetta against c / c++ and its users 18:36 < bridge> > Polonius, on the other hand, was integrated long ago. It's not enabled by default, but that is supposed to replace current borrow checker in Rust 2024. 18:36 < bridge> @jupeyy_keks rust 2024 will most likely have polonius 18:36 < bridge> the improved borrow checker 18:40 < bridge> nice directly update all Cargo.toml when it hits 18:59 < ChillerDragon> @robyt3 how exactly do std::functions look like for chat commands? Do you in place mix command name, helptext and method definition? 18:59 < ChillerDragon> seems a bit messy compared to the current ddracechat.h and ddracechat.cpp with one clear overview and one file just with the implementations 19:40 < bridge> Yeah, I would. The lambda should be the last parameter then. In my opinion it's less messy if you don't need to edit 3 different locations to add a chat command. The expected 3k line diff is not great though. Probably better to open an issue so others can also comment on this before you commit to it. 19:46 < bridge> ofc 😉 19:52 < bridge> @learath2 https://www.amazon.co.jp/dp/4844334158 19:53 < bridge> title: "i am a fox, but eveb i know llvm" 19:53 < bridge> title: "i am a fox, but even i know llvm" 19:53 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1186380685531959316/914C0P1XdEL.png?ex=65930a1d&is=6580951d&hm=2c763e310934da6c5866e3dcf8f7d8b858878144fde75c756119bdb6f5426a5c& 19:55 < bridge> > LLVM that even a fox can understand ~ A guidebook for creating your own compiler 19:57 < bridge> I can confirm that this is what's written there 😄 20:02 < bridge> > from frontend to backend, extensive explanations in japan's first technical book on LLVM 20:02 < bridge> my attempt at the remainder of the text 20:08 < bridge> :O learning Japanese and LLVM in one go 20:10 < bridge> https://blog.rust-lang.org/2023/12/15/2024-Edition-CFP.html 20:10 < bridge> @jupeyy_keks 20:21 < bridge> merge all nightlies 20:30 < bridge> https://github.com/ronnychevalier/cargo-multivers 20:31 < bridge> that's cool 😄 20:31 < bridge> xd ye 20:31 < bridge> i should have shared it on friday 20:31 < bridge> rip 20:32 < bridge> https://github.com/calebzulawski/multiversion 20:41 < bridge> https://store.steampowered.com/app/2628450/Times_of_Progress 20:41 < bridge> made with bevy engine 20:42 < bridge> 20:42 < bridge> aparently this one too but using custom render engine 20:42 < bridge> it looks rly good 20:49 < bridge> <_voxeldoesart> i forgot bevy was a thing 20:52 < bridge> bevy has lot of potential 20:53 < bridge> currently they overhauling the ui framework 20:53 < bridge> then they will make a editor with it 20:53 < bridge> dogfooding 20:53 < bridge> and then hopefully it will be amazing 20:53 < bridge> i already love the ecs they have 20:53 < bridge> and its perfomant by nature 20:53 < bridge> design* 21:29 < bridge> morning 23:11 < bridge> learath is motivated 😮 23:22 < bridge> nice 23:23 < bridge> how did u do it lerato 23:28 < bridge> I am not planning to do it for ddnet sounds like too much work for too little gain. But I am currently building a new command system from scratch in a mod might do it there. I just don’t know if I like giving up the clean overview with one command per line. Having the callback in there even at the end would make it multi line and thus messy 23:29 < bridge> poggies „lerato“ is finally established 23:44 < bridge> <_voxeldoesart> learath