Resource efficient Thread Pools with Zig

Introducing Coalton: How to Have Our (Typed) Cake and (Safely) Eat It Too, in Common Lisp

Ray casting in 2D game engines

Issue #88

9/13/2021

A Byte of Coding Issue #88
Hello hello
I hope you all had another lovely weekend. The temperature has dropped and the leaves are beginning to turn, signalling the arrival of fall. The smell of damp soil still hangs heavy in the air, but will soon be replaced by winter's bite and burning wood. Ahhh, not my favorite season, but great nonetheless. Anyway here's the first issue of the week!

Resource efficient Thread Pools with Zig

Published: 12 September 2021
Tags: zig


A thread pool (or replicated workers or worker-crew model) "is just a group of threads that work can be dispatched to".The advantages of the pool over single threads is you save on the startup/closing costs of individual threads. In this informative article, Protty documents their nontrivial journey of implementing a thread pool for Zig's async I/O driver.

Read Full Article

Introducing Coalton: How to Have Our (Typed) Cake and (Safely) Eat It Too, in Common Lisp

Published: 10 September 2021
Tags: coalton, common lisp


Quantum computing is currently in the very early stages of development, with exciting news coming out every couple of months regarding one group achieving quantum supremacy over another. But that's mostly hardware related. What's the current state of the software? Robert Smith, Elias Lawson-Fox, and Cole Scott authored this article to introduce Coalton, "a statically typed functional programming language built with Common Lisp".

Read Full Article

Ray casting in 2D game engines

Published: 12 September 2021
Tags: math


Ray tracing is one of the goto projects for beginners learning programming or advanced programmers learning another language, because it's visually entertaining and full of fun challenges. Sebastian Szczepański's aesthetically beautiful article (check out the interactive demos) dives deeply into the maths behind 2D ray tracing, pairing dense blocks of equations with visually pleasing interactions.

Read Full Article
Twitter
Website
Thanks for your Support! 

Thanks to supporters like Євген Грицай, Scott Munro, zturak, pek, Emil Hannesbo, and Joe Hill this newsletter is provided to you for (ad) free. If you'd like to also show your support and help out, you can donate on the Patreon page. It's not necessary, but it lets me know that I'm doing a good job and that you're finding value in the content.
Donate Here

Stats (updated daily)

Sent: 1506

Opens: 893

Clicks: 211

Link Clicks Clicks % Unique Clicks Unique Clicks %
Ray casting in 2D game engines 135 63.98% 112 62.57
Resource efficient Thread Pools with Zig 41 19.43% 36 20.11
Introducing Coalton: How to Have Our (Typed) Cake and (Safely) Eat It Too, in Common Lisp 33 15.64% 29 16.20
Today's Sponsor: Retool 2 0.95% 2 1.12

Previous

Back to Issues

Next