Skip to contentSkip to conversation

strings

DISCUSSION André Coelho 3 participants 4 messages Apr 20, 2023 – Apr 21, 2023

lore
Share & tools
lore
#1 lore raw
Quoted 4 lines · André Coelho

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!

Signature · 1 line
An old man doll... just what I always wanted! - Clara
#2 lore raw

[dropped innocents from the CC list]

Quoted 8 lines · Bagas Sanjaya
Quoted 4 lines · André Coelho

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).

Quoted 2 lines

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

#3 lore raw
Quoted 6 lines · Willy Tarreau
Quoted 2 lines

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).

Quoted 7 lines
Quoted 2 lines

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.

Signature · 1 line
An old man doll... just what I always wanted! - Clara