Re: [Mesa-dev] Rust drivers in Mesa

2020-10-05 Thread Matt Turner
On Sun, Oct 4, 2020 at 2:00 PM Marek Olšák wrote: > I think it's just going to get more messy and complicated for people who > don't want to learn or use another language. Mesa already requires people to > know C, Python, and now newly Gitlab CI scripts just to get stuff done and > merged.

Re: [Mesa-dev] Rust drivers in Mesa

2020-10-05 Thread Michel Dänzer
On 2020-10-04 11:00 p.m., Marek Olšák wrote: I think it's just going to get more messy and complicated for people who don't want to learn or use another language. Mesa already requires people to know C, Python, and now newly Gitlab CI scripts just to get stuff done and merged. I've been a

Re: [Mesa-dev] Rust drivers in Mesa

2020-10-05 Thread Michael Shigorin
On Sun, Oct 04, 2020 at 08:24:08PM +0200, Alexander Schlichte wrote: > >> For one, I'm porting ALT Linux onto e2k platform > >> (there's only an early non-optimizing version of > >> Rust port there by now), and we're maintaining repos > >> for aarch64, armv7hf, ppc64el, mipsel, and riscv64 either

Re: [Mesa-dev] Rust drivers in Mesa

2020-10-05 Thread Volker Weißmann
2. Rust's enums look awesome but are only mostly awesome: a. Pattern matching on them can lead to some pretty deep indentation which is a bit annoying. b. There's no good way to have multiple cases handled by the same code like you can with a C switch; you have to either repeat it or