r/programming • u/r_retrohacking_mod2 • 3h ago
r/programming • u/an_unreal • 1h ago
Baking assets into an executable in my custom programming language
lightsout.afterthought.gamesI've been developing my own low-budget version of the Jai programming language for a few years now. My game Lights Out is written using that compiler. Most of the assets for that game are baked into the executable for release builds.
The language supports running arbitrary code at compile time. This code can also load files from disk and process them. The return value from these functions that are executed at compile time are normal values, meaning you can assign them to variables (as they are treated as literals by the language).
This means you can share the code for loading assets at run-time in developer builds (e.g. for hot-loading) and baking assets into the executable at compile-time!
r/programming • u/Polixa12 • 1d ago
Relaying wakeups in fair locks
kusoroadeolu.github.ioThis was pretty fun for me to write up on. Would love to hear y'all's thoughts on scheduling bottlenecks in fair locks.
r/programming • u/CircumspectCapybara • 1d ago
A Deterministic Subexponential-time Algorithm for the Discrete Logarithm Problem
eprint.iacr.orgr/programming • u/Old-Illustrator-8692 • 1d ago
Happy Developers Build Better Products… A Message for Management!
youtube.comr/programming • u/Nuoji • 1d ago
Madrigal Games' Traction Point was rewritten in C3
madrigalgames.comr/programming • u/philip_schwarz • 1d ago
The Bowling Game - From Imperative to Functional Programming - Part 1
fpilluminated.orgr/programming • u/jacobs-tech-tavern • 1d ago
Building apps is a system design exercise
blog.jacobstechtavern.comr/programming • u/elfenpiff • 21h ago
Stop paying the network stack tax: zero-copy first, networking when needed
ekxide.ior/programming • u/CircumspectCapybara • 2d ago
A collision has been found for 38-step (a reduced round variant of) SHA-256
eprint.iacr.orgr/programming • u/fagnerbrack • 2d ago
The V8 JavaScript Runtime Undermined My Constant-Time JavaScript Library
soatok.blogr/programming • u/fagnerbrack • 2d ago
On solving the Jane Street Reverse Engineering Challenge
jestoph.comr/programming • u/BrewedDoritos • 2d ago
How I Got Postgres into a Single Binary
progrium.xyzr/programming • u/wito-dev • 1d ago
Multirepo setup - Working with multiple repositories, the easy way
wito.devr/programming • u/CircumspectCapybara • 3d ago
NFS2ROOT: a 12-year-old pre-auth remote root in the Linux kernel's NFS server
opensec.inr/programming • u/swithek • 4d ago
Schrodinger's pull requests: the 1,553 Next.js PRs with no review
oxynote.ioMy goal at the beginning was to write a short list of projects that are good for a first contribution, because I have a few friends who want to get into the open source world and are looking for resources like this. However, most guides I found recommend Next.js, React, Kubernetes or other similarly popular and complex projects and I wasn't sure that was good advice, so I got sidetracked and counted how PRs are treated there. The headline example is that Next.js has 1,553 open PRs that nobody has reviewed in over a month (I have added the queries and scripts I used to count them at the end of the article).
If you're interested about my actual list, you can still find it in the article (in the second half of it): I picked six projects in rust, go, java and python that are less popular than Next.js but review PRs from first-time contributors fairly quickly. I counted their PRs/issues as well and added the stats to each entry
r/programming • u/I_highly_doubt_that_ • 4d ago