News for hackers. Stuff that matters.
Re:Mark Russinovich: “Working towards enabling Windows drive... by chrisandchris on Sunday September 24, 2023 @02:45AM (#37630713)
It's not, no. But it's also very easy to write alloc C# code and people will if you give them the option. That won't be possible in Rust / C.
Re:Mark Russinovich: “Working towards enabling Windows drive... by charcircuit on Sunday September 24, 2023 @03:34AM (#37630928)
Even so 16.666 ms is a lot of time for just handling mouse input.
Re:Mark Russinovich: “Working towards enabling Windows drive... by mkl on Sunday September 24, 2023 @03:55AM (#37631009)
The CPU has other things to do too.
Re:Mark Russinovich: “Working towards enabling Windows drive... by charcircuit on Sunday September 24, 2023 @04:11AM (#37631095)
No matter what you do the CPU will always have other stuff to do.
Re:Mark Russinovich: “Working towards enabling Windows drive... by IshKebab on Sunday September 24, 2023 @04:28AM (#37631167)
So you agree...
Re:Mark Russinovich: “Working towards enabling Windows drive... by satvikpendem on Sunday September 24, 2023 @03:56AM (#37631014)
Attitudes like these is how we eventually end up with bloated messes like Electron. Performance matters, everywhere. Some of us increasingly also use monitors with more than 60 hertz.
Re:Mark Russinovich: “Working towards enabling Windows drive... by RetroTechie on Sunday September 24, 2023 @04:10AM (#37631087)
Yes. 640 usec should be enough for every mouse.
Re:Mark Russinovich: “Working towards enabling Windows drive... by davikr on Sunday September 24, 2023 @06:20AM (#37631772)
It's also very easy to write alloc C++ code, no?
Re:Mark Russinovich: “Working towards enabling Windows drive... by jayd16 on Sunday September 24, 2023 @12:04PM (#37634294)
This is pretty silly. They have the option to alloc and leak in C too. Rust is also just guaranteed memory safety not leak free, right? In a competition of lazy code, I'd rather GC pauses than OOM crashes.

But C# isn't ideal for a driver because of the weight of the runtime not because it's hard to save on allocations.

Re:Mark Russinovich: “Working towards enabling Windows drive... by steveklabnik on Sunday September 24, 2023 @01:56PM (#37635477)
It is correct that Rust does not (nor claim to) solve memory leaks.