Hacker GitHub

← All repos

herumi/xbyak

View on GitHub ↗ ★ 2,288 C

A JIT assembler for x86/x64 architectures supporting the latest instruction set extensions such as AVX10.2 and ACE

13 mentions on Hacker News by 9 people: 2 stories, 11 comments · first 2016-12-03 · latest 2025-08-21

Mentions per year 13 mentions · busiest year 2019 (4)
20082026
  1. …assembling machine code at runtime (useful for JIT). It's used by some of the pytorch back ends. https://github.com/herumi/xbyak Example use: https://github.com/oneapi-src/oneDNN/blob/main/src/cpu/aarch... I learned about these through a…
  2. …are lightweight libraries like xbyak or asmjit, where one can implement optimal jit solution. See https://github.com/herumi/xbyak/blob/80477f635345e8f13efc512... as a starting point.
  3. …at writing JIT code (using Xbyak[0]). So as Richard Feynman might have said, it's great fun! [0] https://github.com/herumi/xbyak
    comment by DoofusOfDeath · 2021-01-06 · in Jim Keller moves to AI chip startup
  4. …[1] https://en.wikipedia.org/wiki/Comparison_of_executable_file_... [2] https://github.com/herumi/xbyak
    comment by DoofusOfDeath · 2020-09-30 · in It Is Never a Compiler Bug Until It Is
  5. An Intel engineer sends PR https://github.com/herumi/xbyak/pull/95
    comment by fomine3 · 2020-07-01 · in The x86 Advanced Matrix Extension
  6. Is there anything like https://github.com/herumi/xbyak on the Rust side? I like this approach a lot for non-tivial high performance work since it lets you tweak your assembly for particular hardware at runtime.
  7. …perf is particularly impressive. It does, however, extensively use JIT kernel generation through https://github.com/herumi/xbyak depending on the supported features for a particular chip (search for "mayiuse()" in the code to see…
  8. …be pretty cool. Right now you have to drop down to non-portable, assembly-style JIT like Xbyak ( https://github.com/herumi/xbyak ) or VIXL on ARM ( https://community.arm.com/developer/ip-products/processors/b... ). It might not be obvious…
  9. Very nice, starred. There's also xbyak, which a number of projects use: https://github.com/herumi/xbyak . I just wish something like this was available for ARM. There's xtaak (ARM port of xbyak), but it's woefully incomplete.
  10. …easy to read syntax: https://github.com/numforge/laser/blob/e898f027/laser/photon... [1]: Xbyak - https://github.com/herumi/xbyak/blob/v5.751/gen/gen_avx512.c... [2]: NNPack + PeachPy - https://github.com/Maratyszcza/NNPACK/blob/af40ea7d/sr…
  11. …evaluating JIT frameworks including DynASM. The one I ended up using is something called Xbyak ( https://github.com/herumi/xbyak ) which I think is a bit of a hidden gem. Unlike DynASM, it doesn't require a preprocessing pass, is better…
    comment by abelsson · 2016-12-03 · in DynASM