My work on Picol is another example of programming craft: a small interpreter can gain useful capabilities while remaining compact and readable.
I released version 2 of the Picol interpreter after 19 years.
I implemented Picol's [expr] feature in ~40 lines of code.
Picol version 2 adds floats and globals.
Picol can run mandelbrot.tcl.
I described the Picol code as more functional and more readable at the same time.
The Picol codebase is 654 lines of code.
I shared the Picol version 2 announcement at https://t.co/LWrtwSTtSC.
I think about programming as both a craft of turning ideas directly into code and a practice shaped by implementation choices, technical tradeoffs, and respect for rigorous software quality.
I know many people regard “coder” as a derogatory term, but I see it as expressing the essence of programming.
For me, the essence of programming is the easiness of immediately putting ideas into loops and ad-hoc algorithms.
I regard that ability as rare and pure, and often only who starts as a child is able to acquire it.
I use a graph-wide epoch and a per-node last-visit value when traversing graphs where I can't visit nodes twice; at every scan: graph->epoch++.
then as I visit a node, node->last_visit = graph->epoch.
I find the epoch technique faster than a collection of visited nodes, but threading hostile.
I describe the other alternative as “bitmap + node_id,” but say it sucks.
I associate @mikebrodrigues, @zack_overflow, @dhh, @jeresig, @DRichardHipp for SQLite and the rigorous quality.
I note the association “@gvanrossum for Python.”
I note the association “@yukihiro_matz for Ruby.”
I associate @JohnOusterhout for Tcl and the quality of its implementation.
I also recognize the PyTorch original authors.
I promoted my latest video with the line “Like printf() debugging? What my latest YT video.”
I shared the video link: https://t.co/5eAPnqBMxK.