Coder Social home page Coder Social logo

Error in nim 2.0 RC 2.0 about nim-gmp HOT 4 OPEN

doug719 avatar doug719 commented on July 29, 2024
Error in nim 2.0 RC 2.0

from nim-gmp.

Comments (4)

dlesnoff avatar dlesnoff commented on July 29, 2024

Does the error happens also with the Nim v2.0 release?

from nim-gmp.

pietroppeter avatar pietroppeter commented on July 29, 2024

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.

adokitkat avatar adokitkat commented on July 29, 2024

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.

dlesnoff avatar dlesnoff commented on July 29, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.