Revenge of Lisp (Part 1⁄2)

100% CPU: My Fault?

Under the Hood of Macros in Elixir

Issue #102


A Byte of Coding Issue #102
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.
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

This email was sent to <<Email Address>>
why did I get this?    unsubscribe from this list    update subscription preferences
A Byte of Coding · 750 Fowler St NW · Atlanta, GA 30332-1914 · USA

Stats (updated daily)

Sent: 2086

Opens: 822

Clicks: 319

Link Clicks Clicks % Unique Clicks Unique Clicks %
Revenge of Lisp (Part 1⁄2) 117 41.94% 108 43.55
100% CPU: My Fault? 108 38.71% 95 38.31
Under the Hood of Macros in Elixir 54 19.35% 45 18.15


Back to Issues