* strings @ 2023-04-20 2:58 André Coelho 2023-04-21 4:20 ` strings Bagas Sanjaya 0 siblings, 1 reply; 4+ messages in thread From: André Coelho @ 2023-04-20 2:58 UTC (permalink / raw) To: linux-kernel greeting...if youre interessed in string algorihtm check https://andrealbergaria.github.io/ thanks in advnace andre ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: strings 2023-04-20 2:58 strings André Coelho @ 2023-04-21 4:20 ` Bagas Sanjaya 2023-04-21 6:34 ` strings Willy Tarreau 0 siblings, 1 reply; 4+ messages in thread From: Bagas Sanjaya @ 2023-04-21 4:20 UTC (permalink / raw) To: André Coelho; +Cc: linux-kernel, Randy Dunlap, Linus Torvalds, Greg KH [-- Attachment #1: Type: text/plain, Size: 788 bytes --] On Thu, Apr 20, 2023 at 03:58:47AM +0100, André Coelho wrote: > greeting...if youre interessed in string algorihtm check > > https://andrealbergaria.github.io/ > Looks like above link is about hex arithmetic implemented using strings, right? And the licensing is similar to Qt: it is opensource (GPLed), but there is a commercial offering for proprietary projects. Also, on what use cases can your idea fit the kernel context? Or doesn't the kernel already have the implementation yet? Perhaps better implement as userspace library? If it is the case, I'd like to see actual patch series implementing your idea (see Documentation/process/submitting-patches.rst for how to submit your patch). Thanks! -- An old man doll... just what I always wanted! - Clara [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 228 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: strings 2023-04-21 4:20 ` strings Bagas Sanjaya @ 2023-04-21 6:34 ` Willy Tarreau 2023-04-21 12:21 ` strings Bagas Sanjaya 0 siblings, 1 reply; 4+ messages in thread From: Willy Tarreau @ 2023-04-21 6:34 UTC (permalink / raw) To: Bagas Sanjaya; +Cc: André Coelho, linux-kernel [dropped innocents from the CC list] On Fri, Apr 21, 2023 at 11:20:58AM +0700, Bagas Sanjaya wrote: > On Thu, Apr 20, 2023 at 03:58:47AM +0100, André Coelho wrote: > > greeting...if youre interessed in string algorihtm check > > > > https://andrealbergaria.github.io/ > > > > Looks like above link is about hex arithmetic implemented using strings, > right? It looks more like a reinvention of the classical multi-byte string processing (memcmp, memcpy, memmove etc). > Also, on what use cases can your idea fit the kernel context? Or doesn't the > kernel already have the implementation yet? Sure it does, look at __crypto_memneq() for example, or more generally at any memcmp() or memcpy() implementation from the last 30 years, for example in glibc. Regards, Willy ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: strings 2023-04-21 6:34 ` strings Willy Tarreau @ 2023-04-21 12:21 ` Bagas Sanjaya 0 siblings, 0 replies; 4+ messages in thread From: Bagas Sanjaya @ 2023-04-21 12:21 UTC (permalink / raw) To: Willy Tarreau; +Cc: André Coelho, linux-kernel On 4/21/23 13:34, Willy Tarreau wrote: >> Looks like above link is about hex arithmetic implemented using strings, >> right? > > It looks more like a reinvention of the classical multi-byte string > processing (memcmp, memcpy, memmove etc). > >> Also, on what use cases can your idea fit the kernel context? Or doesn't the >> kernel already have the implementation yet? > > Sure it does, look at __crypto_memneq() for example, or more generally > at any memcmp() or memcpy() implementation from the last 30 years, for > example in glibc. > Thanks for explanation! I don't have any serious C[++] programming background, so I was confused when I wrote the original reply. -- An old man doll... just what I always wanted! - Clara ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-04-21 12:21 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2023-04-20 2:58 strings André Coelho 2023-04-21 4:20 ` strings Bagas Sanjaya 2023-04-21 6:34 ` strings Willy Tarreau 2023-04-21 12:21 ` strings Bagas Sanjaya
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox