2147483648's blog

By 2147483648, history, 2 years ago, translation, In English

Inspired by the Gleefre's article, I suggest adding YoptaScript language support to Codeforces — the world's first scripting programming language for gopniks and real boys. More information about the language can be found on the official website.

YoptaScript — is a very powerful language that can run at speed of JavaScript and is even more expressive than python (IMHO). I think that it is really worth adding as supported language because it is a very mature language, which has a very reach set of features.

Here is an implementation of binary heap sort benchmark in YoptaScript: https://pastebin.com/k5b8WVJB (and I'll be glad to create a PR if wanted).

The best open source YoptaScript implementation is YoptaScript, which can be installed here.

YoptaScript can also be included for your project using the package manager npm: npm install -g yopta

Or type npm install -g yopta to install YoptaScript globally.

On my computer, heapSort benchmark results in a range of [293..346] ms with an average time o 301.69 ms.

The problem 1А — Театральная площадь can be solved like this:

гыы lines внатуре readline().поделитьЯгу(" ") нахуй
гыы x внатуре Очканавт.чирикГони(lines[0] / lines[2]) нахуй
гыы y внатуре Очканавт.чирикГони(lines[1] / lines[2]) нахуй
наПечать(x * y) нахуй
  • Vote: I like it
  • +20
  • Vote: I do not like it

»
2 years ago, # |
Rev. 2   Vote: I like it -9 Vote: I do not like it

Finally, an actually novel weird/esoteric language!

»
2 years ago, # |
  Vote: I like it -7 Vote: I do not like it

Omg, can't wait for this language to appear on the site!

»
2 years ago, # |
  Vote: I like it -33 Vote: I do not like it

MikeMirzayanov, when this language will be added to Codeforces?

»
2 years ago, # |
  Vote: I like it +38 Vote: I do not like it

Compilation error нахуй expected at the end of line 27

»
2 years ago, # |
  Vote: I like it +23 Vote: I do not like it

I understand that this is a joke (it is a joke, right?), but I don't think it is an adequate comparison.

First of all, let me disagree that it is a mature language. Its earliest release at github (and there is no others sources) appeared at December of 2016, 6-7 years ago. I don't think this is a mature language. "The language is in the process of development" is said on the official website, and there haven't been much work on it as well -- ~600 commits only, 4-5 years (out of 6-7) of being stale. There is no standard, "The best open source YoptaScript implementation" is the only one.

Comparing to Common Lisp: First appearance at 1984 (almost 40 years ago), ANSI standard was created at 1994 (30 years ago). It has at least 8 implementations listed here, with two of them being commercial. SBCL has recently got a clone on github, and it ~21,500 commits in its repository. I also need to note that thanks to ANSI standard CL program from 2000 can be run without any single problem using modern implementations.

Secondly, I don't think adding it to Codeforces will bring something to the table, since JavaScript is already supported, and, as I understand, YoptaScript is just a wrapping around it. And, this is still an esoteric language, which is not widely used.

Common Lisp, however, differs a lot from currently supported languages. There is no language from lisp family here, and it was requested since the very beginning of existence of Codeforces. And despite being an old language, it is known to be second from old languages still being widely used (the first one is Fortran).

Also, Common Lisp by quite a lot of others CP sites & competitions, like Code Jam.

Final note. Honestly, I don't know how exactly to react to your post. It makes me feel bad, even though it's just a joke.

  • »
    »
    2 years ago, # ^ |
    Rev. 2   Vote: I like it -15 Vote: I do not like it

    Lol, dude, chill out. You are taking it too seriously. I just want to say that here Lisp is needed by as many people as YoptaScript.

    • »
      »
      »
      2 years ago, # ^ |
        Vote: I like it +3 Vote: I do not like it

      Of course it is not true. YoptaScript is not needed by anyone for sure — it is an esoteric language which transpiles to JavaScript which is supported on codeforces.

      Common Lisp is not an esoteric languages, and it was asked for quite a lot of times (see this post, also this post and search for "lisp"). And I need to note that not a single language from lisp family is supported on codeforces currently. (Ruby/JS/Haskell are called lispish sometimes but they are not lisps)

      • »
        »
        »
        »
        2 years ago, # ^ |
          Vote: I like it +6 Vote: I do not like it

        Searched for "lisp" in this post and found your alt account cyberpenguin :D

        Just look at Gleefre's and cyberpenguin's comment under that post and their the only blog entries and everything becomes clear :DDDD

        • »
          »
          »
          »
          »
          2 years ago, # ^ |
          Rev. 2   Vote: I like it +6 Vote: I do not like it

          You're acting weird now. It is not my alt account obviously. (Why would I create it and why would I repeat the same thing from main account 3 years later in this case? Don't be stupid.)

          Were you unable to find others comments there? Like this one, this one, this one e.t.c?

          • »
            »
            »
            »
            »
            »
            2 years ago, # ^ |
            Rev. 2   Vote: I like it 0 Vote: I do not like it

            I'm just having fun, dude :D

            All of these comments are from nooby accounts, and amount of them is just negligible.

            Just look at the submissions of last ABC round on Atcoder. There 60k+ submissions in total, and exactly 20 of them using lisp. And again, all of these people — lowrated. The same statistics will be on Codecorces, so don't bother Mike with such requests.

            • »
              »
              »
              »
              »
              »
              »
              2 years ago, # ^ |
              Rev. 4   Vote: I like it 0 Vote: I do not like it

              All of these comments are from nooby accounts

              Probably because they can't / don't want to participate in rounds using other languages?

              The same statistics will be on Codecorces

              Do you see future? You can never be sure about it.

              exactly 20 of them using lisp

              And what? They are using it! Compare to OCaml for example — there is less of them, and it is still supported by Codeforces. Perl ~30. D ~50. I don't think it is something you should compare by.

              don't bother Mike with such requests

              This is rude. Please, don't be rude. I don't think you can choose what one can ask him about.