Skip to content
HomeVideosBooks
AllTopicsTrends
BlogsPodcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    Computer ArithmeticSwartzlander, Earl E., Jr.

    Computer Arithmetic

    Swartzlander, Earl E., Jr. · 2015

    Computer ScienceProgramming
    Open LibraryAmazon
    Stats for nerds
    3recommend
    4mentions
    4people
    2017–2026years
    75% recommend25% neutral

    Mentions per year

    2017201820192020202120222023202420252026

    What Hacker News says

    1. TommyrexxApr 2026
      I am actively developing an arbitrary-precision arithmetic library in C with the aim to offer a nearly-as-fast alternative to GNU's LibGMP, but under the MIT License. The solo effort has been a bit tedious as a full-time college student, but there's slow and steady progress.

      GitHub Link: https://github.com/EpsilonNought117/libapac

      I have inspired my API and naming scheme from GMP's public API, but the internals are (to the best of my knowledge) completely my own. The library uses a runtime dispatch to micro-arch specific versions of assembly functions on x86-64 CPUs currently for Unix-like and Windows OS, with future support planned on ARM64 on both as well. I have handwritten all the assembly routines (probably obvious by the writing style) using MASM and GAS assemblers, with a few SIMD based routines written with compiler intrinsic functions.

      The performance (so far) seems to be on par with GMP for small to medium-sized Big Integers (performance graphs in README). I have implemented a few algorithms such as the Karatsuba Algorithm and Divide-&-Conquer division (Balanced and Unbalanced) with more algorithms on the way as needed. The books "Modern Computer Arithmetic" by Brent and Zimmerman and "Hacker's Delight" by Henry Warren Jr have really helped a lot.

      Still largely WIP.

      Interested in any feedback and/or criticisms. Happy to answer any questions.

      thread
    2. mindcrimeAug 2025
      Maybe something in Hacker's Delight[1]? Or Swartzlander's Computer Arithmetic[2] series? There's probably also some coverage somewhere in the Knuth's The Art of Computer Programming, but no idea which volume off-hand.

      And if you really want to go down a rabbit hole, there's the Computer Arithmetic[3] conference[4] proceedings[5].

      [1]: https://en.wikipedia.org/wiki/Hacker%27s_Delight

      [2]: https://www.amazon.com/Computer-Arithmetic-Volumes-Earl-Swar...

      [3]: https://en.wikipedia.org/wiki/Computer_arithmetic

      [4]: https://en.wikipedia.org/wiki/ARITH_Symposium_on_Computer_Ar...

      [5]: https://www.acsel-lab.com/arithmetic/

      thread
    3. DrBurritoNov 2023
      my preferred reference for Computer Arithmetic is the book by Behrooz Parhami. Goes from the beginning into great detail and it is very easy to read. It was my go-to reference when writing floating points units in VHDL.

      https://web.ece.ucsb.edu/~parhami/text_comp_arit.htm

      thread
    4. espeedFeb 2017
      Are these the Neuromorphic chips [1] Jeff Hawkins of Numenta [2] has been talking about?

      [1] Neuromorphic Chips https://www.technologyreview.com/s/526506/neuromorphic-chips...

      [2] Numenta papers/videos http://numenta.com/papers-videos-and-more/

      It would also be good to see a major chip manufacturer or cloud provider that makes its own chips (Google/IBM) get serious about graph processing chips [3,4] and moving beyond floating point [5].

      [3] Novel Graph Processor Architecture https://www.ll.mit.edu/publications/journal/pdf/vol20_no1/20...

      [4] Novel Graph Processor Architecture, Prototype System, and Results https://arxiv.org/pdf/1607.06541.pdf

      [5] Stanford Seminar: Beyond Floating Point: Next Generation Computer Arithmetic https://www.youtube.com/watch?v=aP0Y1uAA-2Y

      thread

    Related

    Cover of The art of computer programming
    2007–2026

    The art of computer programming

    Donald Knuth
    336 recommend · 1,799
    Cover of Introduction to Algorithms
    2007–2026

    Introduction to Algorithms

    Thomas H. Cormen
    274 recommend · 880
    Cover of Mathematics for Computer Science
    2009–2025

    Mathematics for Computer Science

    Eric Lehman
    37 recommend · 70
    Cover of The algorithm design manual
    2007–2026

    The algorithm design manual

    Steven S. Skiena
    195 recommend · 321
    Cover of Algorithms
    2007–2026

    Algorithms

    Robert Sedgewick
    50 recommend · 100
    Cover of Handbook of Floating-Point Arithmetic
    2015–2026

    Handbook of Floating-Point Arithmetic

    Jean-Michel Muller
    7 recommend · 11
    Cover of Computer systems
    2009–2026

    Computer systems

    Randal Bryant
    67 recommend · 110
    Cover of Algorithms in C++
    2009–2025

    Algorithms in C++

    Robert Sedgewick
    27 recommend · 45