Revenge of Lisp (Part 1⁄2)

100% CPU: My Fault?

Under the Hood of Macros in Elixir

Issue #102

10/6/2021

A Byte of Coding Issue #102
Greetings
I swear I woke up this morning with something meaningful to write here, but I've since forgotten. Oh well. Issue is below, as usual.

Revenge of Lisp (Part 1⁄2)

Published: 30 September 2021
Tags: common lisp


Common Lisp (CL) has been around since 1982, and has since then developed into one of the top Lisp dialects. If you haven't tried it, I'd recommend giving it a go. If I can't convince, you maybe this article can by Renato Athaydes. Renato introduces the basics of Common Lisp, then goes into comparing performance of a phone encoding problem in CL, Rust, and Java.

Read Full Article

100% CPU: My Fault?

Published: 03 October 2021
Tags: java


"You broke something" isn't usually what you want to hear from a system admin. Unless maybe we're talking about a record. In this case, Joseph Mate is not talking about records; instead his article is about how and why a well-intended optimization led to a JDK8 bug that caused 100% CPU utilization.

Read Full Article

Under the Hood of Macros in Elixir

Published: 5 October 2021
Tags: elixir


Macros are usually recommended to be used sparingly and only when absolutely necessary, due to their complexity. Therefore, you should know exactly how they work! Jia Hao Woo extensive article covers the expansion phase of Elixir's compilation process, macro context, order of evaluation and caller context, variable scoping, and macro hygiene.

Read Full Article
Want to discuss the issue? 

If you want to discuss or comment on this issue, head on over to this page at A Byte of Coding.
Twitter
Website
Thanks for your Support! 

Thanks to sponsors and supporters like Євген Грицай, Scott Munro, zturak, pek, Emil Hannesbo, and Joe Hill this newsletter is provided to you for free. If you'd like to also show your support and buy me a monthly meal, 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: 2086

Opens: 1249

Clicks: 311

Link Clicks Clicks % Unique Clicks Unique Clicks %
Revenge of Lisp (Part 1⁄2) 114 36.66% 106 37.86
100% CPU: My Fault? 107 34.41% 94 33.57
Under the Hood of Macros in Elixir 50 16.08% 42 15.00
archives 18 5.79% 18 6.43
Today's Sponsor: Quastor Daily 16 5.14% 14 5.00
A Byte of Coding 3 0.96% 3 1.07

Previous

Back to Issues

Next