Languages update

Since you are considering updating most of the supported languages soon, could you consider making NUMBA available for Python ? That would be great to gain a bit of efficiency.
Fingers crossed… :slight_smile:

1 Like

Could you please update Golang to version 1.18?

It would be cool to update languages a bit before contest, to fix all problems before start.

1 Like

We can still hope…

And hopefully there won’t be too many problems.

This site is great at turning code into a game, but it only does that with major, ‘practical’, programming languages (e.g., Python, C, Javascript, Ruby, …). What if codingame added support for ‘esoteric’ (not practical) programming languages such as Befunge, Brainf*ck, and golfing languages like Vyxal. I haven’t been on this site for long, and this is my first post, so if this sounds like a dumb idea, feel free to let me know. I personally think that esolangs (as esoteric programming languages are known) are a fun part of coding, that while not practical, can help programmers understand the more low-level aspects of what a programming language actually is. There are thousands of esolangs, so it wouldn’t be reasonable for the site’s administrators (I don’t really know the ‘power structure’ of this website yet, so correct me if I’m wrong) to add them all. Possibly the site could add a way for users to add interpreters. Most esolangs are small, and interpreters are readily available. This system would allow people to add their own programming languages or esolangs that haven’t been included yet to the site.

We’ve just done a round of language updates. FAQ updated too

  • Bash : GNU Bash 5.0.3 => GNU Bash 5.1.16
  • C : gcc 10.2.1 mode C17 => gcc 11.2.0 mode C17
  • C++ : g++ 10.2.1 mode C++17 => g++ 11.2.0 mode C++17
  • C# : C# 7.0 (.NET Core 3.1.3) (no update)
  • Clojure : 1.10.3 - Oracle JVM 1.8 => 1.11.1 - Oracle JVM 1.8
  • D : DMD 2.096.0 => DMD 2.099.0
  • Dart : 2.12.4 => 2.16.2
  • F# : .NET Core 3.1.3 (no update)
  • Go : 1.17.1 => 1.18.1
  • Groovy : 3.0.8 - Oracle JVM 1.8 (no update)
  • Haskell : 8.4.3 (no update)
  • Java : 1.8.0_211 (no update)
  • Javascript : Node 14.16.1 => Node 16.14.2
  • Kotlin : 1.5.0 (no update)
  • Lua : 5.4.3 => 5.4.4
  • Objective C : Clang 11.0.1 => Clang 13.0.1
  • OCaml : 4.12.0 => 4.14.0
  • Pascal : Free Pascal Compiler 3.2.0 => Free Pascal Compiler 3.2.2
  • Perl : 5.32.1 => 5.34.0
  • PHP : 7.3.9 (no update)
  • Python 3 : 3.9.2 => 3.9.12
  • Ruby : 3.0.1 => 3.1.2
  • Rust : 1.51.0 (no update)
  • Scala : 2.13.5 (no update)
  • Swift : 5.3.3 (no update)
  • TypeScript : 4.2.2 => 4.6.3
  • VB.NET : .NET Core 3.1.3 (no update)

I know it’s very last minute before the challenge and that’s why a few languages were not updated. I’m sorry for that and hope it will please the impacted players.

Feel free to report here any weird issue that could be related.

4 Likes

Actually, running:
/usr/local/bin/rustc --version >&2
from a bash script returns:
rustc 1.60.0 (7737e0b5c 2022-04-04)
so it seems to be updated.

As a sidenote: while R, COBOL and Fortran are officially not supported, these languages are present on the virtual machine, so you can access them from bash.
For example, running:

/opt/coderunner/cobol/bin/cobc --version | head -1 >&2
gfortran --version | head -1 >&2
/opt/coderunner/R/bin/R --version | head -1 >&2

returns:

cobc (GnuCOBOL) 3.1.2.0
GNU Fortran (Debian 11.2.0-20) 11.2.0
R version 3.6.3 (2020-02-29) -- "Holding the Windsock"

you can cat your R/Cobol/Fortran source to a file from bash, and run the compiler, then the compiled program. Yesterday I wrote my first ever Fortran code for a simple solo puzzle. Better late than never! :slight_smile:

2 Likes

I just checked on a whim due to that, and 1.60 features do in fact work, test code:

fn main() {
    std::sync::Arc::new_cyclic(|_| 0);
}

(compiles)

Indeed, it happened the day after the update.

Rust: 1.51.0 → 1.60.0

1 Like

I think we are still using edition 2018 as try_into still needs to be imported, it would be nice if you could check after the spring challenge.

Did a quick search on these forums, and looks like the last time it was mentioned was ~2 years ago.

I had a lot of fun doing Advent of Code 2021 in Julia – it’s a really pleasant language to code in and seems to be gaining some momentum.

Any possibility?

4 Likes

Yes, Julia please! :heart: :purple_heart: :blue_heart: :green_heart: :yellow_heart:

4 Likes

Looks like the Language Versions page still says Rust 1.51.0.

Updated, thanks

Will java be ever updated to a new version ?
It’s still java 8 for at least a few years.
And the fact that some puzzles use java 11 but only at compile time makes it even worse, since the linter says that everything is correct when it’s not.

I believe they’re still fixing performance problems. They tried to update to Java 11 back in 2019, but performance problems forced them to roll back to Java 8.

Hi,
is it planned to update c# to .net 6? And if so in what time scope?

3 Likes

+1
The last time I asked, Thibaud told me that the C# update would be in April, but C# was one of the few languages that had not been updated…

+1 can you update C# to support .net6 or .net7 (RC1 is available)
We need this to be better on “Code golf” :smiley: