On Wed, 11 Apr 2018 23:44:07 +0000
"'Pablo Heiber' via Google Code Jam" <google-code@googlegroups.com>
wrote:

> Hi,
> 
> To answer your actual question: yes it is a significant amount of work to
> install this compiler (or any other). Unfortunately is not as easy as just
> installing the right packages on your computer.

Yes, I understand that you need to run the submitted code in a kind of
sandbox in order to safeguard against somebody submitting malware to
your server.

The Crystal developers are hosting a site themselves, where anybody
can quickly experiment with the compiler and compile & run some
snippets of code:

   https://play.crystal-lang.org/

And it does not allow network connection. Which is very reasonable
because, for example, somebody could try to abuse this service for
sending spam.

> We'll add languages and libraries for the current languages in time,
> prioritizing what was used more in the past, in the same way we
> prioritized our initial 10 languages.

OK. I hope that you have Ruby enthusiasts in your team and eventually
we can have a high performance compiler from the Ruby family available
for solving Google Code Jam problems. I'm not a Python lover, but I
guess Python users might probably also want to see something like PyPy
eventually supported too.

In the mean time, I'm currently trying to evaluate some alternative
solutions:

  1. There is a Ruby2c project, which admittedly seems to be highly
     experimental at the moment: https://github.com/seattlerb/ruby_to_c

  2. There is a C backend for LLVM, which I may try to hook into the
     Crystal compiler. At least it was used for the Julia language:
        https://juliacomputing.com/blog/2016/03/10/j2c-announcement.html


In my original e-mail I also asked about the "-pthread" option
for C/C++, but got no answer yet. Are you encouraging the use of
multi-threaded code for Google Code Jam solutions?

-- 
Best regards,
Siarhei Siamashka aka 'ssvb'

-- 
You received this message because you are subscribed to the Google Groups 
"Google Code Jam" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-code+unsubscr...@googlegroups.com.
To post to this group, send email to google-code@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-code/20180412135959.3bc6b226%40i7.
For more options, visit https://groups.google.com/d/optout.

Reply via email to