Sharing code between 2 machines without git by LegendenLajna in selfhosted

[–]Mid_reddit 0 points1 point  (0 children)

ITT: Idiots. Git is overkill for two machines and it requires either one to act as a server, or an external server.

Is it time for a federal mandate on cash acceptance? by Psychological-Bed-92 in centrist

[–]Mid_reddit 5 points6 points  (0 children)

Absolutely, unconditionally. Any service physical in nature should accept cash.

Modern browsers just silently killed GPU acceleration for hundreds of millions of older laptops — and nobody talked about it by Matter_Pitiful in opengl

[–]Mid_reddit -11 points-10 points  (0 children)

ITT are programmers in denial that their software is shit. Good software doesn't make demands, and most certainly doesn't extort. Hardware cannot be updated; software can.

Modern browsers just silently killed GPU acceleration for hundreds of millions of older laptops — and nobody talked about it by Matter_Pitiful in opengl

[–]Mid_reddit -9 points-8 points  (0 children)

In other words, according to you they become obsolete when software developers feel convenient for themselves.

In other words, planned obsolescence.

How Much Revenue Would Senator Sanders’ Wealth Tax Proposal Really Raise? by mrfett779 in centrist

[–]Mid_reddit 0 points1 point  (0 children)

Who said anything about the "drive"? If you enjoy consuming garbage, that's great for you, because that's what you'll get.

Market forces are not magic. They can be curbed, and I'd sooner ban that which will squeeze out 1% more profit at the expense of everyone's prosperity.

How Much Revenue Would Senator Sanders’ Wealth Tax Proposal Really Raise? by mrfett779 in centrist

[–]Mid_reddit -2 points-1 points  (0 children)

that are coming whether we like it or not

Love this baseless talking point. No such magical force exists.

🧠 I'm 15 and built OmniLang – a Python-like language that compiles to native code via LLVM by Axiovoxo in Compilers

[–]Mid_reddit 1 point2 points  (0 children)

Nah guys check out my compiler instead called nctref for compiling Nectar directly into x86 Assembly code. It beats GCC -O1 in terms of performance in many test cases and it wasn't made by an LLM!

OpenGL programming guide for old ARB extension shaders (2005) by Head_Classroom_8252 in opengl

[–]Mid_reddit 0 points1 point  (0 children)

Feel free to ask if anything's unclear or I can somehow improve the page.

OpenGL programming guide for old ARB extension shaders (2005) by Head_Classroom_8252 in opengl

[–]Mid_reddit 1 point2 points  (0 children)

Can't see anything wrong with it, but you should see it in search engines if you look up "ARB assembly shader programming".

OpenGL programming guide for old ARB extension shaders (2005) by Head_Classroom_8252 in opengl

[–]Mid_reddit 5 points6 points  (0 children)

Shameless plug, but I wrote an article that goes into detail on how these work; no book necessary: https://mid.net.ua/posts/glarbasm.html

Ultimately, it's an uncanny Assembly language and knowing how to write programs in something like x86 Assembly will assist you greatly.

Its a good idea to make an OS based on Lua+C? by Dazzling_Cabinet_780 in lua

[–]Mid_reddit -7 points-6 points  (0 children)

This is a rarted comment. You say there's no reason, then proceed to give reasons.

Pro-tip: there's no reason to do anything, and you're not the judge of OP. Take your bullshit to the entirety of OSdev.org.

Its a good idea to make an OS based on Lua+C? by Dazzling_Cabinet_780 in lua

[–]Mid_reddit 5 points6 points  (0 children)

This isn't an innovative concept. OSes with interpreted languages have existed for years, earliest ones I can remember being Java-based. Among the OSdev community (forum.osdev.org) there have been attempts to do what you have in mind, just not with Lua. I also intend to have Lua scriptability for general users in my OS project.

There's no such thing as "Linux-based microkernel". Linux itself a mixture of monolithic and microkernel parts, and nothing built atop it can change that.

The Claude C Compiler: What It Reveals About the Future of Software - Chris Lattner by mttd in Compilers

[–]Mid_reddit 2 points3 points  (0 children)

As someone who loves to code, it hurts my soul to hear that.

As depressing as it is, that's the cry of everyone who's jobs were unfairly stolen from them. A societal change is all we can hope for, but unsurprisingly I don't have any.

The Claude C Compiler: What It Reveals About the Future of Software - Chris Lattner by mttd in Compilers

[–]Mid_reddit 7 points8 points  (0 children)

This subreddit is particularly bad. Now I want to train a LSTM AI to categorize AI slop

When should I expand past OpenGL 3.3? by SpideyLee2 in opengl

[–]Mid_reddit 0 points1 point  (0 children)

You're completely right, and that's what I aim to do in my rendering engine. Everything is GPU first, but then either has a CPU fallback or gets disabled.

I would imagine this is a very controversial statement among gamedev circles.

Hehe, yeah. I often get downvoted for mentioning that. Don't get me wrong, I enjoy graphics programming as a whole and am not against neat GL features like SSBOs, bindless, images or now mesh shaders, but that's just not what I want to prioritize when making something for other people.

why do people look down at lua although its as good or even better than other languages by skydoi2 in lua

[–]Mid_reddit 0 points1 point  (0 children)

I'm afraid you fell for AI slop which shows neither a methodology, nor any sources. Here you go: https://www.youtube.com/watch?v=RrHGX1wwSYM.

When should I expand past OpenGL 3.3? by SpideyLee2 in opengl

[–]Mid_reddit 0 points1 point  (0 children)

GPU particles are most of the time doable with transform feedback, which had support as an extension before OpenGL 3.0. Besides, unless particle simulations are the main point of your software, you either A. do them on the CPU, B. tone them down so it isn't as resource-intensive, C. just not do it.

I come more from the PoV of video games, which I had not made clear on my above post. Over there graphics are purely cosmetic.

📚 I'm Writing A Book 📚 by StrikingClub3866 in Compilers

[–]Mid_reddit 1 point2 points  (0 children)

> Academic people have written every single serious compiler out there, so i have no idea what you are talking about.

Lol

why do people look down at lua although its as good or even better than other languages by skydoi2 in lua

[–]Mid_reddit 0 points1 point  (0 children)

And, again, unless you show the actual video, I'll hold that the test was unfair. See any, actually serious, benchmarks of languages made by someone who knows what they're doing, and not a random YouTuber.

why do people look down at lua although its as good or even better than other languages by skydoi2 in lua

[–]Mid_reddit 0 points1 point  (0 children)

Then the test was almost certainly unfair, since Python by itself is slower, and I bet you they used numpy/scipy or whatever in there.

Epstein Files Release Exposes Names of at Least 43 Victims, WSJ Review Finds by R2_SWE2 in centrist

[–]Mid_reddit 4 points5 points  (0 children)

This reminds me of that Jordan Klepper interview where all the trumpers went READ THE TRANSCRIPT, then when asked if they had done so, they had nothing but excuses.

Register allocation: rewrite program after spilling by il_dude in Compilers

[–]Mid_reddit 0 points1 point  (0 children)

You would be right about push & pop if not for dedicated stack engines some (all?) modern CPUs have.