ruby.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
If you are interested in the Ruby programming language, come join us! Tell us about yourself when signing up. If you just want to join Mastodon, another server will be a better place for you.

Administered by:

Server stats:

1.1K
active users

#optimization

17 posts11 participants2 posts today
Hacker News<p>Journey to Optimize Cloudflare D1 Database Queries</p><p><a href="https://gist.github.com/rxliuli/be31cbded41ef7eac6ae0da9070c8ef8" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">gist.github.com/rxliuli/be31cb</span><span class="invisible">ded41ef7eac6ae0da9070c8ef8</span></a></p><p><a href="https://mastodon.social/tags/HackerNews" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>HackerNews</span></a> <a href="https://mastodon.social/tags/Journey" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Journey</span></a> <a href="https://mastodon.social/tags/Optimize" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Optimize</span></a> <a href="https://mastodon.social/tags/Cloudflare" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Cloudflare</span></a> <a href="https://mastodon.social/tags/D1" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>D1</span></a> <a href="https://mastodon.social/tags/Database" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Database</span></a> <a href="https://mastodon.social/tags/Queries" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Queries</span></a> <a href="https://mastodon.social/tags/Database" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Database</span></a> <a href="https://mastodon.social/tags/Optimization" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Optimization</span></a> <a href="https://mastodon.social/tags/Cloudflare" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Cloudflare</span></a> <a href="https://mastodon.social/tags/D1" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>D1</span></a> <a href="https://mastodon.social/tags/Tech" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Tech</span></a> <a href="https://mastodon.social/tags/Journey" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Journey</span></a></p>
Pito Salas<p>Linked is a great overview of how common CPU optimizations work. It teaches with a really good metaphor. Worth reading even if you are not optimizing to the point of counting cycles!<a href="https://salas.com/2025/03/25/hardware-aware-coding-cpu-architecture/#architecture" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">salas.com/2025/03/25/hardware-</span><span class="invisible">aware-coding-cpu-architecture/#architecture</span></a> <a href="https://ruby.social/tags/performance" class="mention hashtag" rel="tag">#<span>performance</span></a> <a href="https://ruby.social/tags/cpu" class="mention hashtag" rel="tag">#<span>cpu</span></a> <a href="https://ruby.social/tags/optimization" class="mention hashtag" rel="tag">#<span>optimization</span></a></p>
Pito Salas<p>Linked is a great overview of how common CPU optimizations work. It teaches with a really good metaphor. Worth reading even if you are not optimizing to the point of counting cycles!<a href="https://salas.com/2025/03/25/hardware-aware-coding-cpu-architecture/#architecture" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">salas.com/2025/03/25/hardware-</span><span class="invisible">aware-coding-cpu-architecture/#architecture</span></a> <a href="https://ruby.social/tags/performance" class="mention hashtag" rel="tag">#<span>performance</span></a> <a href="https://ruby.social/tags/cpu" class="mention hashtag" rel="tag">#<span>cpu</span></a> <a href="https://ruby.social/tags/optimization" class="mention hashtag" rel="tag">#<span>optimization</span></a></p>
Pito Salas<p>Linked is a great overview of how common CPU optimizations work. It teaches with a really good metaphor. Worth reading even if you are not optimizing to the point of counting cycles!<a href="https://salas.com/2025/03/25/hardware-aware-coding-cpu-architecture/#architecture" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">salas.com/2025/03/25/hardware-</span><span class="invisible">aware-coding-cpu-architecture/#architecture</span></a> <a href="https://ruby.social/tags/performance" class="mention hashtag" rel="tag">#<span>performance</span></a> <a href="https://ruby.social/tags/cpu" class="mention hashtag" rel="tag">#<span>cpu</span></a> <a href="https://ruby.social/tags/optimization" class="mention hashtag" rel="tag">#<span>optimization</span></a></p>
Jack William Bell<p>Lukas Atkinson asks an important question:</p><p>&gt; Is <a href="https://rustedneuron.com/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a> Code Sensitive to CPU Caching? <a href="https://lukasatkinson.de/2024/python-cpu-caching/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">lukasatkinson.de/2024/python-c</span><span class="invisible">pu-caching/</span></a></p><p>&gt; In this post, we'll conduct some basic experiments to answer this question, by accessing list element either in sequental order or in a random order.</p><p><a href="https://rustedneuron.com/tags/programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>programming</span></a> <a href="https://rustedneuron.com/tags/computers" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>computers</span></a> <a href="https://rustedneuron.com/tags/optimization" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>optimization</span></a></p>
Pito Salas<p>Linked is a great overview of how common CPU optimizations work. It teaches with a really good metaphor. Worth reading even if you are not optimizing to the point of counting cycles!<a href="https://salas.com/2025/03/25/hardware-aware-coding-cpu-architecture/#architecture" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">salas.com/2025/03/25/hardware-</span><span class="invisible">aware-coding-cpu-architecture/#architecture</span></a> <a href="https://ruby.social/tags/performance" class="mention hashtag" rel="tag">#<span>performance</span></a> <a href="https://ruby.social/tags/cpu" class="mention hashtag" rel="tag">#<span>cpu</span></a> <a href="https://ruby.social/tags/optimization" class="mention hashtag" rel="tag">#<span>optimization</span></a></p>
Pito Salas<p>Linked is a great overview of how common CPU optimizations work. It teaches with a really good metaphor. Worth reading even if you are not optimizing to the point of counting cycles!<a href="https://salas.com/2025/03/25/hardware-aware-coding-cpu-architecture/#architecture" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">salas.com/2025/03/25/hardware-</span><span class="invisible">aware-coding-cpu-architecture/#architecture</span></a> <a href="https://ruby.social/tags/performance" class="mention hashtag" rel="tag">#<span>performance</span></a> <a href="https://ruby.social/tags/cpu" class="mention hashtag" rel="tag">#<span>cpu</span></a> <a href="https://ruby.social/tags/optimization" class="mention hashtag" rel="tag">#<span>optimization</span></a></p>
Pito Salas<p>Linked is a great overview of how common CPU optimizations work. It teaches with a really good metaphor. Worth reading even if you are not optimizing to the point of counting cycles!<a href="https://salas.com/2025/03/25/hardware-aware-coding-cpu-architecture/#architecture" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">salas.com/2025/03/25/hardware-</span><span class="invisible">aware-coding-cpu-architecture/#architecture</span></a> <a href="https://ruby.social/tags/performance" class="mention hashtag" rel="tag">#<span>performance</span></a> <a href="https://ruby.social/tags/cpu" class="mention hashtag" rel="tag">#<span>cpu</span></a> <a href="https://ruby.social/tags/optimization" class="mention hashtag" rel="tag">#<span>optimization</span></a></p>
Pito Salas<p>Linked is a great overview of how common CPU optimizations work. It teaches with a really good metaphor. Worth reading even if you are not optimizing to the point of counting cycles!<a href="https://salas.com/2025/03/25/hardware-aware-coding-cpu-architecture/#architecture" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">salas.com/2025/03/25/hardware-</span><span class="invisible">aware-coding-cpu-architecture/#architecture</span></a> <a href="https://ruby.social/tags/performance" class="mention hashtag" rel="tag">#<span>performance</span></a> <a href="https://ruby.social/tags/cpu" class="mention hashtag" rel="tag">#<span>cpu</span></a> <a href="https://ruby.social/tags/optimization" class="mention hashtag" rel="tag">#<span>optimization</span></a></p>
Pito Salas<p>Linked is a great overview of how common CPU optimizations work. It teaches with a really good metaphor. Worth reading even if you are not optimizing to the point of counting cycles!<a href="https://salas.com/2025/03/25/hardware-aware-coding-cpu-architecture/#architecture" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">salas.com/2025/03/25/hardware-</span><span class="invisible">aware-coding-cpu-architecture/#architecture</span></a> <a href="https://ruby.social/tags/performance" class="mention hashtag" rel="tag">#<span>performance</span></a> <a href="https://ruby.social/tags/cpu" class="mention hashtag" rel="tag">#<span>cpu</span></a> <a href="https://ruby.social/tags/optimization" class="mention hashtag" rel="tag">#<span>optimization</span></a></p>
Pito Salas<p>Linked is a great overview of how common CPU optimizations work. It teaches with a really good metaphor. Worth reading even if you are not optimizing to the point of counting cycles!<a href="https://salas.com/2025/03/25/hardware-aware-coding-cpu-architecture/#architecture" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">salas.com/2025/03/25/hardware-</span><span class="invisible">aware-coding-cpu-architecture/#architecture</span></a> <a href="https://ruby.social/tags/performance" class="mention hashtag" rel="tag">#<span>performance</span></a> <a href="https://ruby.social/tags/cpu" class="mention hashtag" rel="tag">#<span>cpu</span></a> <a href="https://ruby.social/tags/optimization" class="mention hashtag" rel="tag">#<span>optimization</span></a></p>
Pito Salas<p>Linked is a great overview of how common CPU optimizations work. It teaches with a really good metaphor. Worth reading even if you are not optimizing to the point of counting cycles!<a href="https://salas.com/2025/03/25/hardware-aware-coding-cpu-architecture/#architecture" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">salas.com/2025/03/25/hardware-</span><span class="invisible">aware-coding-cpu-architecture/#architecture</span></a> <a href="https://ruby.social/tags/performance" class="mention hashtag" rel="tag">#<span>performance</span></a> <a href="https://ruby.social/tags/cpu" class="mention hashtag" rel="tag">#<span>cpu</span></a> <a href="https://ruby.social/tags/optimization" class="mention hashtag" rel="tag">#<span>optimization</span></a></p>
Pito Salas<p>Linked is a great overview of how common CPU optimizations work. It teaches with a really good metaphor. Worth reading even if you are not optimizing to the point of counting cycles!<a href="https://salas.com/2025/03/25/hardware-aware-coding-cpu-architecture/#architecture" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">salas.com/2025/03/25/hardware-</span><span class="invisible">aware-coding-cpu-architecture/#architecture</span></a> <a href="https://ruby.social/tags/performance" class="mention hashtag" rel="tag">#<span>performance</span></a> <a href="https://ruby.social/tags/cpu" class="mention hashtag" rel="tag">#<span>cpu</span></a> <a href="https://ruby.social/tags/optimization" class="mention hashtag" rel="tag">#<span>optimization</span></a></p>
Pito Salas<p>Linked is a great overview of how common CPU optimizations work. It teaches with a really good metaphor. Worth reading even if you are not optimizing to the point of counting cycles!<a href="https://salas.com/2025/03/25/hardware-aware-coding-cpu-architecture/#architecture" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">salas.com/2025/03/25/hardware-</span><span class="invisible">aware-coding-cpu-architecture/#architecture</span></a> <a href="https://ruby.social/tags/performance" class="mention hashtag" rel="tag">#<span>performance</span></a> <a href="https://ruby.social/tags/cpu" class="mention hashtag" rel="tag">#<span>cpu</span></a> <a href="https://ruby.social/tags/optimization" class="mention hashtag" rel="tag">#<span>optimization</span></a></p>
Juan_Irming_future_ancient.txt<p>One of my articles from 2022.</p><p><a href="https://irming.com/posts/the_mithril_border_beautiful_constraints/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">irming.com/posts/the_mithril_b</span><span class="invisible">order_beautiful_constraints/</span></a></p><p><a href="https://defcon.social/tags/creativity" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>creativity</span></a> <a href="https://defcon.social/tags/constraints" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>constraints</span></a> <a href="https://defcon.social/tags/retro" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>retro</span></a> <a href="https://defcon.social/tags/coding" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>coding</span></a> <a href="https://defcon.social/tags/music" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>music</span></a> <a href="https://defcon.social/tags/atari" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>atari</span></a> <a href="https://defcon.social/tags/demoscene" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>demoscene</span></a> <a href="https://defcon.social/tags/optimization" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>optimization</span></a> <a href="https://defcon.social/tags/performance" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>performance</span></a></p>
Pito Salas<p>Linked is a great overview of how common CPU optimizations work. It teaches with a really good metaphor. Worth reading even if you are not optimizing to the point of counting cycles!<a href="https://salas.com/2025/03/25/hardware-aware-coding-cpu-architecture/#architecture" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">salas.com/2025/03/25/hardware-</span><span class="invisible">aware-coding-cpu-architecture/#architecture</span></a> <a href="https://ruby.social/tags/performance" class="mention hashtag" rel="tag">#<span>performance</span></a> <a href="https://ruby.social/tags/cpu" class="mention hashtag" rel="tag">#<span>cpu</span></a> <a href="https://ruby.social/tags/optimization" class="mention hashtag" rel="tag">#<span>optimization</span></a></p>
Pito Salas<p>Linked is a great overview of how common CPU optimizations work. It teaches with a really good metaphor. Worth reading even if you are not optimizing to the point of counting cycles!<a href="https://salas.com/2025/03/25/hardware-aware-coding-cpu-architecture/#architecture" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">salas.com/2025/03/25/hardware-</span><span class="invisible">aware-coding-cpu-architecture/#architecture</span></a> <a href="https://ruby.social/tags/performance" class="mention hashtag" rel="tag">#<span>performance</span></a> <a href="https://ruby.social/tags/cpu" class="mention hashtag" rel="tag">#<span>cpu</span></a> <a href="https://ruby.social/tags/optimization" class="mention hashtag" rel="tag">#<span>optimization</span></a></p>
Pito Salas<p>Linked is a great overview of how common CPU optimizations work. It teaches with a really good metaphor. Worth reading even if you are not optimizing to the point of counting cycles!<a href="https://salas.com/2025/03/25/hardware-aware-coding-cpu-architecture/#architecture" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">salas.com/2025/03/25/hardware-</span><span class="invisible">aware-coding-cpu-architecture/#architecture</span></a> <a href="https://ruby.social/tags/performance" class="mention hashtag" rel="tag">#<span>performance</span></a> <a href="https://ruby.social/tags/cpu" class="mention hashtag" rel="tag">#<span>cpu</span></a> <a href="https://ruby.social/tags/optimization" class="mention hashtag" rel="tag">#<span>optimization</span></a></p>
Hacker News<p>Span&lt;T&gt;.SequenceEquals is faster than memcmp</p><p><a href="https://richardcocks.github.io/2025-03-30-FasterThanMemCmp.html" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">richardcocks.github.io/2025-03</span><span class="invisible">-30-FasterThanMemCmp.html</span></a></p><p><a href="https://mastodon.social/tags/HackerNews" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>HackerNews</span></a> <a href="https://mastodon.social/tags/Span" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Span</span></a> <a href="https://mastodon.social/tags/SequenceEquals" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SequenceEquals</span></a> <a href="https://mastodon.social/tags/memcmp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>memcmp</span></a> <a href="https://mastodon.social/tags/performance" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>performance</span></a> <a href="https://mastodon.social/tags/optimization" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>optimization</span></a> <a href="https://mastodon.social/tags/tech" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>tech</span></a> <a href="https://mastodon.social/tags/news" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>news</span></a></p>
Hacker News<p>Calculate Throughput with LLVM's Scheduling Model</p><p><a href="https://myhsu.xyz/llvm-sched-interval-throughput/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">myhsu.xyz/llvm-sched-interval-</span><span class="invisible">throughput/</span></a></p><p><a href="https://mastodon.social/tags/HackerNews" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>HackerNews</span></a> <a href="https://mastodon.social/tags/Calculate" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Calculate</span></a> <a href="https://mastodon.social/tags/Throughput" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Throughput</span></a> <a href="https://mastodon.social/tags/with" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>with</span></a> <a href="https://mastodon.social/tags/Scheduling" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Scheduling</span></a> <a href="https://mastodon.social/tags/Model" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Model</span></a> <a href="https://mastodon.social/tags/LLVM" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>LLVM</span></a> <a href="https://mastodon.social/tags/Throughput" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Throughput</span></a> <a href="https://mastodon.social/tags/Scheduling" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Scheduling</span></a> <a href="https://mastodon.social/tags/Model" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Model</span></a> <a href="https://mastodon.social/tags/Performance" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Performance</span></a> <a href="https://mastodon.social/tags/Optimization" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Optimization</span></a> <a href="https://mastodon.social/tags/Compiler" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Compiler</span></a> <a href="https://mastodon.social/tags/Technology" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Technology</span></a></p>