On Thu, Dec 21, 2017 at 12:38:00PM +0100, Marek Marczykowski-Górecki wrote: > On Wed, Dec 20, 2017 at 11:56:24PM -0500, Peter Todd wrote: > > On Wed, Dec 20, 2017 at 11:32:44PM +0100, Marek Marczykowski-Górecki wrote: > > > Thanks for the heads-up! Library for native extensions definitely would be > > > useful. Generally we try to use python wherever possible, mostly because > > > of its memory-safety (debugging memory corruption bugs can be a > > > nightmare). But in some cases (like by you mentioned KDE plasma apps) it > > > isn't really an option. > > > > Q: Are there any plans for using Rust in Qubes? > > > > IIRC a Rust compiler is available in recent Fedora distributions. > > Well, we don't have such plans right now, but this is definitely > interesting thing to look into. > One think that python is better (or just different), is that it is > interpreted - IOW you don't need build environment, separate source code > etc to apply a trivial change, or just to see how things work. But in some > places (like above, or where performance is crucial), using Rust indeed > may be a good idea.
I agree that interpreters are convenient! Though actually, I've found in other projects that the main thing driving me to Rust from Python is a good mandatory type system, which I'm finding helps prevent security issues when used appropriately - at the cost of making the code slower to write. Though given that the code isn't done until it's audited, in many cases I'm finding I finish the job faster with Rust than Python. But thats just initial experiences - I'll see how I feel about it still in another year. :) -- https://petertodd.org 'peter'[:-1]@petertodd.org -- You received this message because you are subscribed to the Google Groups "qubes-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-devel+unsubscr...@googlegroups.com. To post to this group, send email to qubes-devel@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-devel/20171222064202.GA11988%40savin.petertodd.org. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: Digital signature