From nobody Wed Apr 30 07:25:59 2025 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4ZnTHq4Xvdz5v1hD; Wed, 30 Apr 2025 07:25:59 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZnTHq3q0Vz4KPd; Wed, 30 Apr 2025 07:25:59 +0000 (UTC) (envelope-from danfe@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1745997959; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=7whrrNhkLQ/eSJ3odIiTs4UI8JSBQLOVQ59om7Yxqsk=; b=poojUyq/7+GdWbiT+YsCfB08BUydwn2XiPq2OnmpBUq4LxqWXEOxt1d0gOL6rYytBxuNE3 gGjKERfx2EQwuQohRhOdqdcNEBC2LCBoHqjDFoiQFRvcCJfSNbBxLWBWKKmfHR+W/5UV72 627WvLVkjTbZK+0fHgnkgBiKeaTm9eTVgjXgGOU2A4pAqcU3P0jEyf0wCPdvGfLoRbSVAD q0ntw0c9hi8ZI0d82mVVCQg85KqWSVNKIDEyh+R2oLt8e2tZWarTOS6VaAJHrPNkYzJZds SL78SW9gaIFgMfi+1dHAzjsLuvSrdQmUyYU+XQHoxdcI1nNqx+r13QqhN1f6RA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1745997959; a=rsa-sha256; cv=none; b=aXMOFWsiIOmgAwEu3yUVo1Hi4RV9RZ4Gk/OCKmOcVQswto9ZAXBgBAX8Z/h72yyZel6biz HTtA3lUPBfA/L4Yjkh3BFs8geOr+9P3obqKD/0KxAPMRPaKSSOImWyaiRqAOT1yVNXD1x0 eBqrKcFt4tVwsKNzkR/welWJ1wP7MOVk4h0Ew91qW2LxgQh/+PKHC+GQTDbbiKKSTwtcNz saxRStmkbNEvMDxVzvPislxnAQXQA2YwsobibvAA4gtiqnhufBRfuMkkh/cT52A5hu3e3W ZYnfl8iOhOn31HEjxMnyWlA+7JyFWZq638wk6/pP1sc6rr83uHo5+9eMKtrFdA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1745997959; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=7whrrNhkLQ/eSJ3odIiTs4UI8JSBQLOVQ59om7Yxqsk=; b=CizIusqnYU4ga+kJVIqi1nqwFyZu86CZIe6AlI6Ac0ZB0/I/59vqz7UxLjOigzYopyHSOQ a9slIOBpykXiVydsO8/kOHT5CaMNdT9krziAz71jC7X4sK31w8vlJ+Klmp77YBwmCKUg68 epI2RnaHxKWeslCn40d3Cnu4QiXRBn+zib5W7bDvjYA1MiLAwUA0FtDynhygQ+NJuNeyL4 Agnw2poehKZzij+JPwxwILKEf40LUz9KehVDs/ykexZfrcdOFJ1frH1xLfBlSPE8RAiQbx K3u8K77XCFpPWxLfiRzJqeTxlPaB3DdIHRIlX7llLey3zAFWCQKXkJjQ+f+FKA== Received: by freefall.freebsd.org (Postfix, from userid 1033) id 6F5274A67; Wed, 30 Apr 2025 07:25:59 +0000 (UTC) Date: Wed, 30 Apr 2025 07:25:59 +0000 From: Alexey Dokuchaev To: Daniel Engberg Cc: ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Subject: Re: git: 78457b14dd5a - main - net-p2p/*: revert unjust deprecation of three useful ports Message-ID: References: <202503302309.52UN9fOt059182@gitrepo.freebsd.org> List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Sat, Apr 05, 2025 at 09:20:52AM +0200, Daniel Engberg wrote: > On 2025-03-31 01:09, Alexey Dokuchaev wrote: > > commit 78457b14dd5a11cf343fed3d70e8a5cc09292d8b > > > > net-p2p/*: revert unjust deprecation of three useful ports > > These are written in traditional languages and do not require > > complex, resource-consuming bootstrap or runtime, contrary to > > the suggested alternatives. > > Upstream did some testing and concluded that it's faster and in some > cases by quite a bit. > https://github.com/autobrr/mkbrr?tab=readme-ov-file#performance > > Out of curiosity, how did you evaluate runtime? FWIW when I got CPU with SHA-1 intrinsics which OpenSSL could make use of I wanted to benchmark `net-p2p/btcheck' against different SHA-1 providers (selectable via options) to see how beneficial hardware calculation can be, but never completed this quest for reasons I can't really recall. :( Similar test for `net-p2p/mktorrent' port also failed through the cracks. However, run-time performance differences don't bother me as much as what language these tools are written and what is required to build them, and here nothing can beat C code (okay, Pascal, Ada, or OCaml probably can). From that point, a piece of software written in Rust or even Go can never be an adequate replacement for a similar program written in a traditional low-footprint language, because it cannot be built on commodity hardware, e.g. your typical cheap laptop from a nearby electronics market. Ideally, it should be buildable on TI-85 but that's probably a bit too much to ask. ./danfe