Giter Site home page Giter Site logo

Comments (3)

ChristianGruen avatar ChristianGruen commented on June 16, 2024 1

I would tend to close this issue (and keep #689 open). I suppose we’d need to introduce much stricter optimization rules in the specification to achieve reasonable results across multiple processors.

from qtspecs.

ChristianGruen avatar ChristianGruen commented on June 16, 2024

I’m still hesitant if we should include this function to the standard. I clearly see reasons for having a stack trace function, but we may (at this stage) need to consider numerous implementation-specific questions:

Code may be rewritten a lot by a processor before it’s eventually executed, and it’s often difficult to preserve the original location of a former expression (in particular, the column number), even if we ignore function inlining. An arbitrary example:

(: original query :)
some $s in
  (1, 2, 3)
satisfies
  $s > 1

(: rewritten query :)
((1 to 3) ! (. >= 2)) = true()

Rewritings could generally be suppressed if a stack-trace call is found in a sub expression, but this would change the way how a query is executed, and may lead to heisenbugs (and I assume the main reason for using this function is for debugging purposes).

from qtspecs.

ndw avatar ndw commented on June 16, 2024

The CG agreed to close this issue without action at meeting 065

from qtspecs.

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.