the #moxie #burndown continues in the background. i'm dedicating focus time on paid gigs now, all of the work days, but in between the gaps i have idle so partly i spend that on ponderings about geopolitics and partly on moxie
the process for stage 2, once stage 1 is a single codebase with refactored nanomoxie code pulled from the pre-existing dependencies, is a feature-by-feature test suite that fixes the nanomoxie code for parsing the full moxie features. this is a process of isolation. the nanomoxie core, which is a language set that is actually smaller than even mini-C compilers like chibacc, so the surface area for stage 1 is very small, and tested on a codebase that implements the full moxie feature set, without using anything that is beyond that core.
the biggest problem i have had with building moxie is that previously, everything was being exercised, and the scope of failures muddled up the core compiler's functionality, with the extraneous features that make it a much larger problem to fix. less surface, means getting a hard core right early, and then the individual features are split out into preprocessing stages that rewrite full moxie AST into progressively smaller pieces of nanomoxie. each feature is independent, so the robot doesn't get distracted so much by the composite of features that are far more complicated than the core.
the end result is going to be that moxie exists as a pipeline, which shrinks the working set required for each stage, and allows it to be pipelined as the interlock between them is only difficult in a couple of the phases (mostly the generics and interfaces).
my long horizon goal with moxie is not just about the language, but eventually i get a nice modern FPGA and design a CPU, scratch memory ("cache") and inter-core switch for implementing channels, and replaces the most complex and expensive parts of conventional CPU designs - cache coherence and branch prediction - with a pure event driven architecture.
the short horizon goal is a programming language that runs on the main targets anyone cares about (x86_64, ARMv8 and wasm32) and provides a programming model where units of processing are hard isolated from each other (isolation, axiom 2), explicitly declared (axiom 1) and ambient authority and inputs are closed (axiom 3). the goal is about making a programming language that railroads LLMs into a partitioned architecture when writing code where failures in one part don't propagate easily into others, which is the main failure mode of LLM code because of the languages' shared resource and ambient authority/inputs models.
moxie doesn't solve bad protocol design or cryptography, but it separates that from execution in a way that makes it something that a human can more easily assess by disentangling it from the part that can be automatically checked by the language.
the process for stage 2, once stage 1 is a single codebase with refactored nanomoxie code pulled from the pre-existing dependencies, is a feature-by-feature test suite that fixes the nanomoxie code for parsing the full moxie features. this is a process of isolation. the nanomoxie core, which is a language set that is actually smaller than even mini-C compilers like chibacc, so the surface area for stage 1 is very small, and tested on a codebase that implements the full moxie feature set, without using anything that is beyond that core.
the biggest problem i have had with building moxie is that previously, everything was being exercised, and the scope of failures muddled up the core compiler's functionality, with the extraneous features that make it a much larger problem to fix. less surface, means getting a hard core right early, and then the individual features are split out into preprocessing stages that rewrite full moxie AST into progressively smaller pieces of nanomoxie. each feature is independent, so the robot doesn't get distracted so much by the composite of features that are far more complicated than the core.
the end result is going to be that moxie exists as a pipeline, which shrinks the working set required for each stage, and allows it to be pipelined as the interlock between them is only difficult in a couple of the phases (mostly the generics and interfaces).
my long horizon goal with moxie is not just about the language, but eventually i get a nice modern FPGA and design a CPU, scratch memory ("cache") and inter-core switch for implementing channels, and replaces the most complex and expensive parts of conventional CPU designs - cache coherence and branch prediction - with a pure event driven architecture.
the short horizon goal is a programming language that runs on the main targets anyone cares about (x86_64, ARMv8 and wasm32) and provides a programming model where units of processing are hard isolated from each other (isolation, axiom 2), explicitly declared (axiom 1) and ambient authority and inputs are closed (axiom 3). the goal is about making a programming language that railroads LLMs into a partitioned architecture when writing code where failures in one part don't propagate easily into others, which is the main failure mode of LLM code because of the languages' shared resource and ambient authority/inputs models.
moxie doesn't solve bad protocol design or cryptography, but it separates that from execution in a way that makes it something that a human can more easily assess by disentangling it from the part that can be automatically checked by the language.
1