Re: [Mesa-dev] Rust drivers in Mesa

2020-10-01 Thread Dave Airlie
On Fri, 2 Oct 2020 at 15:01, Jason Ekstrand wrote: > > On Thu, Oct 1, 2020 at 10:56 PM Rob Clark wrote: > > > > On Thu, Oct 1, 2020 at 6:36 PM Alyssa Rosenzweig > > wrote: > > > > > > Implications for the build system vary. Rust prefers to be built by its > > > own package manager, Cargo, which

Re: [Mesa-dev] Rust drivers in Mesa

2020-10-01 Thread Jason Ekstrand
On Thu, Oct 1, 2020 at 10:56 PM Rob Clark wrote: > > On Thu, Oct 1, 2020 at 6:36 PM Alyssa Rosenzweig > wrote: > > > > Implications for the build system vary. Rust prefers to be built by its > > own package manager, Cargo, which is tricky to integrate with other > > build systems. Actually, Meson

Re: [Mesa-dev] Rust drivers in Mesa

2020-10-01 Thread Rob Clark
On Thu, Oct 1, 2020 at 6:36 PM Alyssa Rosenzweig wrote: > > Implications for the build system vary. Rust prefers to be built by its > own package manager, Cargo, which is tricky to integrate with other > build systems. Actually, Meson has native support for Rust, invoking the > compiler directly a

Re: [Mesa-dev] Rust drivers in Mesa

2020-10-01 Thread Francisco Jerez
Alyssa Rosenzweig writes: > Hi all, > > Recently I've been thinking about the potential for the Rust programming > language in Mesa. Rust bills itself a safe system programming language > with comparable performance to C [0], which is a naturally fit for > graphics driver development. > > Mesa to

[Mesa-dev] Rust drivers in Mesa

2020-10-01 Thread Alyssa Rosenzweig
Hi all, Recently I've been thinking about the potential for the Rust programming language in Mesa. Rust bills itself a safe system programming language with comparable performance to C [0], which is a naturally fit for graphics driver development. Mesa today is written primarily in C, a notorious