Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
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
    H

    Hacks of Life

    hacksoflife.blogspot.com · Personal blog · on HN since 2010

    Hacks of Life is a game and graphics developer's blog on OpenGL, GPUs, performance, compilers, and software design practices.

    Visit blogHN submissions
    ProgrammingSystems & PerformanceGames
    What HN says

    Commenters recommend it for practical OpenGL insights and link posts on LuaJIT integration and why inheritance of implementation is bad.

    Stats for nerds
    22HN people shared it
    27linked in comments
    574story points
    Feb 2025last shared
    2010people per year2025

    Top posts on HN

    1. 1
      Solve Less General Problems
      2 people · 196 points · first shared 2018 · 82 comments on HN
    2. 2
      The Four Horsemen of the Performance Apocalypse
      1 person · 98 points · first shared 2015 · 17 comments on HN
    3. 3
      When Not to Serialize
      1 person · 69 points · first shared 2018 · 19 comments on HN
    4. 4
      The Dangers of Super Smart Compilers
      1 person · 55 points · first shared 2015 · 52 comments on HN
    5. 5
      Source Control for Art Assets Must Exist
      1 person · 41 points · first shared 2015 · 36 comments on HN
    6. 6
      Making SoA Tollerable
      1 person · 35 points · first shared 2021 · 8 comments on HN
    7. 7
      Underestanding PowerVR GPUs via Metal
      1 person · 28 points · first shared 2015 · Discussion on HN
    8. 8
      What OOP Isn't
      1 person · 20 points · first shared 2010 · 18 comments on HN
    9. 9
      Solve Less General Problems
      1 person · 4 points · first shared 2018 · Discussion on HN
    10. 10
      High Performance Code Is Designed, Not Optimized
      1 person · 3 points · first shared 2015 · Discussion on HN

    What HN people wrote when they linked it

    • sillysaurus3May 2017

      I hooked up LuaJIT to emacs for fun. Emacs recently released a new module system where you can build DLLs that are loaded dynamically: http://diobla.info/blog-archive/modules-tut.html

      Getting LuaJIT to work on 64-bit OS X required building a custom emacs with linker flags -pagezero_size 10000 -image_base 100000000. This is unfortunate since obviously users will not take the time to build an emacs with custom linker flags. But more generally, this is an issue any time you want to embed LuaJIT in an application plugin rather than the application itself.

      There's a bunch of scattered info about the issue:

      https://gist.github.com/nddrylliog/8722197

      http://hacksoflife.blogspot.fr/2012/12/integrating-luajit-with-x-plane-64-bit.html

      https://en.blog.nic.cz/2015/08/12/embedding-luajit-in-30-minutes-or-so/

      http://luajit.org/install.html

      I was hoping there might be a way of sidestepping the issue somehow. If anyone has any ideas, it would be appreciated. LuaJIT has some nice speed improvements compared to standard Lua, but more importantly it has a pretty amazing FFI library. The C declaration parser in particular is valuable.

      (Yes, I know it's pointless to hook LuaJIT to emacs. It's mostly a "just because" project.)

    • flohofwoeApr 2015

      Unfortunately dynamic buffer updates is one of the tricky parts to do right in OpenGL since you need to assume what the driver does under the hood, and the best technique depends on what GL version you're targeting, and what GL extensions are available.

      I found this blog post very useful: http://hacksoflife.blogspot.de/2012/04/beyond-glmapbuffer.html

      If you can afford to target bleeding edge OpenGL, the AZDO slides contain the current state of the art (there's a whole section about dynamic buffer updates somewhere in there): http://www.slideshare.net/CassEveritt/approaching-zero-driver-overhead?related=1

      On WebGL, the established tricks like buffer orphaning don't work, and direct mapping isn't available. It seems best to simply do a bufferSubData and not care about double buffering etc (https://groups.google.com/forum/#!searchin/webgl-dev-list/floooh/webgl-dev-list/vMNXSNRAg8M/lu1NkJ22J_YJ)

    • smhxJun 2014

      my biggest annoyance with LuaJIT is the lack of 64-bit addressing, and there's no easy fix for this. Mike Pall said he'd fix it in LuaJIT 3.0 (with an overhaul of the GC), whenever that'll be.

      http://hacksoflife.blogspot.com/2012/12/integrating-luajit-with-x-plane-64-bit.html

      Edit: to clarify, this does not mean torch cant use more than 2GB, but native lua allocations cant be more than 2GB, so ffi-based or C based allocations (which is how torch tensors are allocated) have no such limits.

    • gnubardtDec 2010

      he did link to another post he'd written elaborating on the subject

      http://hacksoflife.blogspot.com/2007/01/inheritance-of-implementation-is-evil.html

    • krackersFeb 2025

      The developer's blog is really cool, has lots of neat practical opengl insights and stuff https://hacksoflife.blogspot.com/

    • thelinkedSep 2013

      Here are some blogs.
      http://hacksoflife.blogspot.com/
      http://fgiesen.wordpress.com/
      http://www.g-truc.net/

    Related

    Hack the Systemhackthesystem.com19 people

    How I Hired Someone On Craigslist And Quadrupled My Productivity

    Hack the System
    Personal · last shared 2022
    Aras Pranckevičiusaras-p.info79 people

    I accidentally Blender VSE

    Aras Pranckevičius
    Personal · last shared 2026
    Bitsquid Blogbitsquid.blogspot.com25 people

    Allocation Adventures: The Buddy Allocator

    Bitsquid Blog
    Company · last shared 2025
    Rust Blogblog.rust-lang.org533 people

    Announcing Rust 1.0

    Rust Blog
    Company · last shared 2026
    GNOME Blogsblogs.gnome.org490 people

    AirPods fast connect security vulnerability

    GNOME Blogs
    Company · last shared 2026
    #AltDevBlogADayaltdevblogaday.com163 people

    John Carmack on the importance of Static Code Analysis

    #AltDevBlogADay
    Publication · last shared 2023
    Dan Luudanluu.com1.2k people

    We only hire the trendiest

    Dan Luu
    Personal · last shared 2026
    Venture Hacksventurehacks.com230 people

    Are founders really 1000x more valuable than their employees?

    Venture Hacks
    Personal · last shared 2023