From owner-freebsd-hackers@freebsd.org Mon Dec 31 14:22:42 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 20EC014363E7 for ; Mon, 31 Dec 2018 14:22:42 +0000 (UTC) (envelope-from mozolevsky@gmail.com) Received: from mail-oi1-f179.google.com (mail-oi1-f179.google.com [209.85.167.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B4BB96E692 for ; Mon, 31 Dec 2018 14:22:41 +0000 (UTC) (envelope-from mozolevsky@gmail.com) Received: by mail-oi1-f179.google.com with SMTP id c206so21996888oib.0 for ; Mon, 31 Dec 2018 06:22:41 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9rfkNcjlmWwJYgDb19Mg9KImTpVDaBpVmKsB2Def3wk=; b=EHt13Cf+8M3s3dqTqjkO1lfYXuIyWbzSxtB0S6HtzH/pduKGrIx4Yf4sIpnGHX4NlM aRt4mWb/EFeZVdOjnac/qUUwXKgEJoyX4FDXlsRvnkqGpyk7tX27kwkJwLmE5mXHzlim V9GV6vJSUUZOCp+WK/G1iXC6ulSqZS4tEloO8gJWB24r1f4CaWX5P9LUu2AOJ5b0CVa9 hjm65Xg9iOiBkt3a8fJbi1KrqwezvXlsqVBQ7N5Qn0P/xW3ca8J+6AkmdUDOP0hgC3Uo CLnuFzbJE1EqrcWk+lKeQoEgYcGBkW1J6sr9VhPIlliEXFvL/rhaSJYDa5lllJnrFiST yqqw== X-Gm-Message-State: AJcUukco5jPFGaIcWAwjbhdt+Y6WzQY9PHE+Nn2WsMgoOA6ckmzA6NOd 4cmBseS7fRPo7AkWuKB1StQw6Ki8liNwxSjPT6o= X-Google-Smtp-Source: AFSGD/XYAIwK7TilRwuJKhL7nA0eJhDDq3qhSmPcCyPh3vx+Bg+0C1Q11OzlI3qWoZKGn71L7YQInLVo3EFiZWCjQho= X-Received: by 2002:a05:6808:282:: with SMTP id z2mr25987375oic.128.1546266154972; Mon, 31 Dec 2018 06:22:34 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Igor Mozolevsky Date: Mon, 31 Dec 2018 14:21:59 +0000 Message-ID: Subject: Re: Speculative: Rust for base system components To: Eric McCorkle Cc: "freebsd-hackers@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: B4BB96E692 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.97 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.97)[-0.975,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Dec 2018 14:22:42 -0000 On Mon, 31 Dec 2018 at 05:42, Eric McCorkle wrote: > > Before I begin, I want to be clear that everything here is in the realm > of speculative, long-term discussion. My goal is to start a > conversation, not to propose anything concrete right now. Does the generated code size increase or decrease and does the data-path get longer or shorter with switch from C to Rust with all the "great features" of Rust? Are there any metrics for these? If a CPU cache gets trashed repeatedly or data takes massive d-tours that would be a significant downside, wouldn't it? -- Igor M.