From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.ffmpeg.org (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id C65254AD0D for ; Wed, 22 Oct 2025 12:42:25 +0000 (UTC) Authentication-Results: ffbox; dkim=fail (body hash mismatch (got b'T9dC80CQ7JNRDjIR8y7eDc5jalTbj6FHnUZaUVVdbSg=', expected b'FsP1q3R7m+TyKyTHeNxOvJ3W9vEhTeeS7PoKmv19QFA=')) header.d=niedermayer.cc header.a=rsa-sha256 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ffmpeg.org; i=@ffmpeg.org; q=dns/txt; s=mail; t=1761136937; h=date : to : message-id : references : mime-version : in-reply-to : reply-to : subject : list-id : list-archive : list-archive : list-help : list-owner : list-post : list-subscribe : list-unsubscribe : from : cc : content-type : from; bh=8vSQeI3qvERyHirgBdURrm04bznvhCp8iMR9aOOIoDA=; b=i0Lg8OyPbdAxGE2fw0E93MyRuk2t2VkUikraP8I22NwIBtrBVh4xPWnpO83ysyAk0qofC lQxpD10YPuwy58LuvlRTxc5K1WEp5D4EN0fN50vSY+V0D00GOd1UmuEURmn0OiVHbNBcchT nObepRItNHYw8hNp4MfHQnoOsmkfTewdLffBYftJztRNPyC/MC2Hc30ChlTAR1GJN2yLDPx GKBvUguc6Kup+qdpU3F3mLck+uekNVbXEIdhMbGu3gSw/1coJIVwdehaM+vY7rt0V8CIxWE Db+MQxUHGHc23XAZqvXBLngoYHwYRYLUiZkl7SRjrcfAwDWYGPdh9QQ+1Rqg== Received: from [172.19.0.2] (unknown [172.19.0.2]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id 1BB5C68F579; Wed, 22 Oct 2025 15:42:17 +0300 (EEST) ARC-Seal: i=1; cv=none; a=rsa-sha256; d=ffmpeg.org; s=arc; t=1761136934; b=hxBePa3LwCrt0G7X44AkXFLP7sBEOCcOs2VxzCnJNYKiDYEHsiRTE4+1XZUn3Fy1TKWIV Q/EQwAufKVfjcWQ23Dx2kb1LJ2peamDmq01Lme0Y+glMepLCSgfUHhHQT+lmwihud4T1axZ 0RMnxZOgwLZNm2vBPtlu1W/FksNrsXJdFI6cUZVGPikPJODjyqx8SLelVNRybQAeDOyFVI8 7P6+8cUrDEWrH31Re1ZHgMMZeOk8TU+CDYDo/KVWD4VM4CHogqjjiptQMt/JMQ4Uw1GCoF9 49JLPwXm8uNzlIWbPd1cSWntdSEEQI9C8X00Y1813bO3tlZUe6KPOpeli2Ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=ffmpeg.org; s=arc; t=1761136934; h=from : sender : reply-to : subject : date : message-id : to : cc : mime-version : content-type : content-transfer-encoding : content-id : content-description : resent-date : resent-from : resent-sender : resent-to : resent-cc : resent-message-id : in-reply-to : references : list-id : list-help : list-unsubscribe : list-subscribe : list-post : list-owner : list-archive; bh=T9dC80CQ7JNRDjIR8y7eDc5jalTbj6FHnUZaUVVdbSg=; b=hQEqw9O6JdtRfNScPiMANIX3GESGGD6lMt79s++18IPqQZzLetpHYrk+wx7fYK2i8xYda OPXN5ShNMt22ryt4iwgggYM3g9cLQHyU4Ob/nXBnhzAGjCMPW1cv5ng1UnHVWiKdJDaVh2F K6UjlvgLt0XrJ6K+EgFim1U7ZNgennXon8jfyOXg6CpDG6Qu5AESPKPcLQH1ghxNAccdpCh bGvTxZWjBImr62cbzKSW8j3A+T91igLvklI9g8tmTGntHSSKNFE7C3h3eVIKUjHxwi5nZ0A NzYZ0VRqLDMIW/tHJnDafkPm1SMTG07YycP3lEaneBzLEo+q13KJ94F9Kr4A== ARC-Authentication-Results: i=1; ffmpeg.org; dkim=pass header.d=niedermayer.cc; arc=none; dmarc=none Authentication-Results: ffmpeg.org; dkim=pass header.d=niedermayer.cc; arc=none (Message is not ARC signed); dmarc=none Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id 0CD6368F558 for ; Wed, 22 Oct 2025 15:42:04 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 58D4C442F1 for ; Wed, 22 Oct 2025 12:42:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1761136923; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=FsP1q3R7m+TyKyTHeNxOvJ3W9vEhTeeS7PoKmv19QFA=; b=DCznpJMHG1/irLuoVS/qfb/2GFPaXsqs58N16TdDMI8SpFTfrVvt3xvJc4mTez8mKeXiA3 YRME5cbUEfoZHPpc7Aq/6xtalL3rXv8p0gu/jU8N9nYxL+LwQfYr7huQfi3SnQnZPngztg B2MR0K4loQJicDdoMlnSXyfxVG2H/RZaMKCkASJ+6VwVjdaI6M435MbLE0jgI0q8KMxTzL aBc+wCT1uequM9KWODLoyC/clPKkDTlH2lqOj1iXcG9ImcxE46bZ31Gw/emy2N34BLYvBd sDZYchqBFtFqfiYEZR7fOPlllmjg2Xiqr23aYamDwrCRl48uXA77h2X+kdT8OQ== Date: Wed, 22 Oct 2025 14:42:02 +0200 To: FFmpeg development discussions and patches Message-ID: References: <23234a7ec4715e7df0c9c4e5b2ad9556a98d6823.camel@haerdin.se> MIME-Version: 1.0 In-Reply-To: X-GND-Sasl: michael@niedermayer.cc Message-ID-Hash: JSZGZBS2DOD7NNSM7EERM3X626ZS7HEH X-Message-ID-Hash: JSZGZBS2DOD7NNSM7EERM3X626ZS7HEH X-MailFrom: SRS0=1JUI=47=niedermayer.cc=michael@ffmpeg.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-ffmpeg-devel.ffmpeg.org-0; header-match-ffmpeg-devel.ffmpeg.org-1; header-match-ffmpeg-devel.ffmpeg.org-2; header-match-ffmpeg-devel.ffmpeg.org-3; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list Reply-To: FFmpeg development discussions and patches Subject: [FFmpeg-devel] Re: [RFC] C++ List-Id: FFmpeg development discussions and patches Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Michael Niedermayer via ffmpeg-devel Cc: Michael Niedermayer Content-Type: multipart/mixed; boundary="===============5778464758608686095==" Archived-At: List-Archive: List-Post: --===============5778464758608686095== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="oqTTJSiavikGowkm" Content-Disposition: inline --oqTTJSiavikGowkm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi On Wed, Oct 22, 2025 at 02:09:32PM +0200, Gregor Riepl via ffmpeg-devel wro= te: > > My main motivation is to be able to use STL, which would simplify > > string handling and memory management, and give us access to its data > > structures. Manual memory management has its place, especially in lavc. > > In lavf less so. RAII would do wonders in de-gotofying error handling. > > Features like std::filesystem, std::chrono, std::thread etc abstract > > away many OS particularities. Thorough STL-ification would render parts > > of lavu obsolete. avstring.*, bprintf.* and tree.* come to mind. This > > would have security benefits. Another reason is stronger typing, which > > tends to reveal bugs. >=20 > Just for the sake of the argument: Wouldn't it be better to opt for an ev= en safer language than C++, like Rust? +1 i think the main question in choosing a language is the size of the pool of developers potentially able/willing to contribute to FFmpeg usi= ng that language thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Nations do behave wisely once they have exhausted all other alternatives.= =20 -- Abba Eban --oqTTJSiavikGowkm Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEKAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCaPjRFgAKCRBhHseHBAsP q6HPAKCC52E3Ou3NgaslXibOKrqDcIVTmACfdYSNCjUN7tTM2rVjJdlpwANms4U= =tM5x -----END PGP SIGNATURE----- --oqTTJSiavikGowkm-- --===============5778464758608686095== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ffmpeg-devel mailing list -- ffmpeg-devel@ffmpeg.org To unsubscribe send an email to ffmpeg-devel-leave@ffmpeg.org --===============5778464758608686095==--