This one simple trick allows D programmer use llama.cpp, rust programmers hate him!

Martyn martyn.developer at googlemail.com
Fri Mar 22 10:14:46 UTC 2024


On Thursday, 21 March 2024 at 22:42:31 UTC, Serg Gini wrote:
> On Thursday, 21 March 2024 at 16:45:09 UTC, evilrat wrote:
>> Just like the title says, no need to make bindings anymore, 
>> just make a dummy C file with single include and start 
>> building your D app powered with llama.cpp, that's it, no 
>> extra work needed except making a dummy file.
>
> Nice catch. Thanks for sharing!
> Another option is using pure D implementation based on llama2.c 
> code from Karpathy
>
> https://github.com/cyrusmsk/llama2.d

This is really awesome!

Only issue I have with is the title. It should have ended with 
either:-

.. and thats a good thing!

    or

.. lets get into it.


You are now a blogger, a journalist, a "youtuber"  lol



More information about the Digitalmars-d mailing list