|
Hello Ben,
First I don't known anything specific to the status
of unsafe in mono (never tried it with mono). But
if (or when) it's supported I don't anticipate
any problem using it within corlib (which is where the BigInteger will be
most used) because corlib will only be used with the mono runtime (so it's
simple).
However using unsafe code will make the class less
(must do some reading to quantify "less") useful for other uses [*] because
the application using the assembly/class will be required to "acknowledge" to
use of unsafe code - and this, IMHO, is bad for reusing (my main focus
;-).
[*] Example: including BigInteger in
Mono.Security to implement DH for SSL.
The speed gain seems important for the specific
methods but I'm unsure how it's translate in a real application. Is it still
worth it ?
If yes maybe the unsafe code could be #if/#endif
depending on where it will be used (like corlib or other assemblies).
Sebastien Pouliot
Security Architect, Motus Technologies, http://www.motus.com/ work: [EMAIL PROTECTED] home: [EMAIL PROTECTED]
|
- [Mono-list] Status of unsafe code in Mono Ben Maurer
- Re: [Mono-list] Status of unsafe code in Mono Sebastien Pouliot
- Re: [Mono-list] Status of unsafe code in Mono Miguel de Icaza
- Re: [Mono-list] Status of unsafe code in Mono Martin Baulig
