The Array Cast cover image

Henry Rich Reveals J with Threads J9.4

The Array Cast

00:00

Using the Locking Primitives in Tasks

The result of the result of every verb is not referenced unless it's assigned to something. All further used in the expression? Well, it stays at ref count one unless there's an sentence. So if it goes into a fork, I can't modify it on the right side, but I can modifying it on the left side if I know that. If two threads wanted to write to the same global array, that's no problem. But it's a performance problem. And J has done that for a long time.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app