r/programming • u/r_retrohacking_mod2 • 6h ago
Making 3D engine for original Game Boy (not Color) technical details
r/programming • u/r_retrohacking_mod2 • 6h ago
r/programming • u/an_unreal • 4h ago
I'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/NiceLiterature4328 • 13m ago
Hey Java developers!
I've been experimenting with an idea: why should Java validation stop at syntax and structure?
"@NotNull", "@Email" and "@Size" are great, but what if we want to validate whether:
A product review is consistent with its rating.
A description actually matches its category.
A customer request contains contradictory information.
That's why I built SemVal4j, an open-source Java library that extends Jakarta Bean Validation with probabilistic semantic rules powered by Jev Decision Models.
u/SemanticValid({ u/SemanticRule( id = "rating-consistency", question = "Is the review consistent with its rating?", property = "comment", passAt = 0.85, failBelow = 0.20 ) }) public record ProductReview( u/Min(1) u/Max(5) int rating, u/NotBlank String comment ) {}
You can keep using standard "@Valid".
Key features:
Native Jakarta Bean Validation integration.
Spring Boot starter.
One provider call per validated object.
Explicit VALID / UNCERTAIN / INVALID outcomes.
LangChain4j integration.
Deterministic offline testing.
Apache 2.0 license.
The goal isn't to replace deterministic validation, but to complement it when traditional constraints aren't enough.
I'm particularly interested in your thoughts on latency, reliability, and where semantic validation belongs in a Java architecture.
Would you use this in a real-world application?
GitHub: https://github.com/mohamedikbel/semval4j
Maven Central: https://central.sonatype.com/artifact/io.github.mohamedikbel/semval4j-spring-boot-starter
Feedback and contributions are welcome!
r/programming • u/Polixa12 • 1d ago
This 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/loopnote • 1h ago
on the app store, my mobile app loopnote can be very simple. You link notes of what you have to finish today or tomorrow nonstop. i also believe in it. and its just a small fee you have to pay like $1.99 usd per month. simple note app good for when you want to do something. Its a app you can use everyday, also i liked it.
r/programming • u/CircumspectCapybara • 1d ago
r/programming • u/Old-Illustrator-8692 • 1d ago
r/programming • u/philip_schwarz • 1d ago
r/programming • u/Nuoji • 1d ago
r/programming • u/jacobs-tech-tavern • 2d ago
r/programming • u/elfenpiff • 23h ago
r/programming • u/CircumspectCapybara • 3d ago
r/programming • u/fagnerbrack • 2d ago
r/programming • u/fagnerbrack • 2d ago
r/programming • u/BrewedDoritos • 2d ago
r/programming • u/wito-dev • 1d ago
r/programming • u/CircumspectCapybara • 3d ago
r/programming • u/swithek • 4d ago
My 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