Hi,

How about using Apache Arrow C++ directly instead of using
Apache Arrow C GLib? You're using C++ to implement your
language, right? (I think that you need to use C++ to use
LLVM IR.)

Apache Arrow C GLib is a wrapper of Apache Arrow C++. So
there are some overheads. If you can use Apache Arrow C++,
you should use Apache Arrow C++ directly.

For Apache Arrow data types, see the followings:

  * https://arrow.apache.org/docs/cpp/datatypes.html
  * https://arrow.apache.org/docs/cpp/api/datatype.html#factory-functions


> thanks, it looks very helpful. if anyone could guide me, maybe I could help
> with the apache arrow c glib cookbook. that would be a very nice way to
> learn more about that.

Thanks! But I think that you don't need to use Apache Arrow
C GLib...


Thanks,
-- 
kou

In <cappejlqa42j5kyyd3n-fkpmsdfew9tvccjqxvjyj+j0_mgn...@mail.gmail.com>
  "Re: [question] arrow-c-glib examples and references" on Wed, 13 Jul 2022 
12:09:50 -0400,
  Ivan Ogasawara <ivan.ogasaw...@gmail.com> wrote:

> On Wed, Jul 13, 2022 at 12:48 AM Sutou Kouhei <k...@clear-code.com> wrote:
> 
>> Hi,
>>
>> Could you explain what do you want to do?
>>
> 
> sure thing! sorry I forgot to give more details XD
> 
> So basically, I am investigating the possibility to use apache arrow
> datatypes as native datatypes for a compiler that I am creating, arxlang
> for now, arx is totally based on kaleidoscope compiler, I just changed the
> code structure, but the result is basically the same.
> 
> my plan is:
> 
> 1) learn how to handle the arrow datatype using arrow-c-glib
> 2) use the arrow datatype directly from llvm IR
> 3) integrate arrow float datatype to the arx
> 
> If I managed to finish all these 3 steps, I would be able to establish a
> proper road map for the project (change the syntaxis, add features, etc).
> 
> 
>>
>> (We have cookbooks for other languages but don't have
>> cookbook for Apache Arrow C GLib yet...
>> https://arrow.apache.org/cookbook/ )
>>
>>
> thanks, it looks very helpful. if anyone could guide me, maybe I could help
> with the apache arrow c glib cookbook. that would be a very nice way to
> learn more about that.
> 
> Thank you so much @kou! appreciate your attention and the information you
> shared.

Reply via email to