News for hackers. Stuff that matters.
Re:Circle – A C++ compiler with compile-time imperative meta... by dexter0 on Tuesday May 05, 2020 @07:52PM (#23086468)
This looks amazing, but the fact that it is implemented in an entirely new compiler (atop LLVM, sure) is a major turn-off. Would be more useful if it were implemented as a meta compiler instead.
Re:Circle – A C++ compiler with compile-time imperative meta... by orbifold on Wednesday May 06, 2020 @03:55AM (#23088792)
There is basically no way to modify clang or GCC to support executing arbitrary C++ code at compile time. Something like that would be a fork that wouldn’t get accepted upstream. According to the author the compiler front end is ~100kLoc which is an order of magnitude less than what clang is.