staged

Staged compilation with dependent types (by AndrasKovacs)

Staged Alternatives

Similar projects and alternatives to staged

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better staged alternative or higher similarity.

staged reviews and mentions

Posts with mentions or reviews of staged. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-09-12.
  • A personal list of Rust grievances
    11 projects | news.ycombinator.com | 12 Sep 2022
    I think it's more a reflection of how Rust evolved, and the techniques and approaches known and understood at the time and the strangeness budget they were (understandably) willing to take on at the time as opposed to something inherent. And also sometimes having separate, complicated features for similar things (as opposed to simple features that compose powerfully) can be useful pedagogically as well.

    At any rate, this is something I'm interested in, and so that's why it appears so high up on my list. Often you really do want sub-languages for different purposes, but managing how they interact and work together, what is the same and what is different, and how that impacts usability is interesting (and difficult) part. I feel like it should be possible to do this, but it's going to take some work and there's still lots of unknowns.

    In technical terms, I'm interested in dependently typed module systems, multistage programming[1], graded modal type theory[2], elaborator reflection, and two level type theory[3]. These all sound pretty intimidating, but you can actually see glimmers of some of this stuff in how Zig handles type parameters and modules, for example, something that most programmers really like the first time they see it!

    I do feel like there is the core of a simple, flexible, powerful systems language out there... but finding it, and making it approachable while maintaining a solid footing in the theory and being sensitive to the practical demands of systems programming is a nontrivial task, and many people will be understandably skeptical that this is even a good direction to pursue. Thankfully the barrier to entry for programming language designers to implementing languages in this style has reduced significantly in just the last number of years[4], so I have hope that we might see some interesting stuff in the coming decade or so. In the meantime we have Rust as well, which is still an excellent language. I'm just one of those people who's never content with the status quo, always wishing we can push the state of the art further. This is why I got excited by Rust in the first place! :)

    [1]: https://github.com/metaocaml/metaocaml-bibliography

    [2]: https://granule-project.github.io/

    [3]: https://github.com/AndrasKovacs/staged

    [4]: https://github.com/AndrasKovacs/elaboration-zoo/

  • Staged push/pull fusion with typed Template Haskell
    3 projects | /r/haskell | 23 Jul 2022
    But, to give some background, I started writing this code in my 2LTT prototype, where staging is seamlessly integrated. There, quotes and splices are almost always inferred, there is automatic conversion between runtime and functions and their staged versions (e.g. + : Int -> Int -> Int can be used as + : Up Int -> Up Int -> Up Int), and there are no module or scoping restrictions.
  • what meta programming approach to use in a new systems PL
    1 project | /r/ProgrammingLanguages | 3 Jun 2022
    If you're into type theory, I think two-level type theory is a good foundation for a dependently typed systems language, but if you don't want to get into types just copying Zig gives you the best generics/metaprogramming model in any systems language imo.
  • References for the theory behind Zig's comptime?
    1 project | /r/ProgrammingLanguages | 28 May 2022
    Related to this is two-level type theory (which can be extended to n-level type theory). This can be used to make a dependently typed, staged programming language: https://github.com/AndrasKovacs/staged
  • Literature about mixing compile time and runtime code.
    2 projects | /r/ProgrammingLanguages | 2 Mar 2022
    Andras Kovacs' staged demo is worth a look. It uses ‘two-level type theory’ to define a compile time and runtime languages that can be used together in the same program.
  • Using Two-Level Type Theory for Staged Compilation (abstract)
    1 project | /r/ProgrammingLanguages | 22 Apr 2021
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 1 May 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →

Stats

Basic staged repo stats
6
125
7.9
24 days ago

AndrasKovacs/staged is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of staged is TeX.

Popular Comparisons


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com