Python has numpy included. C# (obviously) doesn’t.
When you update C# please try to include the nuget package MathNet.Numerics.
When you update F# please try to include the nuget packages MathNet.Numerics and MathNet.Numerics.FSharp
Thanks.
Python has numpy included. C# (obviously) doesn’t.
When you update C# please try to include the nuget package MathNet.Numerics.
When you update F# please try to include the nuget packages MathNet.Numerics and MathNet.Numerics.FSharp
Thanks.
Hello,
I’m sorry, I don’t have good news.
The next languages update won’t happen before the next contest (end of the week). I hope we can do it by April.
About optimization flags, I don’t have any date either
I’ll pass on the requests for Numerics package
What are the chances for new languages at the next language update?
super low. Besides technical limitations, to be honest, I don’t have enough support to requests of adding new languages, or more exactly, it’s difficult to know the real support. So I’m looking for a tool to make a “forever” vote survey like strawpoll. Maybe I could embed it in the blog or even the site, in the FAQ? Suggestions?
Then when will another contest happen, the one after language update?
date of next contest is not known yet. However, you can expect it in 2 to 3 months from now
Can u add D-lang (dlang.org) to the Clash/Practice without any start code?
Every Clash/Practice has some code as start point - read inputs strings and integers.
Its a lot of work should be done for adding new languages for each code-task. I think CG use some code generator, and that generator should be extended… Well, it will be done not tomorrow… I understand this.
Name it “D-lang (EMPTY)” or “BETA” or anything else coz no code as starting point or just some stub:
import std.format, std.conv, std.typecons, std.algorithm, core.bitop;
void main() { } // it’ll be enough
Why? I want to train with D-lang. Yes, I can read task, code it in Visual Studio for myself, but cannot test my code with CG tests (and hidden tests too) coz CG has no D-compiler, no infrastructure for compiling D-sources. Yes, I know that I can copy tests to local files and test it, but no CG-point and achievements for that. All I need it D-compiler in language list. I can edit code by myself (copy some start code to CG editor) without any help from CG.
Just adding D-lang to CG compilers family is simple:
unfortunately, it’s not that simple.
The main issue with releasing a new language is adding it to the big jail which handles all other languages. Yes, we have one big blob for all languages. And sometimes, updates to a language impact another one.
You can compare it with Tech.io where we can compile and run one language independently from the others.
I’ll try to run a survey to determine which languages the community wants the most.
I’d like to read more about this.
Yes, sounds like a more interesting blog post compared to “how to solve puzzle X”
If you could use separate docker images for each language, then you could open it up to the community, and I am sure you would get plenty of help keeping the languages up to date and adding new languages.
If i understand the _CG_Thibaud post well, CodinGame use only one docker image for all games. So it contains all needed tools (g++, python, python3, nodejs …).
It’s very simple to destroy a language when you update one language. Every developper had this problem one day. You want to update nodejs so you make a apt-get update nodejs
and BOUM you updated python3 in the same time. Now your python2 does not work anymore because ubuntu want to see your little world burn (based on a true story).
And how do i avoid ruining my py3 install when updating nodejs?
Use virtual environments for python.
Very close. Our infrastructure to compile and execute your codes has been developed before Docker was ready. Therefore, we are not using it. We use a combination of overlayfs, ramfs, chroot and cgroups to do something very similar. The big difference is that we don’t have access to that nice system of images and layers provided by Docker… Thus, we have a big “jail” that contains all the tools needed to compile and execute the codes in 25 different languages. We have in our TODO list the migration of our system to docker, but I can’t tell you when.
The playgrounds is more recent and use a different stack based on docker images.
Ouch. It’s sad
Java 12 is already available, could you…? please ?
We have updated the languages, feel free to report here any weird issue that could be related.
and again no D
And no Fortran.