Closed tmob03 closed 1 year ago
@tmob03 Thanks for submitting this. I've reviewed the Gonuts license myself, and my conclusion is that Gonuts can be used in the context of this project. The project itself is clearly non-commercial (and can even be called educational to some extent). Concerning the "cloud capabilities", the website includes a page with this text:
Gonuts cloud capabilities usually utilize an online login, however some users may find it useful to have that login secured by a gonuts license and hence locked to their executable or amalgamation. At the time of this writing, cloud services are non-existing and in planning stage only. Check the goingnuts website for more information.
The use of Gonuts within the context of your solution does not require cloud capabilities, and couldn't even use them (yet) if it wanted to. While looking into the licensing aspect, I also noticed that there is a Gonuts executable available for AMD64 Linux as well.
All this being the case, could you please put a Dockerfile together to compile and run your solution?
Oh, neat. I’ll see what I can do.
Well, I can't seem to get docker to run on my PC. Not sure how to proceed if I can't even get it to run on my PC.
Well, I can't seem to get docker to run on my PC. Not sure how to proceed if I can't even get it to run on my PC.
You could ask for help from someone who does get Docker to run. :)
I could try and put a Dockerfile together for you, if you add me as a collaborator on your fork of this repository. It will probably be the weekend that I get around to it, then.
You can use a VM to run Docker in it if your PC doesn't allow it.
@rbergen I got docker to work on my PC! I set up a dockerfile, but it seems the linux_amd64 compiler has a bug, and runs out of memory allocating a 1 million size array. Is it good to use the windows exe instead?
The main reason for semi-requiring a Linux-based Docker image is that it allows solutions to be included in the daily benchmark runs. This being a drag-race, we like to do that if in any way possible. With a Windows executable, it just isn't.
If the issue you're running into is caused by a bug in Gonuts, then maybe it could be beneficial for you to create a post in the Going Nuts forums? It would be interesting to see if others can replicate the behaviour, and I'd imagine Going Nuts would also be interested to learn about a bug in their compiler.
I have done that now, but I don't expect a reply, the website looks pretty dead to me. I made the first thread other than a spambot since its creation in 2017.
Ok, I'll try to confirm the bug this weekend. If I can then I'm happy to proceed towards merging without a Dockerfile.
Well, I massively overcomplicated this. There's a Squirrel package for linux I never realized since I'm on Windows. :P Free performance boost with the official interpreter, though!
Thanks!
Description
A primes solution in Squirrel, based on the python_1 solution.
Squirrel is meant to be embedded and as such doesn't have a good compiler. After searching for a while I found the Going Nuts Compiler. After looking at the licensing though, you need to pay for cloud computing status, thus I did not try and learn Docker to upload it.
Contributing requirements
drag-race
as the target branch.