D and the world
Don Clugston
dac at nospam.com.au
Thu Apr 26 06:39:11 PDT 2007
eao197 wrote:
> On Thu, 26 Apr 2007 15:31:57 +0400, Jari-Matti Mäkelä
> <jmjmak at utu.fi.invalid> wrote:
>
>>> Unfortunately parsing X509 certificates can be very tired task because
>>> it is necessary to handle ASN.1 data structures, byte ordering,
>>> calculating digital signatures and so on. Do you want to implement MD5,
>>> SHA1 or SHA256 via CTFE and templates? :)
>>
>> No :), I was just pointing out that you can do this with D too. I'm not
>> sure how much better Nemerle would do.
>
> Nemerle allows to call code from any library at compile time.
Wow. Would this let you implement a text-only virus (during compilation,
secretly duplicates itself into the source code of all your other
Nemerle projects)?
>
>> No, seriously, CTFE is
>> something totally different from C++ templates in terms of usability.
>
> Fully agree with you here.
>
> --Regards,
> Yauheni Akhotnikau
More information about the Digitalmars-d
mailing list