frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

rlsw – Raylib software OpenGL renderer in less than 5k LOC

https://github.com/raysan5/raylib/blob/master/src/external/rlsw.h
61•fschuett•2h ago

Comments

nnevatie•1h ago
*OpenGL-style.
Pannoniae•1h ago
Congrats for only reading the header ;) It's actually a pretty decent OpenGL 1.1 software implementation, obviously not complete and spec-correct though. It's more like those MiniGL drivers back in the day, implementing just enough of the spec so the game can run ;)

In a similar way, this implements just enough so Raylib's OpenGL backend can run! It was done so you can use the library without external graphics dependencies if you really want to.

furyofantares•17m ago
That's an extremely snarky reply given the post is just a direct link to the header.
Pannoniae•13m ago
No, the doc-header of the header! Apologies if I wasn't clear. I just thought the GP zoomed in on the word "-style" in the first line without reading more (it's probably since it's not a full 1.1 implementation, just something which can do enough to shim a good chunk of 1.1 functions so the RL GL1.1 backend can run)
ciroduran•45m ago
Raylib's author was very happy to announce that you can compile an entire raylib program with no dependencies other than, say, being a win32 app https://x.com/raysan5/status/1980322289527976202
mouse_•28m ago
This will be perfect for Nintendo 3DS!
Archit3ch•23m ago
> OpenGL 1.1-style implementation on software

How many lines to implement OpenGL 2.0 (non ES) ?

Pannoniae•15m ago
An order of magnitude more ;) You need to implement user-programmable shaders, both ARB assembly and GLSL. That needs a GLSL parser, a shader interpreter (talking about compiling it to machine code would add another magnitude of complexity).

You also need to implement multitexturing (probably the easy part) but also all the texture combiner stuff too. This one is not hard but also a good chunk of code...

All in all, at least 40K if you ask me, but that's a very lowball estimate.

Of course if you don't care about implementing the full spec, you can get away with a lot less.

bsder•3m ago
Fabrice Bellard also wrote an OpenGL thing: https://bellard.org/TinyGL/

Dan Wang's Breakneck

https://hollisrobbinsanecdotal.substack.com/p/dan-wangs-breakneck-review
1•HR01•49s ago•0 comments

YouTube is rolling out likeness detection tool to combat deepfakes

https://www.engadget.com/entertainment/youtube/youtube-is-rolling-out-likeness-detection-tool-to-...
1•bobertdowney•1m ago•0 comments

The China Tech Canon

https://asteriskmag.com/issues/12-books/the-china-tech-canon
2•jger15•1m ago•0 comments

The natural clocks that can pinpoint someone's time of death

https://www.bbc.com/future/article/20250926-the-natural-clocks-that-can-pinpoint-the-time-of-death
1•pseudolus•2m ago•0 comments

Tomorrow Corporation Tech Demo [video]

https://www.youtube.com/watch?v=72y2EC5fkcE
1•nmilo•4m ago•0 comments

Why more people are going to gigs, festivals and clubs alone

https://www.theguardian.com/music/2025/oct/21/why-more-people-going-gigs-festivals-clubs-alone
1•pseudolus•6m ago•0 comments

Suzanne Somers' widower is trying to recreate her with AI

https://ew.com/suzanne-somers-widower-is-trying-to-recreate-her-with-ai-11834409
1•geox•8m ago•0 comments

Perplexity at Work: A Guide to Getting More Done [pdf]

https://r2cdn.perplexity.ai/pdf/pplx-at-work.pdf
1•theonionspeaks•9m ago•0 comments

Illinois utility tries using electric school buses for bidirectional charging

https://insideclimatenews.org/news/03102025/illinois-electric-school-bus-vehicle-to-grid-program/
2•PaulHoule•15m ago•0 comments

Chris Paik: A Taxonomy of Innovation – Capacity, Coordination, and Connectivity

https://docs.google.com/document/d/1unzEKQG0MD85JjZCPtjvwtvjZI8Sen8mEp1-Gn3JHDY/edit?tab=t.0
1•jger15•16m ago•0 comments

Show HN: LunaRoute – a high-performance local proxy for AI coding assistants

https://github.com/erans/lunaroute
2•erans•16m ago•0 comments

ShieldAI Launches the X-Bat

https://www.cnbc.com/2025/10/21/exclusive-first-look-at-shield-ais-x-bat-ai-piloted-fighter-drone...
1•robgourley•21m ago•0 comments

No Appointments, No Nurses, No Private Insurance Needed

https://www.theatlantic.com/health/2025/10/medicaid-mango-house/684488/
2•JumpCrisscross•24m ago•0 comments

AI Video Maker – Generate videos from text or images using Sora, Veo, and more

https://apps.apple.com/rs/app/ai-video-generator-aivideo/id6736862905
3•virtualminds•27m ago•2 comments

15M Budget Line That Doesn't Exist – Certificates

https://blog.axonshield.com/the-15-million-budget-line-that-doesnt-exist/
2•dc352•29m ago•0 comments

A billionaire has rebuilt downtown Detroit

https://www.economist.com/united-states/2025/10/15/a-billionaire-has-rebuilt-downtown-detroit
3•yakkomajuri•34m ago•1 comments

Knowledge Transfer from High-Resource to Low-Resource Languages for Code LLMs (2023)

https://arxiv.org/abs/2308.09895
1•peatmoss•34m ago•0 comments

C++26: Printing `std:tuple` with expression templates

https://www.cppstories.com/2025/tuple-iteration-cpp26/
2•ashvardanian•37m ago•0 comments

"Butt breathing" might soon be a real medical treatment

https://arstechnica.com/science/2025/10/butt-breathing-might-soon-be-a-real-medical-treatment/
4•zdw•39m ago•1 comments

The future of Python web services looks GIL-free

https://blog.baro.dev/p/the-future-of-python-web-services-looks-gil-free
1•birdculture•42m ago•0 comments

A Furious Debate over Autism's Causes Leaves Parents Grasping for Answers

https://www.nytimes.com/2025/10/14/health/autism-parents-genetics-vaccines-tylenol.html
1•walterbell•42m ago•0 comments

Active mechanical logic gates – Capstan Lever Logic (CLL) [video]

https://www.youtube.com/watch?v=Lt0alWQzkWY
1•karussell•45m ago•0 comments

Git considers SHA-256, Rust, LLMs, and more

https://lwn.net/SubscriberLink/1042172/869c5b0722123b13/
2•chmaynard•50m ago•2 comments

Experts say the high failure rate in AI adoption isn't a bug, but a feature

https://fortune.com/2025/10/21/ai-adoption-failure-rate-bug-feature-amy-coleman-jessica-wu-karin-...
1•minifyre•50m ago•3 comments

My Data Career Journey So Far

https://datamethods.substack.com/p/my-data-career-journey-so-far
2•zekrom•53m ago•0 comments

It's Not Just You – The iOS Keyboard Is Broken [video]

https://www.youtube.com/watch?v=hksVvXONrIo
7•quarkw•55m ago•3 comments

California cracks down on water theft but spares data centers

https://www.latimes.com/environment/story/2025-10-14/newsom-ai-data-center-water
1•1vuio0pswjnm7•57m ago•0 comments

The Hidden Engineering of Niagara Falls

https://practical.engineering/blog/2025/10/21/the-hidden-engineering-of-niagara-falls
2•chmaynard•57m ago•0 comments

You Probably Don't Need to Switch from Pandas to Polars

https://datamethods.substack.com/p/you-probably-dont-need-to-switch
3•zekrom•58m ago•0 comments

Uber: Rebuilding Uber's Apache Pinot Query Architecture

https://www.uber.com/blog/rebuilding-ubers-apache-pinot-query-architecture/
1•ankitsultana•58m ago•0 comments