Readit News logoReadit News
brianolson commented on Green Tea Garbage Collector   github.com/golang/go/issu... · Posted by u/cirwin
brianolson · 3 months ago
"In select GC-heavy microbenchmarks ... we observed anywhere from a 10–50% reduction in GC CPU costs"

- Yay!

"The Go compiler benchmarks appear to inconsistently show a very slight regression (0.5%)"

- Boo

"Green Tea is available as an experiment at tip-of-tree and is planned as to be available as an opt-in experiment in Go 1.25"

I definitely know some application code that spends 30% of CPU time in GC that needs to try this.

brianolson commented on Teal – A statically-typed dialect of Lua   teal-language.org/... · Posted by u/generichuman
wslh · 4 months ago
There is another TEAL (uppercase) programming language: <https://developer.algorand.org/docs/get-details/dapps/avm/te...>
brianolson · 4 months ago
I designed and named the Transaction Execution Approval Language for the Algorand blockchain in 2020. I'm partial to the original, but as it grew it got rebranded to be the "Algorand Virtual Machine". Glad someone still remembers it as TEAL!
brianolson commented on A $20k American-made electric pickup with no paint, no stereo, no screen   theverge.com/electric-car... · Posted by u/kwindla
brianolson · 4 months ago
Great concept. Bring back real small trucks. My grandpa ran a farm with a truck this size.

Disappointed in towing capacity of 1000 pounds ish. I can already do 1700lb on my hybrid rav4

brianolson commented on Faster interpreters in Go: Catching up with C++   planetscale.com/blog/fast... · Posted by u/ksec
brianolson · 5 months ago
I built a 'slice of function pointers' bytecode interpreter in Go in 2019 for the Algorand VM (Blockchain smart contract stuff) and before that the same pattern in C for a toy JVM around 2005.

It's a good pattern!

The Algorand VM was focused on low overhead running thousands of tiny programs per second. Version 1 had no loops and a 1000 instruction limit.

The JVM was focused on low memory, towards possible embedded microcontroller use.

So, 'array of function pointers' is nothing new, but it is a good pattern.

brianolson commented on When imperfect systems are good: Bluesky's lossy timelines   jazco.dev/2025/02/19/impe... · Posted by u/cyndunlop
jadbox · 6 months ago
So, let's say I follow 4k people in the example and have a 50% drop rate. It seems a bit weird that if all (4k - 1) accounts I follow end up posting nothing in a day, that I STILL have a 50% chance that I won't see the 1 account that posts in a day. It seems to me that the algorithm should consider my feed's age (or the post freshness of my followers). Am I overthinking?
brianolson · 6 months ago
I think the 'law of large numbers' says that it's very unlikely for you to follow 4k and have _none_ of them posting. You could artificially construct a counter-example by finding 4k open but silent accounts, but that's silly.

The other workaround is: follow everyone. Write some code to get what you want out of the jetstream event feed. https://docs.bsky.app/blog/jetstream

brianolson commented on Bluesky Is Not Decentralized   beige.party/@possibledog/... · Posted by u/pabs3
rsolva · 10 months ago
The OP does not take issue with the algorithm part, but the claim of decentralization. I'm currently running my own instance of an ActivityPub server (GoToSocial), just for me, and it works like a charm. I would not know how to do the same with BlueSky, and I have tried to understand how.
brianolson · 10 months ago
If you want to dedicate a VM to it, bsky Personal Data Server has a pretty easy install

https://github.com/bluesky-social/pds

brianolson commented on Bluesky Is Not Decentralized   beige.party/@possibledog/... · Posted by u/pabs3
colesantiago · 10 months ago
Unfortunately close to nobody on or has moved to Bluesky cares about it being decentralized, they just want another Twitter that just works.

Most of the people on Bluesky that have moved are artists, academics, writers and creative folks that don't care about tech.

If they did care about decentralization they would be all going to Mastodon right now, but there isn't any traction there in the millions.

brianolson · 10 months ago
95% of end users don't care; but Bluesky has the right bits built in anyway. There's a grand central aggregator of all 13 million accounts, but it's not _special_, someone else could run one (several hobbiests are processing this level of data). Migration works* (and works better than Mastodon, all your history and network move even better than a masto server move) (*okay, it's a weird command line tool at the moment, but as soon as someone cares that'll get cleaned up). You can run your own Personal Data Server and hook it in to the bsky network and then everyone can see your posts and interact with them. It's newer, only a couple years old, but all the right parts are headed in the right direction.
brianolson commented on ATProto for distributed system engineers   atproto.com/articles/atpr... · Posted by u/danabramov
omnicarinha · a year ago
One thing I still didn't quite grasp with BlueSky yet is if it's a decentralized platform or not... ATProto seems technically capable of supporting decentralized platforms.
brianolson · a year ago
atproto PDSes are like blog servers with RSS (but better) and bsky.app is the prevailing RSS reader. It's an open protocol because anyone can host a source and anyone can run a different reader.
brianolson commented on ATProto for distributed system engineers   atproto.com/articles/atpr... · Posted by u/danabramov
__loam · a year ago
There's a lot fewer resources for AT than ActivityPub. Last time I checked which was a few months ago, the official documentation for AT was pretty sparse if you're interested in building to a spec. You'll find a lot more in the ActivityPub specs, plus a lot of open implementations and helpful guides.
brianolson · a year ago
OP is a link to the atproto site because it got a major new revision within the last week

u/brianolson

KarmaCake day650October 17, 2013View Original