Giter Club home page Giter Club logo

Comments (5)

tothuhien avatar tothuhien commented on August 24, 2024

Thanks Minh for your suggestion. It's definitely a great idea, I'll do that before releasing the next version and let you know when it's ready.

Best regards,
Hien

from lsd2.

tothuhien avatar tothuhien commented on August 24, 2024

Hi Minh,

In the latest commit 2ca847f, besides adding some features, I've changed FILE to iostream,istream and remove global variables. Could you check if it works now and let me know if anything else needs to be adjusted.

Thank you
Hien

from lsd2.

bqminh avatar bqminh commented on August 24, 2024

Awesome! I'll check that and also try to adapt the calling from files to streams, so that it fits into iqtree.

from lsd2.

bqminh avatar bqminh commented on August 24, 2024

After some testing I think LSD2 now runs really well -> great job!

Another item to add here:

  1. Make LSD2 compilable and run on Windows (in addition to Linux and Mac).

This is done and my test executable runs well on Windows 7.

For point 2 about thread-safety: I couldn't check yet. My only point right now is to avoid using those "old" C functions that are not thread-safe.

For example, the random number generator (srand) are not safe. But I think you have now changed that to the C++ standard library, right?

from lsd2.

tothuhien avatar tothuhien commented on August 24, 2024

Thanks Minh for your work. It's also really nice that it runs on Windows now. I don't have experience in thread-safety so couldn't help much. But I no longer use srand. I'll try to see if there's anything else should be adjusted.

Hien

from lsd2.

Related Issues (20)

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.