i've had an alarming, and lucid realisation.
i've got the exact constitution of a nomad. or a hunter. my whole motivation in life is chasing after the thing that is escaping from me.
once i find it, i'm bored, and look for another thing to chase.
but that's not how a real herder, or hunter lives. there has to be a rest point. you have to have the bbq and sleep it off. you have to huddle with your cows and hay in the winter shelter.
i've lived 30 years chasing the prey, taking it down every 7 years or so, and never having a jubilee. never salting and drying my harvest.
i had a hungarian police officer lady ask me, when they found me crossing the border from slovenia without a passport, having walked and ridden "borrowed" bicycles the whole time since nettuno, on a hunt for some citrus picking work to escape the winter of amsterdam homelessness, the winter shelter, literally.
"why do you live like a gypsy"
and that's the thing. some people are wired up to be hunters and herders. spending most of their life chasing after something that wantonly and determinedly refuses to be caught. and then, after you catch that bugger, you are supposed to come back to the village and rest for the winter.
i need my winter shelter.
mleku
me@mleku.dev
npub125uw...lek0
insert blurb here
moxie's memory management system is the final boss, it's based on Region-based Memory Management M. Tofte, J. Talpin Published in Information and Computation 1 February 1997 but slightly different in some ways. while that is grinding away, and it's getting close to eliminating all incorrect and egregious memory allocations and as much as possible reclaiming memory that has stopped being needed, i am doing a little side project that is going to be a background task for a while.
the task is this: how small can we make a programming language, such that it feasibly can fit within the kind of space that the Turbo Pascal compiler for DOS achieved - for a refresher, that was 38kb including editor and debugger. so we are gonna shoot for a similar total binary size, but no editor or debugger. this is just source files in (cc style) and binary code out. intermediate stage is going to be via LLVM IR code, but after we achieve this, the binary code generation step gets melded into it and probably we are talking about somewhere around 32kb of total source code, something that can live permanently in the cache of one thread of a 20 year old CPU, and make an OS that is strictly source code only.
so, it's quite fun, lots of steps. first, we strip features one by one. generics. interfaces. slices. maps. defer. multiple returns. the memory allocation machinery (arenas and relocated returns). spawn threads. channels, both intra-thread and inter-thread. variadics.
each rewrite step will eliminate the features one at a time, at first rewriting the actual code, and then testing that the compiler that does the whole thing accepts it, and success.
once all of those rewrite steps are complete, we don't need to regenerate the valid source code anywhere in this. first level parses to AST, and the AST is passed through a pipeline that rewrites the AST to eliminate each feature one by one until you have a final AST. that final AST will be representable as source code of a language that has about 3 or so less features than even a plain C compiler - no unions, no switches, no do/while, not even arrays!
the target is to achieve roughly the same kind of size as the legendary turbo pascal compiler, but not a language that you would legitimately write, though you could. it's a compiler that is the end of a pipeline of feature-stripping rewriters.
my goal here, is to have a full programming language preprocessor and compiler pipeline that can fit inside a hypothetical moxie-specific CPU, fabricated out of ~130nm,1990s era silicon, which is the last point at which a chip fab could conceivably fit into a small workshop, without a huge dependency on materials that are hard to source without 1980s era technology.
that means a transputer style chip, with no branch prediction crap, just an ALU, a 128kb block of memory (or so) and a 5 port (gigabit, i think) ethernet switch in one die. each chip runs code and proceses can be spawned on multiple chips that communicate over that ethernet port. oh yes, and a memory controller, not to forget the memory controller, that's gonna be most of the pins, 128 bit wide, and that gives us a gigabyte or so slow, ephemeral storage. this is to make a pancake style stackable computer, where you can pancake multiple boards on a pass-through connection pin header. there will be processors, such as a 16 chip 4x4 grid, there can be specialist components like storage adapters, frame buffers with accelerators and a number of these minimal, message passing processors with ethernet switches baked into them.
the design of moxie is precisely all about making it so you can delete the complexity of computer hardware, and promote extreme parallelism, as well as achieve minimal, sub-frame latency for everything.
modern computers have literally gone backwards in the metric of 60hz frame rate subframe latency for input and output. it affects my experience working with mobile phone touch screens, and right now, my $650 potato laptop with lpddr5, has noticably higher latency at everything than my lower price, 2020 era lenovo ideapad laptop, that i foolishly left behind in ... croatia? or madeira? i had no idea. latency has got worse in the last 5 years. anyone else who has been using computers since 1985 will agree with me, or at least concur "it seems like my lightning fast reflexes are broken on new systems" i remember playing stalker call of pripyat back in 2012 and i was absolute death to mutants. why not now? i should still be pretty good. nope. it's because of latency.
so the purpose of this exercise is all about rethinking computer architecture, based on source-based operating system, and extreme, message passing parallelism.
making a compiler that literally lives as a permanent resident of one core of a processor's cache is a key goal towards this.
WORD5 #773 4/6* (Hard Mode)
β¬β¬π§β¬β¬
β¬πͺπ§β¬β¬
β¬πͺπ§πͺπͺ
πͺπͺπͺπͺπͺ
WORD5
[-]
elfspice (-8)(1) 9 years ago (edited)
I hate cancer. There is a whole bunch of things that cause it, that are considered to be 'healthy' or 'harmless', our environment is swimming in carcinogens. Roundup, Brominated fire retardants, bromate bleach in flour, hell, the government approved wheat varieties, all kinds of food additives, preservatives, food processing techniques, plastic monomers and paints offgassing, and let's not forget all the legal drugs, coffee, alcohol, tea, fluoride in the water, fucking chlorine bleach in the water, massive amounts of radio waves in our environment disrupting the endocrine system. endless blue light, x-rays from fluorescent lights... The list is endless. Practically everything that Government approves gives you cancer. It's almost a way to judge if something is safe or not. Does it have government approval? Ok, it gives you cancer.
---
you know i wrote this
The Toxic Broadhead arrow tip. Possibly the most brutal ballistic weapon ever invented since exploding rounds. β Steemit
This might possibly be the sweetest piece of hunting technology ever invented, in my opinion. What really jazzes me⦠by elfspice
so, i felt like my 500 euro asus vivobook was slower than my old acer laptop.
ddr4 dual channel, 3200mhz 10ns
versus
lpddr5-6400 13.7ns - single channel
come on.
add all the bullshit of the 5 years of enshittification of javascript and operating system code, and i think i can justifiably say that i paid the same price for 10 years vintage hardware. i mean, what was a 2010 laptop.
DDR3-1066 75 ns but that's dual channel too. and the software used half the memory, so it felt like double from 2010 to 2020. but 2020 to 2025? literally 50% slower.
Dead Kennedys - Soup is Good Food
[Verse 1]
We're sorry, but you're no longer needed
Or wanted, or even cared about here
Machines can do a better job than you
And this is what you get for asking questions
The unions agree: "Sacrifices must be made"
Computers never go on strike
To save the working man
You've got to put him out to pasture
[Pre-Chorus]
Looks like we'll have to let you go
Doesn't it feel fulfilling to know
That you, the human being, are now obsolete
And there's nothing in hell we'll let you do about it?
[Chorus]
Soup is good food (We don't need you anymore)
You make a good meal (We don't need you anymore)
So, how does it feel to be shit out our ass
And thrown in the cold like a piece of trash?
[Verse 2]
We're sorry; you'll just have to leave
Unemployment runs out after just six weeks
How does it feel to be a budget cut?
You're snipped; you no longer exist
[Pre-Chorus]
Your number's been purged from our central computer
So we can rig the facts and sweep you under the rug
See our chart? Unemployment's going down
If that ruins your life, that's your problem
[Chorus]
Soup is good food (We don't need you anymore)
You make a good meal (We don't need you anymore)
Now, how does it feel to be shit out our ass
And thrown in the cold?
[Instrumental Bridge]
[Verse 3]
We're sorry; we hate to interrupt
But it's against the law to jump off this bridge
You'll just have to kill yourself somewhere else
A tourist might see you, and we wouldn't want that
I'm just doing my job, you know
So, say "uncle," and we'll take you to the mental health zoo
Force-feed you mind-melting chemicals
Till even the outside world looks great
[Pre-Chorus]
In high-tech science research labs
It costs too much to bury all the dead
The mutilated, disease-injected
Surplus rats who can't be used anymore
So, they're dumped with no minister present
In a spiraling corkscrew disposal unit
Ground into sludge and flushed away
Aw, geez!
[Refrain]
We don't need you anymore
We don't need you anymore
[Chorus]
Soup is good food (We don't need you anymore)
You make a good meal (We don't need you anymore)
Now, how does it feel to be shit out our ass
And thrown in the cold like a piece of trash?
[Post-Chorus]
We know how much you'd like to die
We joke about it on our coffee breaks
But we're paid to force you to have a nice day
In the wonderful world we made just for you
[Outro]
"Poor rats," we human rodents chuckle
"At least we get a dignified cremation"
Yet, at 6:00 tomorrow morning
It's time to get up and go to work
Ministry - New World Order
new thing from kiberspassk that i didn't catch.
oddly low fi but the video is hilarious.
i still live in the picture this song's lyrics paint
The horse is the last prime mover that sits above the industrial base. It eats cellulose we can't digest, turns marginal land into transport, walks where wheels won't, repairs itself, and β the part nothing since has managed β manufactures its own replacement from grass and a breeding pair. A tractor is more thermodynamically efficient and exists only inside a supply chain. The horse is less efficient and exists inside a field. So it's not efficiency per joule, it's power per unit of infrastructure, and on that measure everything built since 1910 is a regression.
the original, from england
clearly inspired by this classic, but from mongolia
this is the Who that matters. The Hu
WORD5 #772 5/6* (Hard Mode)
WORD5
more on the theme of classic electronic music:
this video was made 1996, in new york. you can see the WTC in it.
omg, i never heard this one. zomg.
from the olden days when the future was fun and interesting instead of terrifying as the present is today
WORD5 #770 X/6* (Hard Mode)
β¬π§π§β¬β¬
β¬π§π§β¬β¬
β¬π§π§β¬β¬
β¬π§π§π§β¬
πͺπ§π§β¬β¬
πͺπͺπ§π§β¬
WORD5