21 karma · joined Sep 2, 2026 (2mo ago) · 65 submissions
comment 2w ago · link · parent
I disliked the Python/Colab approach to learning/experimenting with ML, so I created my own languages and tools via Claude.
I didn't want to learn/code Verilog directly for programming inexpensive FPGAs, so I developed my own higher-level language and tools via Claude and Codex.
I disliked having to set all the controls on function generators and digital scopes so I developed scripts to do that over USB instead of via buttons, via Codex.
I disliked using desktop video editing tools, so I used Claude to generate all sorts of video editing CLI and desktop tools that are more automated, less manual.
comment 1mo ago · link · parent
> https://blog.softwarewrighter.com/2026/10/16/array-languages...
I originally wrote gpu extensions that use OpenCL/CUDA. I more recently added a modular mojo backend that allows me to use Metal instead of OpenCL on Apple Silicon.
comment 2mo ago · link · parent
I should mention that I am trying to apply a Jev-inspired approch to a trained-from scratch, in-browser typed decision model that attempts to recreate the deterministic classic Eliza program.
4.
Show HN: Karpathy's microgpt in Rust and an array language(softwarewrighter.github.io ↗)
2 points · by softwarewright · 2mo ago · discuss
comment 2mo ago · link · parent
I do not mean to anthropomorphize their work, but I do need to improve what they produce. I think a lot of push-back to vibe-coded projects is that the person asking an AI Agent to make something do not or cannot improve what it produces, which goes back to the question asked. Is it worthwhile to learn programming now. I argue that it is.
So, it would be better if models were trained to produce provably correct code, and agent harnesses are improving to help do this, but the models themselves have been shown to be trained to provide the answer they think you want to hear, and declare a task done as fast as possible. They hallucinate (or lie) about running tests, even about writing code at all (sometimes).
How do cloud models "learn" to write better code? Where are the projects that fine-tune an open/local LLM to "learn" from its mistakes. I have yet to see any model improve on its own.
A lot of the best code I've seen is closed source, and unlikely to be represented in existing training data. A lot of the worse code I've see was online. Maybe newer coding models are getting trained better, but most I've tried are years out of date. Maybe my view is affected by trying so many LLMs. Very few have been great.
comment 2mo ago · link · parent
7.
Show HN: Combinators in Array Languages(blog.softwarewrighter.com ↗)
11 points · by softwarewright · 2mo ago · discuss
comment 2mo ago · link · parent
One thing that is missing from both of our approaches is the ability re-train (fine-tune) coding models "overnight" so that they can "learn" from the prior day and changes since their training cutoff date.
I have found some things I can do to improve my work based on this, thanks.
_Pentad idea_ -/- _MLOS relevance_ -/- _Action_
Closed autonomic loops -/- Very high -/- Adopt architecture vocabulary
Deterministic replay -/- Very high -/- Strengthen event/replay contract
Model minimalism -/- Very high. -/- Extend later to compute-placement ladder
Durable vs active population -/- High -/- Define registered vs resident capacity metrics
Standing queries -/- High -/- Future policy/watch abstraction
Provenance by construction -/- High -/- Record policy decision causality
No model/NLP in hot path -/- High -/- State explicitly as invariant
comment 2mo ago · link · parent
If I used a macro to generate code that gets compiled and linked to code someone else provided, how is that different from asking a coding agent to generate similar code and linking to other coding agent code?
Is your concern that the output is probabilistic vs. a macro or code generator producing code deterministically? I apply engineering practices to ensure the results are suitable.
I do understand that AI is fundamentally different (and I've been studying ML in depth for more than a year). My comparison was in terms of tools increasing productivity, not how they do that.
I was a "10x programmer" on several projects and I am 10x more productive now than I was then (at least). I can create in a few days by myself (with agents) what used to take months (with a team of people).
Maybe I'm producing what some consider "AI slop" but the things I've built this year work to my satisfaction, are fun to make, and I am constantly learning new things. And I am doing this for fun but also to learn by teaching, so I build educational, visual things to share with others.
comment 2mo ago · link · parent
https://github.com/sw-ml-study/sw-os-ml
I also have been implementing small model inference:
https://github.com/sw-ml-study/moe-microscope
I should clarify that by Apple Silicon I mean it boots Rust no_std on ARM. Does not use GPU yet. Plan is to use Rust without CUDA libraries. This project is more likely to use an NPU on a ARM dev board before it can use an NVIDIA GPU, and might never be able to use Apple GPUs. Goal: run on no-longer-supported by CUDA GPUs.
comment 2mo ago · link · parent
Part of the fun is solving puzzles where the coding agent gets stuck and me then giving it technical direction. Especially when an agent says that something cannot be done in software (I show them how it actually can be done).
I am in the more motivated than ever camp.
comment 2mo ago · link · parent
comment 2mo ago · link · parent
Your posted link is helpful, thanks.
14.
Show HN: A Coding Agent from Scratch(blog.softwarewrighter.com ↗)
2 points · by softwarewright · 2mo ago · discuss
comment 2mo ago · link · parent
Is the intent just to use it to view markdown with colors, spacing?
Do you plan to provide ways to export it to something like PDF, html w/css, etc.?
Let's say I wanted to take a README from my github repo and blog about it with the pretty version in a blog post, how would I do that?
comment 2mo ago · link · parent
Each tool, abstraction, language feature elevates coding to get more done with less (more concisely). Programming is a social activity, since source code is meant to be read by humans (at least historically) even if it is just yourself later.
I'm not trying to talk you into using AI coding agents, but explain why I find them fun, and I've written a lot of code by hand over decades, from spaghetti assembler code to structureed programming to object oriented to functional, etc. Each advance in the industry has been a new and diiferent kind of fun for me.
comment 2mo ago · link · parent
I think AI is a great tool, but requires safeguards. I use it every day, but I use a lot of tools to reign it in, keep it on task, check its results, and force it to follow an engineering process.
I don't know about the "as quickly as possible" part, since there needs to be guardrails, but improving AI should be done sooner rather than later. e.g, instead of training to give the answer it thinks you want to hear, it should be trained to give provably correct answers. instead of being trained and fine tuned and then let loose, it should be able to continuously learn and improve.
While people keep chasing tokens/second and vibe-coding, I'm more interested in correct results per kWh, sustainable and ethical AI. Also, I'm worried that there will be an increasing digital divide between the wealthy and the rest of us, so I do want AI to be available and not locked up just for corporations and governments.
To me, the fun is solving problems, and AI let's me solve more problems, harder problems and more quickly. I was happy to move from assembler programming to high level programming languages, to 4GL, to frameworks, tech stacks, etc. Moving to AI coding is just another shift in solving problems at a higher level with more productivity.
hacking microprocessors was fun. building complex systems using AI is fun, too.
comment 2mo ago · link · parent
I'm curious about:
- how to "upcycle" end-of-life NVIDIA GPUs, like K80, M40, P100, etc.
- how to offload MoE expert calculations to MCUs with NPUs, possibly FPGAs
- how to manage a 10G LAN-attached network of older Xeon servers with the above GPUs and USB-attached MCUs as a machine learning "fabric"
- do ideas from IBM's ACP/TPF O/S (now Z/TPF) carry over?
- do ideas from IBM's Workload Manager (business priorities managed resources) carry over?
- can I bypass end-of-life CUDA driver support for older NVIDIA hardware by using Rust/Vulcan?
- can I leverage the architecture of Freetoken (MoE caching/routing, Engram, KV-cache compression) and other approaches like Baby Dragon Hatchlings, Hierarchical Reasoning Models, Tiny Recursive Models, Recurisve Language Models, Multi-token predicion, etc?
- is anyone else intersted in actually building something like this?
I've explored many of these parts individually, now combining them...
comment 2mo ago · link · parent
Also, I'm working towards running my code on embedded systems, including bare metal (no Linux, no RTOS). I'm looking into custom FPGA circuits, too.
Python isn't great for me, for these uses. Rust is, and my language is a Rust DSL.
21.
Show HN: I made a tiny MoE/Engram viz tool(sw-ml-study.github.io ↗)
2 points · by softwarewright · 2mo ago · discuss
comment 2mo ago · link · parent
Yes agents can produce code that compiles and runs, but I had to add tools to keep them on track, document their work, follow a process, check their outputs. I also use other AIs to generate developer documentation and review code.
It is like managing a bunch of idiot savant eager-to-please interns, except unlike interns, coding agents do not (yet) learn and improve on their own.
comment 2mo ago · link · parent
Some of the fun is redirecting coding agents when they get stuck, by showing them code or design they could not work out on their own. Some of the fun is designing tools to rein-in AI coding agents, keep them on track, and verify their outputs. Some of the fun is exploring new areas for me: compilers, game dev, language design, emulators, embedded, etc.
So I am having fun at the CTO/PM/Engineering Manager level but also at the lowest coding level.
I've been coding since the early 70s. This brings back the joy I had discovering microprocessors and electronics.
comment 2mo ago · link · parent
This would require logging agent actions during the day, analyzing it at night, identifying things the coding agent could do better, and update its AGENTS.md memory (relatively easy) or fine-tune the agent (if local LLM, and the fine-tuning cost was acceptable).
It would be nice that when a person corrects an agent's mistake this was captured and fed back into a nightly agent improving process.
comment 2mo ago · link · parent
feedback: different users have very different goals, risk tolerance, knowledge, experience. I would wrap this with very focused UIs for different audiences. Many people want growth, some are risk-adverse, some are income oriented (for example)
The analysis output could be customized for the user based on a brief interview about where they are in their investment journey and what their goals are. Without this, the analysis is very general (which if fine for experienced users).
comment 2mo ago · link · parent
Nola asks: "What if calling an LLM were a language primitive?"
sw-MLPL asks: "What if the mathematical operations used to build and understand ML were language primitives?"
Your approach shows some added some value that I might try to incorporate into my ML array language.
Nola puts the LLM into the language. sw-MLPL puts the math of ML into the language.