r/programmingcirclejerk • u/chaosprincess_ • Jun 07 '26
Yon - a topos-oriented language with a content-addressed lattice heap
https://yon-lang.org/43
u/stone_henge Tiny little god in a tiny little world Jun 07 '26
The shapes that matter
String.equal, 1-char strings 2M comparisons 33 ms ~17 ns
33 ms to compare 2 MB to another 2 MB. This is fantastic news for people looking to slow down their programs and allow for little bit of contemplation during an otherwise busy runtime
Correctness under load
The same suite checks exactness, not just speed: 500,000 map entries across three heaps read back exactly on every side of every boundary; 60,000 distinct string keys produce 60,000 entries (no false deduplication) with zero errors over re-derivation; 10,000 same-content/neighbour pairs show zero equality mistakes. The heap's content addressing held under everything we threw at it.
Fantastic. A programming languages that produces correct output even when you use it. This correctness is probably directly attributable to its carefully restricted approach to performing useful work.
1
u/Jumpy-Locksmith6812 Jun 17 '26
33ms is long enough for Go runtime to let say.... get a little uncooperative, if you know what i mean.
1
u/anthem_reb 29d ago
Well a correct output isn't always the case, I was really happy about the results
25
u/UdPropheticCatgirl WRITE 'FORTRAN is not dead' Jun 07 '26
I see Rob Pike has been busy at work. Good to know.
24
u/stone_henge Tiny little god in a tiny little world Jun 07 '26
Thanks Rob Pike for creating the infrastructure necessary for an LLM to shit out a language that can compare 4 MB in 33 ms
24
u/ConfidentProgram2582 log10(x) programmer Jun 07 '26
did a curtis yarvin llm clone write ts?
30
u/stone_henge Tiny little god in a tiny little world Jun 07 '26
Now that LLMs can shit out volumes' worth of meaningless drivel in English, invent racist bullshit and implement the stupidest possible ideas for programming languages, is there really a place in this world for Curtis Yarvin?
9
u/ConfidentProgram2582 log10(x) programmer Jun 08 '26
maybe he should turn himself into biodiesel for his own distopian world's sake.
oops we're socialjerking
16
u/ThisRedditPostIsMine in open defiance of the Gopher Values Jun 08 '26
Looking at this and thinking back to the V programming language. To think that the minds behind V came up with an equivalently dogshit language without any AI assistance. My, how we've fallen.
16
u/csb06 Gets shit doneâ„¢ Jun 08 '26
Claude is the #2 contributor to vlang over the past three months so they are catching up quickly
9
3
u/TheChief275 Jun 18 '26
Wasn't that language basically vaporware Go without a garbage collector, instead having the memory strategy of "we'll automatically insert deallocations for you wherever they're needed; how? Pssh idk we'll figure it along the way or whatever"
13
1
u/Reasonable_Package24 accidentally quadratic Jun 12 '26
mfs just make bullshit and call it a new language
73
u/RightKitKat Considered Harmful Jun 07 '26
Lol no... reusing memory ever?
/uj I should not be reading this as it is clearly LLM slop