~cmooon

Recent activity

Re: Can C libraries be used in Hare code? 1 year, 2 months ago

From to ~sircmpwn/hare-users

On 2023-12-11 20:33, Max Schillinger wrote:
> Hi all,
> 
> can C libraries be used in Hare code? I can't find any examples for 
> this
> and IIRC, I read somewhere that it isn't supported but I can't find a
> confirmation for this. On the other hand, these flags in `man
> hare-build` look like C libraries are supported:
> 
>   -L libdir
>       Add a directory to the linker library search path.
> 
>   -l libname
>       Link with the named system library. The name is passed directly 

Re: Arbitrary precision arithmetic in hare 1 year, 8 months ago

From Simon to ~sircmpwn/hare-users

Hi,

 > I was working on a library that supports basic arbitrary precision:

 > https://git.sr.ht/~yerinalexey/hare-bigint

This looks pretty cool and I will look into it. Thanks!

Arbitrary precision arithmetic in hare 1 year, 8 months ago

From Simon to ~sircmpwn/hare-users

Hi,


For university I experimented with libtommath in C and wondered if and 
how Hare supports big integers.

There doesn't seem to be a official way of working with big numbers in 
the standard library.


Greetings

Simon