From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id 30F974D6A3 for ; Fri, 21 Feb 2025 18:02:30 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 9C79368C790; Fri, 21 Feb 2025 20:02:26 +0200 (EET) Received: from glom.nmugroup.com (glom.nmugroup.com [193.183.80.6]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id B5F2868C6CE for ; Fri, 21 Feb 2025 20:02:20 +0200 (EET) Received: from localhost (localhost [127.0.0.1]) by glom.nmugroup.com (Postfix) with ESMTP id 17125542B1D5 for ; Fri, 21 Feb 2025 19:02:20 +0100 (CET) Received: from debian.lan (unknown [IPv6:2a00:66c0:a::72c]) (Authenticated sender: git01) by glom.nmugroup.com (Postfix) with ESMTPSA id CB31F542AF0F for ; Fri, 21 Feb 2025 19:02:19 +0100 (CET) Message-ID: From: Tomas =?ISO-8859-1?Q?H=E4rdin?= To: FFmpeg development discussions and patches Date: Fri, 21 Feb 2025 19:02:16 +0100 In-Reply-To: References: <418474f4-5b38-4a44-822a-8e3c367e673c@gmail.com> User-Agent: Evolution 3.46.4-2 MIME-Version: 1.0 Subject: Re: [FFmpeg-devel] I've written a filter in Rust X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: fre 2025-02-21 klockan 14:18 +0100 skrev Lynne: > On 20/02/2025 14:06, Leandro Santiago wrote: > > > - 1: I managed to reuse lots of high quality code, available on > > crates (the repository of Rust packages), preventing me of needing > > to write hairy math heavy code. I personally suck in maths, > > especially linear algebra. Using the paper and the reference > > implementation [3] was enough, although I do not understand all the > > math magic. For instance, I reused an existing crate for Kalman > > filters that I probably would need to implement by hand, as the > > alternative in C would probably be using the implementation that > > OpenCV offers. And I am aware that it's not practical to make > > OpenCV a dependency of FFmpeg. > > Regardless of the language, I disagree with using crates in the context > of FFmpeg, and any use of cargo. In addition, this almost certainly will create headaches for package maintainers. The proper way to do this is to use one's OS' package manager, not go down the godawful path Python and every other modern language has of rolling their own package managers. The above said, I'm not against Rust. It has some nice properties. But it does not seem very "stable" so far. Perhaps this has changed in recent years.. If we're in the habit of allowing other languages I'd be in favor of allowing C++, so that we can make use of the STL containers rather than rolling our own. /Tomas _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".