kenkendk / FasterHashing

Wrapper library for using native hashing libraries on Windows, Linux and OSX
MIT License
3 stars 4 forks source link

.netstandard #2

Open tsuckow opened 3 years ago

tsuckow commented 3 years ago

Migrate to .netstandard to support the future

kenkendk commented 3 years ago

From what I understand, there is no need for this library for future implementations. It was mainly a performance boost for Mono runtimes, which uses a managed version of the algorithms. The .Net core (and .Net 5) uses the platform interop layer that calls the libraries on the system (the same as FasterHashing).

tsuckow commented 3 years ago

Good to know. I'm trying to update a framework library to netstandard. It seems to compile with the existing version of faster hashing but complains profusely. If I get the library running I'll come back to this and try making a benchmark to double check, though if you are right that would be quite convenient.

kenkendk commented 3 years ago

I am pretty sure it is just as fast without this library. I made the library after detecting slowness in Mono and learning that .Net core was faster by calling a native library.