Giter Site home page Giter Site logo

making Blitz part of Boost? about blitz HOT 5 CLOSED

blitzpp avatar blitzpp commented on May 19, 2024
making Blitz part of Boost?

from blitz.

Comments (5)

citibeth avatar citibeth commented on May 19, 2024

from blitz.

vukics avatar vukics commented on May 19, 2024

I think in C++ there is a lack of a standard-like multi-array, like numpy.ndarray in Python.

It would be very nice if Boost had something like this, perhaps in the form of a synthesis of Boost.MultiArray and Blitz.

One conceptual problem in Blitz that the Boost people wouldn’t like in my opinion is that it is meant to exhibit reference semantics (ok, it has reference counting – but that might be an overkill anyway…), yet, it doesn’t present all the possibilities of const-ness: non-const reference to non-const, non-const reference to const, const reference to const, const reference to non-const. A blitz::array is either const or non-const.

I think this causes significant mental friction. An elegant solution would be if P_numtype could be specified as a const, which could be treated as the reference-to-const case.

Boost.MultiArray treats this problem nicely in the form of (const_)array_views.

from blitz.

citibeth avatar citibeth commented on May 19, 2024

from blitz.

vukics avatar vukics commented on May 19, 2024

By the way, this subject came up already in the blitz++ SF mailing list.
It did not generate much echo apart from a brief reaction by myself.

from blitz.

slayoo avatar slayoo commented on May 19, 2024

Given the above and the b11 initiative (#48), let me close this one fully agreeing with @citibeth that it's much more practical to concentrate efforts there.

from blitz.

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.