3 ms·
> I am not aware of even research languages taking the idea of general-purpose partial evaluation not through syntax macros to the same lengths as Zig One that
by haberman 6y ago
> I am not aware of even research languages taking the idea of general-purpose partial evaluation not through syntax macros to the same lengths as Zig
One that comes to mind is Terra: http://terralang.org/ http://terralang.org/
In retrospect Terra seems a clear precursor to Zig (though I don't know if it was a direct influence).
- pron 6y agoI've heard of Terra, but I didn't know it had predated Zig by a couple of years; thought they were introduced at about the same time. And yes, there are certainly similarities, although Terra thinks of itself as two interoperating languages, while in Zig there is just one (although there are things you can only do in comptime so perhaps it's more of a difference in perspective).