• lobsters__veqq@crustaceanson.theshelf.topM
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    29 days ago

    Working on Janet infrastructure.

    Janet’s original package manager JPM is being depricated, so we need to better document the replacements’ alternative workflows. I’d previously written this. Janet now does the hard work internally, allowing people to easily build package managers with different workflows on top, working with the same data.

    I’m expanding the our support for sqlite3’s extended API. First I did some refactoring and now I’m building a bunch of random projects to highlight/explore those extended features, with demos/experiments of:

    • code in the DB (or compiled functions)
    • shadow REGEXP with janet PEGs using sqlite3_create_function_v2
    • letting you use and move sqlite3 DBs across threads and images (via serialize)
    • integrating statements and such as Janet “abstract types” allowing you to stream rows or do like (each row sttmt ...)

    Related to the packaging experiments, I worked out a good workflow (related code) for building a whole tool chain on different commitments, with different flags etc. letting me test optimizations. Due to a mistake, I was comparing my global -O3 native build with unoptimized ones for a bit. So far, I improved equality. Currently, declarative-dsls’s test suite runs 25% faster on master and many other whole programs by ~10% compared to the last release!

    Basically, I’m twiddling my thumbs waiting for the results of a business trip I just returned from, to bear fruit.


    score 5 · canonical