[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [GNUnet-developers] Wrapping GNUnet in ruby
From: |
Peter Schrammel |
Subject: |
Re: [GNUnet-developers] Wrapping GNUnet in ruby |
Date: |
Sun, 14 Jul 2013 21:53:30 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Thanks to Bart and Sree for their support!
Finally we understood the core concepts of gnunet and were able to
hack together a small lib. It's on github
(https://github.com/pschrammel/gnunet). I'll continue to work on it
(promissed). Perhaps some students can explore gnunet more easily with
this :-)
Thanks again
Peter
Am 08.07.2013 18:31, schrieb Christian Grothoff:
> On 07/04/2013 09:24 PM, Peter Schrammel wrote:
>> Hi,
>>
>> there will be Hackathon in a week where I'd like to lay the
>> basics for a ruby framework over GNUnet (see
>> http://www.meetup.com/Munich-Rubyshift-Ruby-User-Group/events/125381152/
>>
>>
or the Gnunet page).
>>
>> 1. You are welcome to drop by and help us to understand the
>> concepts of gnunet better. Just mail me if you need more info.
>>
>> 2. I don't want to go to C level und call back ruby from C
>> (possible but too hard coupled and might frighten people). As far
>> as I have seen there's a socket based interface (gnunet-java uses
>> it). Do I get all messages over this interface? What's not
>> possible? Is this still the right aproach?
>
> Well, you theoretically get access to everything using this
> approach. The only subsystem where this causes trouble is
> file-sharing, as a significant part of the logic is implemented on
> the client-side of the socket (the file-sharing service moves
> encrypted blocks around, the client-side does everything that is
> needed to put the files back together from the blocks). As a
> result, 75% of the FS-logic is probably in the client library.
>
> For all of the other services, it is the case that > 75% of the
> logic are in the service itself, and the client library is just a
> tiny wrapper providing a C API. So unless you want access to the
> FS service, the socket-based interface is what you want; however,
> while the socket APIs tend to be simple messages, they also tend to
> be not very well documented (as in: "read the C code to understand
> how it works").
>
> Naturally, improvements to that documentation would be appreciated
> ;-).
>
>
> Happy hacking!
>
> Christian
>
> _______________________________________________ GNUnet-developers
> mailing list address@hidden
> https://lists.gnu.org/mailman/listinfo/gnunet-developers
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQIcBAEBAgAGBQJR4wG6AAoJEHBsXR3UqtsxnU0P/RV1YXwgCeYs99YUF/+W25HK
9yCbmyDt9etPtvHkbP2c13rQKwfb838WCifrTZ+KO2o2jtXmvJ4uz0ekJf3HyVzo
Wg3hmHLhI/Qrk8wYArFKVegb7gNuOmKMuTKScslEIUpVDKQe1zvPI3q1twhzHg7U
Yww8caAHQgBCORvVDnwZBVZ5Uaieg6DhULSd506yzCp6qGmoUGeTDxT7MZBXLPeL
kwS1jPoRaNH99LG65uj9HUgbRHHoQB0NPj6kwn4wO27RJ7/tkNvgYcMWO9OifM6p
znz45MBLpy7Ui4Kjslg7mO0DuWztkw3CDXYSf7CTVmt+6ow/JCGb1fGzCM1k/mR4
ooPK0W/JcAMmP83hg/8ex2B3CEkBP7F3osyaNnzP2nAnm0nVZrm/iF/W4dZ2BCQd
u2+cjHoBCzgr0IYcbeQAJcaAbLSr8lxfUfT4xMiecCOqBRtxIiXITj1S0YhU53JH
twEXo3VDEKeLQmmdoxz0kw4YDEvHQY39UmcG4wFZtuTbPSTQ6vJfBht4MebqPliH
QXyY0CoEzMYW3OFeCDpPdopvaQS2IndmhB5QPtwX/1xLNU5uU+6+1duquQe6ny1Z
M0yZlPkcZ3FvXn5CiTo/J8OkAGNuL+mvAERCCLW40cRmQAlq4Y/oqTM5KM8c5whs
9NPsKUZrQcpJYUMXnynX
=9tB8
-----END PGP SIGNATURE-----