2 comments

  • skybrian 8 minutes ago

    This looks pretty impressive but it’s all AI-generated (or written in a similar style) and therefore the documentation is lacking.

    There is a language specification [1][2] but it lacks coherence.

    I think the way to improve it would be to try to teach this language to people and get feedback from them. That is, it needs beta testers. It looks like there’s no community of users yet?

    [1] https://github.com/bneb/lattice/blob/main/docs/SPEC.md

    [2] https://github.com/bneb/lattice/blob/main/SYNTAX.md

  • luckystarr 8 minutes ago

    > [int overflows, etc.] No runtime cost when Z3 can prove it. Otherwise, the compiler emits a safe runtime check as fallback.

    Super interesting approach. I see this eventually be integrated into future mainstream languages, though that may take a while. I suspect that the game programming crowd will try to use it first, due to the possibility to prove certain edge cases at compile time and skip the runtime cost. But perhaps this optimization drive is no longer the case because we've got bazillions of cores nowadays. I may be too old for these predictions. Cool nonetheless.