sqlite-statement CTFE Generation (UniformAccess) / Benchmark

Dejan Lekic via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Wed Apr 23 04:47:50 PDT 2014


Yeah, implementing TutorialD came to my mind as well. However I 
would like to have a storage engine for it too so I gave up, it 
is too much work and I barely have time to do something outside 
my work...

On Tuesday, 15 April 2014 at 22:27:53 UTC, John Carter wrote:
> I was contemplating why languages explode on to the scene or 
> not, and often
> it comes down to a so called "Killer App".
>
> For Ruby, it was Rails.
>
> The ability to construct optimally fast typesafe tuples in D 
> perfectly
> matches the requirements of database management to a degree 
> unmatched by
> any other language.
>
> I have long thought D, strangely enough, may be the perfect 
> language in
> which to implement... D :-)
> http://en.wikipedia.org/wiki/D_%28data_language_specification%29
>
>
> On Wed, Apr 16, 2014 at 3:51 AM, Robert Schadek 
> <realburner at gmx.de> wrote:
>
>> Lately I had to write some sqlite3 code in D. And I really 
>> hated writing
>> it. So I wrote me some CTFE generator for it. It uses all the 
>> fun UDA,
>> CTFE string mixin template magic, we all love. The generated 
>> code is as
>> fast as the hand written one. I wrote some of it down.
>> http://rburners.tumblr.com/ The article also holds a link to 
>> the
>> source/benchmark. Maybe this is to some interest to other 
>> people as well.
>>
>> Best Regards
>> Robert
>>
>> p.s. PRs and corrections welcome



More information about the Digitalmars-d-announce mailing list