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 →
Staged Alternatives
Similar projects and alternatives to staged
-
InfluxDB
Power Real-Time Data Analytics at Scale. 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.
-
creusot
Discontinued Creusot helps you prove your code is correct in an automated fashion. [Moved to: https://github.com/creusot-rs/creusot] (by xldenis)
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
staged reviews and mentions
-
A personal list of Rust grievances
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
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
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?
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.
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)
-
A note from our sponsor - InfluxDB
www.influxdata.com | 1 May 2024
Stats
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