On Wed, Sep 9, 2020 at 7:32 PM Matt Godbolt <ma...@godbolt.org> wrote:
>
> Hi Raphael,
>
> Nice to hear from you! Seastar's been on Compiler Explorer a while now (we added it last year). I don't know much about seastar, but in general to use a library on Compiler Explorer, one selects it from the "Libraries" dropdown on the compiler, then #includes it as one would normally.
>
> I just tried using the example from the "Seastar Tutorial" and it seems seastar needs boost. So I picked a version of boost too, and then a version of fmt (the latest version didn't work, MemoryWrite is not a member fmt), so I picked a 4.0.0 version. This is very old, but newer versions didn't seem to work either.
>
> Compilation was unfortunately so slow that it nearly timed out - taking 30ish seconds... https://godbolt.org/z/qnTdTx was the result if it gives some ideas!
>
> Obviously we can update the version of seastar on the site if 18.08 is old. I don't know how you'd want to use it though; at this compile time it's unfortunately not very interactive, which is mostly what Compiler Explorer is used for. I imagine our file IO is not fast enough: most of the libraries are stored on NFS (boost is a special case) and we've had issues with that before.
>
> Let me know if that answers your question, and if I can help more!
Hi Matt,
Thanks for the quick reply!
BTW, newer Seastar versions have better compilation time and have a
much faster approach to compile applications, see:
https://github.com/scylladb/seastar/tree/5a68003f0385d9dc3d25d50ffb7a9a50cf7c2206#using-an-installed-seastar
On previous versions, you were probably stuck with the model where
parts of Seastar library were compiled along with the application. Is
godbolt using this approach to compile seastar-based apps:
https://github.com/scylladb/seastar/tree/5a68003f0385d9dc3d25d50ffb7a9a50cf7c2206#using-seastar-from-its-build-directory-without-installation
?
We, Seastar developers, would appreciate a lot if you could please
update Godbolt to use seastar-20.05.0 instead, and switch to the
compilation mode described in the section 'Using an installed Seastar'
of the README doc.
Regards,
Raphael Carvalho
>
> Thanks, Matt
>
>
> On Wed, Sep 9, 2020 at 3:37 PM Raphael S. Carvalho <raph...@scylladb.com> wrote:
>>
>> Hi,
>>
>> My name is Raphael. I work on ScyllaDb and Seastar, and I saw godbolt
>> has recently added support to the seastar library. Could you please
>> share instructions on how to use it on godbolt? Is there any doc
>> available?
>>
>> Regards,
>> Raphael Carvalho
>
>
>
> --
> Matt