On 2026-10-18, Stéphane CARPENTIER <s…@fiat-linux.fr> wrote:
> Le 18-10-2026, Carlos E.R. <robi…@es.invalid> a écrit :
>
>> Long ago (~1985) I rewrote a commercial antivirus (it checked boot
>> sector and command.com, I think) in TurboPascal.
>>
>> It was slower than the original, but my code did a few things more.
>>
>> Then I rewrote the comparison of arrays in assembler, using basically a
>> single instruction (compare string of up to 64 KB).
>>
>> The result was 10 times faster than the original.
>
> The best anti-virus ever: "format C:". Fast and perfect. Doesn't run on
> Linux but it's not important as it needs only to run on Windows.
Well, there's always mkfs - and not only can it get rid of
Windows viruses, it can get rid of Windows itself.
--
/~\ Charlie Gibbs | In this world there are
\ / <cgib…@kltpzyxm.invalid> | two kinds of people:
X I'm really at ac.dekanfrus | 1. Those who can extrapolate
/ \ if you read it the right way. | from incomplete data.