Question About Repl.it Memory Capabilities
Show what you're doing to #amasad, tell him it's the first quantum computer on Repl.it. Explain why you deserve a free hacker plan. After that, post it on /share and get the "content creator" badge too.
I dare you
@xxpertHacker https://arxiv.org/pdf/1608.03355.pdf is what I used. LOL! And https://repl.it/talk/learn/Quantum-Computing-and-Quil-for-Python-Programmers-Part-1/78347 is my tutorial.
Given how heavy of a demand this is, I'm guessing it's just a Repl limit. Hacker plan might get you more memory, I can't confirm however.
As xxpertHacker has suggested, I'd move it to something like C where you can be really meticulous about memory usage.
That's probably a Node.js memory problem, not a Repl problem, and I think you can pass CLI arguments to increase the heap size.
Maybe a less-memory intensive language would work better?
If you really need it to work in Node, there is a C++ FFI for Node.js.
Or, maybe it's just the way that you had structured your code?
@AmazingMech2418 I'm sorry, there must have been a miscommunication somewhere, I was referring to garbage collection, not manual memory management.
But still, there are Node CLI args you can pass, might wanna find 'em.
Yeah, so I'm working on this quantum computer, just normal stuff.
Bruh, like where do you even start?