3D printers, laser cutters and benchtop CNC routers have the taken over the lion share of what hobbyists (and some professionals) used to do with these machines. Mine are just collecting dust while my 3D printers crank out parts every day.
339 karma · joined November 3, 2015
3D printers, laser cutters and benchtop CNC routers have the taken over the lion share of what hobbyists (and some professionals) used to do with these machines. Mine are just collecting dust while my 3D printers crank out parts every day.
Consider modern C++ practices as outlined here: https://github.com/cpp-best-practices/cppbestpractices/blob/...
What's the internal color space, I assume it is linear sRGB? It looks like you are going straight to RGBA FP32 which is good. Think how you will deal with denormals as the CPU will deal with those differently compared to the GPU. Rendering artifacts galore once you do real world testing.
And of course IsInf and NaN need to be handled everywhere. Just checking for F::ZERO is not enough in many cases, you will need epsilon values. In C++ doing if(value==0.0f){} or if (value==1.0f){} is considered a code smell.
Just browsing the source I see Porter Duff blend modes. Really, in 2025? Have fun dealing with alpha compositing issues on this one. Also most of the 'regular' blend modes are not alpha compositing safe, you need special handling of alpha values in many cases if you do not want to get artifacts. The W3C spec is completely underspecified in this regard. I spent many months dealing with this myself.
If I were to redo a rasterizer from scratch I would push boundaries a little more. For instance I would target full FP32 dynamic range support and a better internal color space, maybe something like OKLab to improve color blending and compositing quality. And coming up with innovative ways to use this gained dynamic range.
Quote for 100 boards (ENIG) on Bay Area Circuits, 10 days lead time, excluding shipping: $1000 ($1244 for 5 days lead time)
Todays quote for exact same 100 boards (ENIG) on pcbway.com, _including_ DHL shipping cost, 2 days lead time: $148 (shipping to Bay Area is usually 2 days with DHL, so really 4 days lead time). I've never had any quality issues and my boards have fine pitch 0.4mm BGA parts.
Yeah no, not even close. Certainly not marginally higher.
It's slightly cheaper than oshpark.com, they want $15 a board.
The question is not if Rust is more expressive but if C is expressive enough for the Linux kernel. So far there is no evidence that Rust adds any value here. And if C is missing certain features, they can be added. It looks like ISO is looking at that very thing in C2x and beyond.
Personally I have never seen gcc spitting out a false positive. IMO it's always a good idea to explicitly downcast even if you know that it's 'safe'. That way someone else will see instantly what's going on. The fact that Rust requires it should tell us something.
As they reach their capacity they start to droop quite a bit, which in itself can cause issues like touching something they usually would not.
Because HV lines are made from aluminum they loose some of their strength as they are heated up. Above 100C or so the aluminum anneals which means strength is lost. Now you just need some wind shaking those lines and the whole thing breaks. If you have reached that point you likely have to replace the entire length of the HV line.
Of course the cold weather counters some of this. But only to a certain point.
If just one HV line fails you now have to deal with the cascading effect as the current is load balanced on the remaining HV lines.
Some parts could be replaced by standard C++ library functionality by now. My biggest issue so far: Use of bare pointers, especially in parser code. This should not appear in new code written in 2020. I'm kind of baffled by that as he seems to use stuff like std::move.
This is no replacement for either Unreal or Unity for sure, it's pretty basic in functionality.
There is also a continuous push to make results available faster, basically instantly. The media is as guilty as everyone else here. Like we can't wait for a few days for results.
Lastly reducing the amount of total paid workers and volunteers in the field to reduce costs likely looks like a shiny object in many managers eyes.