News for hackers. Stuff that matters.
Re:NASM Assembly Language Tutorials by sigjuice on Monday January 03, 2022 @06:22PM (#29788529)
Portions of a program or library might be written in assembly for performance. This list should give an idea of the type of software that does this

  $ cd /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula
  $ grep depends_on.*nasm * | sed 's,:.*,,' | xargs grep desc
  dav1d.rb:  desc "AV1 decoder targeted to be small and fast"
  dssim.rb:  desc "RGBA Structural Similarity Rust implementation"
  ffmpeg.rb:  desc "Play, record, convert, and stream audio and video"
  handbrake.rb:  desc "Open-source video transcoder available for Linux, Mac, and Windows"
  isa-l.rb:  desc "Intelligent Storage Acceleration Library"
  jpeg-turbo.rb:  desc "JPEG image codec that aids compression and decompression"
  libass.rb:  desc "Subtitle renderer for the ASS/SSA subtitle format"
  libavif.rb:  desc "Library for encoding and decoding .avif files"
  libvmaf.rb:  desc "Perceptual video quality assessment based on multi-method fusion"
  lrzip.rb:  desc "Compression program with a very high compression ratio"
  mozjpeg.rb:  desc "Improved JPEG encoder"
  mvtools.rb:  desc "Filters for motion estimation and compensation"
  openh264.rb:  desc "H.264 codec from Cisco"
  openj9.rb:  desc "High performance, scalable, Java virtual machine"
  pce.rb:  desc "PC emulator"
  ppsspp.rb:  desc "PlayStation Portable emulator"
  rav1e.rb:  desc "Fastest and safest AV1 video encoder"
  vapoursynth.rb:  desc "Video processing framework with simplicity in mind"
  x264.rb:  desc "H.264/AVC encoder"
  x265.rb:  desc "H.265/HEVC encoder
Re:NASM Assembly Language Tutorials by the_only_law on Tuesday January 04, 2022 @10:55AM (#29796146)
Interesting how many of these are related to video encoding. While I can understand wanting to micro optimize performance for this sort of work when done in the CPU, I would think that if you truly wanted maximum performance, you’d offload this to something like a GPU or other hardware offering this feature.

Emulators make sense I suppose.

I’ve only ever seen modern assembly in the wild in small parts, in say a kernel or something like coreboot. I’ve been told by graphics programmers and game devs that’s its not uncommon to hand roll assembly code in those domains, which was suprising to me

Re:NASM Assembly Language Tutorials by totorovirus on Monday January 03, 2022 @10:16PM (#29790862)
I am truly impressed by your command line skills. Awesome