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.
mleku
me@mleku.dev
npub125uw...lek0
insert blurb here
WORD5 #780 4/6* (Hard Mode)
โฌโฌ๐งโฌโฌ
๐งโฌโฌโฌโฌ
โฌ๐ง๐ชโฌ๐ช
๐ช๐ช๐ช๐ช๐ช
WORD5
writing a compiler is complicated. #moxie has been a real struggle for most of its life since july this year.
a couple of weeks ago i started having the idea, of writing code rewriters that refactored input code and stripped down one feature at a time to be expressed in a simpler form of moxie.
after fighting forever and a day with getting moxie to not blow my potato laptop's memory, cpu and SSD all to hell with thermal throttling and silicon stress, and me waiting for the usual result of fail, i've cooked up a cunning plan
rewrite the bootstrap compiler, as it's called "stage4" because stage4 represents the process - legacy is written in Go, based on tinygo. that builds the stage4 source code, so that's stage 2, stage 3 you build the stage 4 source code with stage 2. which gives you... tada... stage 4. not my naming scheme, i know it's kinda illogical.
anyway, the point is that if the compiler is written in the bare minimal, it can have those pieces pruned off because they are just syntax sugar. then the transforms can be written one at a time that take the more advanced feature and replace it with the simplified moxie code that does the transform to the AST that actually implements the sugary shit.
it will be fun they said. join the moxie army they said.
i just had a discussion with my clanker about the evidence against the idea of crustal slip and rotation. 21km or so difference between the distance to the center between pole and equator. this requires a break in all the faultlines and an amount of energy that can't be explained by the gauss of an external polarity shift. the internal system can do the reversal, but the crust can't shift that way.
unsubscribed from ben davidson.
on the xbt/btc swap app i'm building, i have just realised that i can make a UI in its wallet to split a coin that is common history thereby into a coin on both sides.
i'm going to do this because it lets us do testing on live chain with relatively trivial amounts, but it will also mean an easy go-to way for anyone to take their btc and mint it as xbt.
will report more later once this has enabled full mainnet testing on the app.
WORD5 #779 5/6* (Hard Mode)
โฌโฌ๐งโฌ๐ง
๐ช๐งโฌโฌโฌ
๐ชโฌ๐ชโฌ๐ง
๐ชโฌ๐ช๐ชโฌ
๐ช๐ช๐ช๐ช๐ช
WORD5
WORD5 #778 4/6* (Hard Mode)
โฌโฌ๐งโฌ๐ง
๐งโฌโฌ๐ชโฌ
๐ช๐ชโฌ๐ช๐ช
๐ช๐ช๐ช๐ช๐ช
WORD5
WORD5 #777 5/6* (Hard Mode)
โฌโฌโฌโฌโฌ
๐งโฌโฌโฌโฌ
โฌ๐ช๐งโฌโฌ
โฌ๐ช๐ช๐งโฌ
๐ช๐ช๐ช๐ช๐ช
WORD5
WORD5 #774 5/6* (Hard Mode)
โฌ๐ง๐ชโฌโฌ
โฌโฌ๐ช๐ชโฌ
โฌโฌ๐ช๐ช๐ง
๐ชโฌ๐ช๐ชโฌ
๐ช๐ช๐ช๐ช๐ช
WORD5