Giter Site home page Giter Site logo

Does Volta need foreach_revese? about volta HOT 6 CLOSED

voltlang avatar voltlang commented on June 9, 2024
Does Volta need foreach_revese?

from volta.

Comments (6)

Dav1dde avatar Dav1dde commented on June 9, 2024

We did actually discuss this yesterday on IRC (and before a while back). Some kind of reveresed() will be there at some point, but simply doesn't work yet (no iterators/ranges or similiar). foreach_reverese is gonna stay for now, simply because it is a lot cleaner than doing it manually with a C for.

from volta.

bubnenkoff avatar bubnenkoff commented on June 9, 2024

I do not think that it's good idea to downgrade languages futures only because you want to be C-compatibility. A lot of people need simple hight level language for hight level task, that do not need to have low-level access.
Who need C/C++ may use D, that done a lot of work in this direction. I do not see reasons to cpend time to it. One of thing that I do not like in D -- it become so complex and it's core developers spend a lot of time to low-level stuff.

from volta.

Dav1dde avatar Dav1dde commented on June 9, 2024

Did you read what I wrote? Where is there a downgraded 'future'?

from volta.

bubnenkoff avatar bubnenkoff commented on June 9, 2024

Sorry, look like I misunderstand part: "because it is a lot cleaner than doing it manually with a C for".
So there is chance to improving it's later?

from volta.

Dav1dde avatar Dav1dde commented on June 9, 2024

Yes. But this needs to be further discussed, Jakob brought up some good points for foreach_reverese, but right now it is not worth removing it anyways.

from volta.

Wallbraker avatar Wallbraker commented on June 9, 2024

There are a whole bunch of issues that needs to be investigated with a ranged base reverse. Like for instance the actual instructions that they get lowered down into.

We can reevaluate foreach_reverse at a later time, right now they are here to stay for the foreseeable future.

from volta.

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.