[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Rewriting (part of) gnunet in another programming language (Was: Re:
From: |
Christian Grothoff |
Subject: |
Re: Rewriting (part of) gnunet in another programming language (Was: Re: Debian 10 build warnings, wiki enhancements, Questions) |
Date: |
Thu, 12 Dec 2019 21:40:36 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 |
On 12/12/19 9:37 PM, Jacky Alcine wrote:
> On Thursday, December 12, 2019 12:24:21 PM PST Amirouche Boubekki wrote:
>>> Having a re-implementation of libgnunetutil in Rust would be a good
>>> start. The recent crypto changes might facilitate this, as they were
>>> done to make the re-implementation of libgnunetutil's crypto in Go
>>> easier, and hence should also facilitate the same for a Rust library.
>>
>> libgnunetutil correspond to the following header:
>>
>> https://git.gnunet.org/gnunet.git/tree/src/include/gnunet_util_lib.h
>
> Re-implementation wouldn't be necessary (at least not heavily). FFI is a
> thing
> in Rust and it can resolve the symbols from C into Rust very simply!
Well, you might want to at least specify the types properly. Also, I
think some parts one would want to re-write to make them more idiomatic
to the target language. And finally, if you want to see the safety
benefits from Rust, you want to probably not like 50k LOC from C into 2k
LOC of Rust. But you are of course right that one does not _have_ to
re-implement anything.
0x939E6BE1E29FC3CC.asc
Description: application/pgp-keys
signature.asc
Description: OpenPGP digital signature
- Debian 10 build warnings, wiki enhancements, Questions, bo0od, 2019/12/12
- Re: Debian 10 build warnings, wiki enhancements, Questions, Schanzenbach, Martin, 2019/12/12
- Re: Debian 10 build warnings, wiki enhancements, Questions, Christian Grothoff, 2019/12/12
- Rewriting (part of) gnunet in another programming language (Was: Re: Debian 10 build warnings, wiki enhancements, Questions), Amirouche Boubekki, 2019/12/12
- Re: Rewriting (part of) gnunet in another programming language (Was: Re: Debian 10 build warnings, wiki enhancements, Questions), Jacky Alcine, 2019/12/12
- Re: Rewriting (part of) gnunet in another programming language (Was: Re: Debian 10 build warnings, wiki enhancements, Questions),
Christian Grothoff <=
- Re: Rewriting (part of) gnunet in another programming language (Was: Re: Debian 10 build warnings, wiki enhancements, Questions), Jacky Alcine, 2019/12/12
- Re: Rewriting (part of) gnunet in another programming language (Was: Re: Debian 10 build warnings, wiki enhancements, Questions), ng0, 2019/12/13
- Re: Rewriting (part of) gnunet in another programming language (Was: Re: Debian 10 build warnings, wiki enhancements, Questions), Jacky Alcine, 2019/12/13
- Re: Rewriting (part of) gnunet in another programming language (Was: Re: Debian 10 build warnings, wiki enhancements, Questions), Jeff Burdges, 2019/12/13
Re: Debian 10 build warnings, wiki enhancements, Questions, bo0od, 2019/12/15