From owner-freebsd-hackers@freebsd.org Tue Jan 1 03:53:05 2019 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 F0C3F1426A5F for ; Tue, 1 Jan 2019 03:53:04 +0000 (UTC) (envelope-from mozolevsky@gmail.com) Received: from mail-oi1-f171.google.com (mail-oi1-f171.google.com [209.85.167.171]) (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 A3DD86C145 for ; Tue, 1 Jan 2019 03:53:03 +0000 (UTC) (envelope-from mozolevsky@gmail.com) Received: by mail-oi1-f171.google.com with SMTP id y23so22887035oia.4 for ; Mon, 31 Dec 2018 19:53:03 -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=qulsCrqI5Tt5jWrtqeygn9+GfWQ1KczxZdYY8XdHzEo=; b=VUXqEaEM/z6Q8offFel7rAhMu7fA5O/tSUPIh5F8K0rJv4j//nxu+BjwS3AI2NNBsA 5oy1Gn4USXadNdDjkCVlTz+0vBcTHqBtDb/VjM+2k9Nmp5rLuNqNVxTmEZWXZcEm8WIg cKEssBYHAOTqznlqWWN73LgZZ0Tf22TG11RCfsu6uf7plknjdl/JRejeY7MLvl+ypF1z lbjhnpK/LDh47ghRdpw2TayQwZldyCJaEEJ8gxHn6t0DIG0bGd9vpJf50eSzXjE3VQsl ehMc9OdUE0+ngjiyfeJfIGIeCOm36grdl0l5JUMRo+WhLK3daJ3iy+G9vaiKJAPNz67Z 5xkg== X-Gm-Message-State: AA+aEWZWH5qJCsWiEvSku8e+ARZ3rc3rmGlJmhinBS2ar/PsCSszGuaC vcTH2hV7stxAjHolrUi+4oe6RYsgyoO6Gsss9SM= X-Google-Smtp-Source: AFSGD/U+AzCe24mBbd/ZaXudS+3+mZk0LoaVnr4GEu+dsg6xNLPhHvNDQKlhwL2Mg8Yqph2d/vxjC718BTxP/uZBjSE= X-Received: by 2002:aca:5987:: with SMTP id n129mr27120519oib.174.1546314460160; Mon, 31 Dec 2018 19:47:40 -0800 (PST) MIME-Version: 1.0 References: <5B476178-4D09-486F-AC58-47CB04965335@FreeBSD.org> <2C39D05E-E855-4FCE-82CF-83EA4AE9F84A@FreeBSD.org> <3E0C78EF-FBCC-4E7B-BD39-8A27322CDA8C@rpi.edu> In-Reply-To: <3E0C78EF-FBCC-4E7B-BD39-8A27322CDA8C@rpi.edu> From: Igor Mozolevsky Date: Tue, 1 Jan 2019 03:47:03 +0000 Message-ID: Subject: Re: Speculative: Rust for base system components To: Garance A Drosehn Cc: Hackers freeBSD Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: A3DD86C145 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of mozolevsky@gmail.com designates 209.85.167.171 as permitted sender) smtp.mailfrom=mozolevsky@gmail.com X-Spamd-Result: default: False [-4.03 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; DMARC_NA(0.00)[hybrid-lab.co.uk]; MIME_TRACE(0.00)[0:+]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[171.167.85.209.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.94)[-0.942,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; FORGED_SENDER(0.30)[igor@hybrid-lab.co.uk,mozolevsky@gmail.com]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[igor@hybrid-lab.co.uk,mozolevsky@gmail.com]; IP_SCORE(-1.08)[ipnet: 209.85.128.0/17(-3.77), asn: 15169(-1.56), country: US(-0.08)]; RCVD_COUNT_TWO(0.00)[2] 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: Tue, 01 Jan 2019 03:53:05 -0000 On Tue, 1 Jan 2019 at 03:40, Garance A Drosehn wrote: > > On 31 Dec 2018, at 19:53, Igor Mozolevsky wrote: > > On Tue, 1 Jan 2019 at 00:30, Garance A Drosehn wrote: > > There's one program written in rust which I use a lot, which is > called 'ripgrep' (or 'rg' for short). It's one of the few programs > which I install via pre-compiled pkgs, because I don't want to wait > for all the time it takes to compile a release-build. But I'm very > happy with how fast the program runs. > > And what metric is that against? I'm very happy with the speed jQuery > is executed in my browser, but that's no reasonable metric to argue > that JavaScript is a suitable language for the kernel... > > I mentioned that program so each person could test it for themselves, > using whatever metric that they are comfortable with. I think you missed the point I was trying to make: you're comparing apples and oranges---sure, they are (for most part) round, but they're different! What you need is the implementation of the same algorithm in both C and Rust and then we can talk... Happy New Year! -- Igor M.