ChanServ changed the topic of #asahi-gpu to: Asahi Linux: porting Linux to Apple Silicon macs | GPU / 3D graphics stack black-box RE and development (NO binary reversing) | Keep things on topic | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-gpu
surge9n has joined #asahi-gpu
surge9n has quit [Ping timeout: 480 seconds]
surge9n has joined #asahi-gpu
surge9n has quit [Ping timeout: 480 seconds]
hutchinson70[m] has quit [autokilled: This host violated network policy. Mail support@oftc.net if you feel this is in error. (2022-08-17 01:26:50)]
surge9n has joined #asahi-gpu
surge9n has quit [Ping timeout: 480 seconds]
surge9n has joined #asahi-gpu
surge9n has quit [Ping timeout: 480 seconds]
<phire>
lina: I've been thinking about rust vs c.
<phire>
Really, your main motivation for going with rust is that it allows you to hide auto-generated code as proc_macros, and the thread on rust-for-linux seems to indicate that they are uneasy about using proc_macros?
<phire>
Perhaps it's better to consider a solution that automatically generates c code with a small perl script (they already do a bit of auto-header generation with perl)
<phire>
and then push the discussion to a larger mailing list about which would be better, perl or proc_macro?
<phire>
A small perl script would be way more sane than the preprocessor abuse you hinted at; and wouldn't hinder stepping though with a debugger
nala_the_lion[m] has joined #asahi-gpu
<lina>
phire: That's only half the story, the other half is just being able to juggle all these firmware structures safely
<lina>
The RfL folks are uneasy about using too many proc macros, but it kind of is necessary here, and I think they would agree once they see what I'm doing...
<lina>
Also, for what it's worth, proc macros do work well with debuggers (the token span information is preserved)
<lina>
And they can work with IDE integration too (though it's broken on mine right now, but I'm pretty sure that can be fixed, it just doesn't get loaded), which a perl preprocessor can't...
<phire>
Yeah, I agree that proc_macro is the superior solution. Just thinking we should be clear about what it's completing against
<TellowKrinkle[m]>
Is there a standalone AGX disassembler available?
surge9n has joined #asahi-gpu
surge9n has quit [Ping timeout: 480 seconds]
surge9n has joined #asahi-gpu
surge9n has quit [Ping timeout: 480 seconds]
<clararussell[m]>
Everyday is a winning day we make thousand of dollars! Get started today and enjoy daily profits. I'll help 10 people to earn $30k within 72 hours but you will pay me 10% of your profit when you receive it. Inbox to get started now click on the link below. https://t.me/+apDdmjNhIAc3YjA0
clararussell[m] has quit [autokilled: This host violated network policy and has been banned. Mail support@oftc.net if you think this is in error. (2022-08-17 04:47:49)]
surge9n has joined #asahi-gpu
surge9n has quit [Ping timeout: 480 seconds]
surge9n has joined #asahi-gpu
surge9n has quit [Ping timeout: 480 seconds]
FlorianSchumann[m] has joined #asahi-gpu
surge9n has joined #asahi-gpu
surge9n has quit [Ping timeout: 480 seconds]
MajorBiscuit has joined #asahi-gpu
Major_Biscuit has joined #asahi-gpu
surge9n has joined #asahi-gpu
MajorBiscuit has quit [Ping timeout: 480 seconds]
surge9n has quit [Ping timeout: 480 seconds]
CatDentures has joined #asahi-gpu
CatDentures has quit [Remote host closed the connection]
CatDentures has joined #asahi-gpu
surge9n has joined #asahi-gpu
surge9n has quit [Ping timeout: 480 seconds]
CatDentures has quit [Quit: Konversation terminated!]
surge9n has joined #asahi-gpu
Michael[m]123 is now known as Michae5
Michae5 is now known as skaldek
surge9n has quit [Ping timeout: 480 seconds]
surge9n has joined #asahi-gpu
surge9n has quit [Ping timeout: 480 seconds]
uniq has joined #asahi-gpu
uniq has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
surge9n has joined #asahi-gpu
surge9n has quit [Ping timeout: 480 seconds]
surge9n has joined #asahi-gpu
uniq has joined #asahi-gpu
uniq has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Major_Biscuit has quit [Ping timeout: 480 seconds]
Votes78 has quit [Ping timeout: 480 seconds]
Votes78 has joined #asahi-gpu
nsklaus has quit [Ping timeout: 480 seconds]
surge9n has quit [Ping timeout: 480 seconds]
<Sobek[m]>
As someone who has done an OS in C and spent his PhD writing rust. The safety and guarantees rust provide, along with a much better type system are valuable. The proc_macro thing that Lina used is anecdotal imho. I think the discussion I’ve read on the ML wasn’t hostile to the specific use case from Lina. Worst case there are alternâtes way this could be done.
<Sobek[m]>
Worst case, some things can be re-written easily if needed, and I think the rust compiler is highly beneficial to code quality.
_Votes78 has joined #asahi-gpu
Votes78 has quit [Ping timeout: 480 seconds]
surge9n has joined #asahi-gpu
jannau has quit [Remote host closed the connection]