The mother lode of #BitTwiddling tips (apart from the #book “Hacker’s Delight”, by Henry S. Warren Jr, and “HAKMEM” by the MIT hackers):
“Bit Twiddling Hacks”, Sean Eron Anderson (https://graphics.stanford.edu/~seander/bithacks.html).
The mother lode of #BitTwiddling tips (apart from the #book “Hacker’s Delight”, by Henry S. Warren Jr, and “HAKMEM” by the MIT hackers):
“Bit Twiddling Hacks”, Sean Eron Anderson (https://graphics.stanford.edu/~seander/bithacks.html).
This 👇🏽 is good 👌🏽:
“A Leap Year Check In Three Instructions”, Falk Hüffner (https://hueffner.de/falk/blog/a-leap-year-check-in-three-instructions.html).
Via HN: https://news.ycombinator.com/item?id=43999748
On Lobsters: https://lobste.rs/s/ybjgex/leap_year_check_three_instructions
#Optimization #Assembly #Compilers #GCC #Math #LeapYear #GregorianCalendar #BitTwiddling #Speed
http://compilers.iecc.com/comparch/article/25-05-012 Re: Paper: PR2: Peephole Raw Pointer Rewriting with LLMs for Translating C to Safer Rust #compilers
http://compilers.iecc.com/comparch/article/25-05-011 Re: Paper: PR2: Peephole Raw Pointer Rewriting with LLMs for Translating C to Safer Rust #compilers
Evolution of Rust compiler errors
https://fed.brid.gy/r/https://kobzol.github.io/rust/rustc/2025/05/16/evolution-of-rustc-errors.html
Evolution of Rust compiler errors https://lobste.rs/s/ipfzdh #compilers #rust
https://kobzol.github.io/rust/rustc/2025/05/16/evolution-of-rustc-errors.html
A simple LLVM backend tutorial
https://github.com/optimisan/llvm-mips-backend
Discussions: https://discu.eu/q/https://github.com/optimisan/llvm-mips-backend
http://compilers.iecc.com/comparch/article/25-05-009 Re: Paper: PR2: Peephole Raw Pointer Rewriting with LLMs for Translating C to Safer Rust #compilers
http://compilers.iecc.com/comparch/article/25-05-010 Re: Paper: PR2: Peephole Raw Pointer Rewriting with LLMs for Translating C to Safer Rust #compilers
A leap year check in three instructions https://lobste.rs/s/ybjgex #c #compilers #formalmethods
https://hueffner.de/falk/blog/a-leap-year-check-in-three-instructions.html
http://compilers.iecc.com/comparch/article/25-05-008 Re: Paper: PR2: Peephole Raw Pointer Rewriting with LLMs for Translating C to Safer Rust #compilers
This post is all about speculative compilation, or just speculation for short, in the context of the JavaScriptCore virtual machine.
ZJIT has been merged into Ruby
https://railsatscale.com/2025-05-14-merge-zjit/
Discussions: https://discu.eu/q/https://railsatscale.com/2025-05-14-merge-zjit/
#compilers #compsci #programming #programminglanguages #ruby
One thing I'm learning is that writing detailed unit tests for a parser is incredibly important but also a huge hassle and a massive pain, and even less the fun part than with other types programs I've written
Now is there a bug or did I mess up the lovingly crafted vector of 60 tokens?
http://compilers.iecc.com/comparch/article/25-05-007 Re: Paper: PR2: Peephole Raw Pointer Rewriting with LLMs for Translating C to Safer Rust #compilers
http://compilers.iecc.com/comparch/article/25-05-006 Re: Paper: PR2: Peephole Raw Pointer Rewriting with LLMs for Translating C to Safer Rust #compilers
ZJIT has been merged into Ruby https://lobste.rs/s/w9eg2a #compilers #ruby
https://railsatscale.com/2025-05-14-merge-zjit/
Whatay wonderful #list for anyone interested in #PLDI or #compilers 👌🏽:
“Writing That Changed How I Think About PL”, Max Bernstein (https://bernsteinbear.com/blog/pl-writing/).
Via Lobsters: https://lobste.rs/s/v2zmv3/writing_changed_how_i_think_about_pl
http://compilers.iecc.com/comparch/article/25-05-005 Re: Paper: PR2: Peephole Raw Pointer Rewriting with LLMs for Translating C to Safer Rust #compilers
Well my work computer has to run the antivirus all day (I am forced to use Windows) so now my parser can parse conditionals. Got it in one, too! But I don't like how many nested if statements there are, might need a light refactor.