Comments (4)
Does the error happens also with the Nim v2.0 release?
from nim-gmp.
this should probably be reported in https://github.com/SciNim/bignum (if it is indeed affected) which is slightly ahead of this and it is the version officially installed with nimble
from nim-gmp.
You can take a look on my forks of nim-gmp and bignum, I tried to fix them and they seem to work now (I tried included the examples in both packages). Check out new destructors in nim-gmp src/gmp/pure.nim
because I am not sure if they don't memory leak, I've never written a destructor in Nim before.
from nim-gmp.
To know if it leaks, you can use Valgrind on the C output I guess. It will not really help you to find the memory leak, but it should tell you if there is one. I haven't written a destructor in Nim, sorry I can't help you on that.
from nim-gmp.
Related Issues (2)
- converter issue HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nim-gmp.