-
I was able to code an implementation of the sieve of Eratosthenes in Minecraft commands, sort of as a joke. It does genuinely work though, and I believe it also follows the rules of this project. I was wondering if this would be allowed to be uploaded to the project given the nature of how unconventional it is compared to a 'normal' programming language, even many esoteric languages. The compiler/interpreter is quite large and resource intensive because it's a video game not meant only to be a fairly basic programming language. All the files required to duplicate the program would only be about 15 KB, so it's not like you would have to upload the entirety of Minecraft to the project, but a copy of the game would be required to run the program. I'm not too familiar with docker, but I would be surprised if it was possible to configure it to run a Minecraft command program, so if that's a deal breaker, that's fair. (And if it is possible, I will certainly need help making it) I have genuinely tried to make my implementation as fast as I can (without essentially hardcoding values), and it takes a bit over 3 mins to run one iteration up to 1,000,000 on my computer (although it probably could be brought down below 3 mins with some configuration testing; also takes 13 seconds for up to 100,000 and ~.8 seconds for 10,000), so obviously it isn't practical and won't be winning any speed awards (if that wasn't already clear), but I still think it would be an interesting addition to this project. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 18 replies
-
Generally speaking, we don't add solutions that can't be included in the automated benchmark reporting, certainly if alternatives are available that can be. Examples of this are:
As you can tell from these examples, the most common reason for not including solution is not technical, but related to licensing. I would think that this would actually also be the main hurdle concerning Minecraft. All that said, as far as I know there is no freeware alternative available for Minecraft and we do have one solution in place without a Dockerfile (written in Delphi). The best thing to do may be to put a PR together, so we can see if and in what form we can add your Minecraft implementation to the project. |
Beta Was this translation helpful? Give feedback.
-
May you share a link to the repro with the implementation? I am interested in seeing how it works. I may also be able to get it somewhat automated. |
Beta Was this translation helpful? Give feedback.
Generally speaking, we don't add solutions that can't be included in the automated benchmark reporting, certainly if alternatives are available that can be. Examples of this are: