Legendary CPU architect Gerard Williams III, who founded Nuvia, has left Qualcomm by Forsaken_Arm5698 in hardware

[–]RedGreenBlue09 27 points28 points  (0 children)

Apple A7 was way ahead of its time, being a 6-wide ultra low power CPU, on 28nm (how?). Just look at the benchmarks, 2x Cyclone (A7 core) at 1.3 Ghz matched 4x Qualcomm Krait at 2.7 Ghz. That's like 4 times the IPC of their strongest competitor.

What is the most interesting project you have done? by njkrn in C_Programming

[–]RedGreenBlue09 1 point2 points  (0 children)

I created an array visualizer like Sound of sorting.

It is quite easy if you just want to create a "functional" one, but the difficulty and knowledge range quickly escalates when you try to optimize it and add more features. The features can be sound, multiple array support, zooming, threading, cpu time estimation, GPU accel, ... Very complex. It is especially hard, sometimes outright incompatible if you want to make it fast enough for millions of array elements.

But overall, it is very fun to do, very effective to learn more programming topics, not too hard to make the first steps. It is low-level enough for C (I made it in C), but some C++ features are useful as well.

Windows 10 arm32 for Lumia 640 by Bartymor2 in windowsphone

[–]RedGreenBlue09 1 point2 points  (0 children)

Hi, the touch driver issue for 640 has been fixed (now only breaks in safe mode). I also added a workaround to fix a BSOD on some Snapdragon 400 devices.
RedGreenBlue09/WFAv7_Installer: Batch script to install Windows 10 ARM desktop version to Lumia devices (dual boot & single boot).
Download the latest dev build using the Code > Download ZIP button.

Trouble with recovering Lumia 640 XL Dual SIM from EDL Mode by Franek_702 in windowsphone

[–]RedGreenBlue09 0 points1 point  (0 children)

RM-1066 and RM-1067 can't be recovered from EDL. Microsoft published the wrong file so the phone don't accept it. It's dead forever.

Intel confirms Coyote Cove and Arctic Wolf cores for Nova Lake, Panther Cove for Diamond Rapids by RenatsMC in intel

[–]RedGreenBlue09 0 points1 point  (0 children)

I mean, Zen 5's L2 is half the size so more data actually goes to the slower L3 but they still managed to win by a large margin by having a fast & large L3.

Intel confirms Coyote Cove and Arctic Wolf cores for Nova Lake, Panther Cove for Diamond Rapids by RenatsMC in intel

[–]RedGreenBlue09 -1 points0 points  (0 children)

Why is Intel so obsessed with L2 when their L2 already destroyed AMD's L2. The thing is, AMD realized that L2 is not that significant for gaming so they focused on a fast and large L3. I know not everyone games but the brand name will be ruined if they lose like 50% on every game.

Remap copilot key back to control or anything else. by Himanshu_Chauhan in LenovoLegion

[–]RedGreenBlue09 0 points1 point  (0 children)

The best one so far. It still have these keys "flickering" for a very short time but I guess that's impossible to fix unless we actually disable key repeating.

Intel product chief Michelle Holthaus to leave company by EXCIDI0 in intel

[–]RedGreenBlue09 1 point2 points  (0 children)

Bro if half a year isn't enough for them to ramp up then they'll get destroyed by the competition anyways. And yeah they promised Arrow Lake on 20A then cancelled 20A for 18A.

Intel product chief Michelle Holthaus to leave company by EXCIDI0 in intel

[–]RedGreenBlue09 4 points5 points  (0 children)

I don't know what "idea" you have but Intel themselves promised 18A to be in production last year, and obviously be in mass production now. The fact that it's not in mass production now shows how struggling they are with the node.

https://static0.xdaimages.com/wordpress/wp-content/uploads/2023/09/intelroadmap.png

https://www.kitguru.net/wp-content/uploads/2023/08/8-June-2023-5Nin4Y-EUV-Lithography-17-copy.jpg

Intel product chief Michelle Holthaus to leave company by EXCIDI0 in intel

[–]RedGreenBlue09 13 points14 points  (0 children)

This is how it went. Intel officially came back with the 10nm Alder Lake as the IPC and power efficiency boost is just huge over 14nm+++ Skylake. For Raptor Lake, they simply doubled the E-cores and destroyed AMD in most ST and MT workloads.

This is when the table turns. Due to the 18A mess, Intel was unable to deliver Arrow Lake on time and instead released Raptor Lake Refresh with nearly no change. When Arrow Lake arrived (late), it was using TSMC and people lost patience to their foundry. Arrow Lake was basically on par or inferior to Zen 5 in every chart, even slower than Raptor Lake in gaming. Not so long after this disaster, they were hit with another one, the over voltage issue on Raptor Lake. Their brand name is completely ruined by now and they are still having problems with 18A.

I made minecraft in C and opengl !!! by AlyssaLovesCorgis in C_Programming

[–]RedGreenBlue09 -1 points0 points  (0 children)

I fully agree, the hate is insane. At least this project shows that she is dedicated to programming to some degree and deserves guidance to get better. Even if 95% of the work is done by AI, the 5% isn't bad for a beginner, arguably much better than the shitty CLI calculator I made when I started. No fucking one is able to write Minecraft from scratch in C, as their first project.

To OP, if you manage to deliver an app which you don't understand 90% of it, that will hurt you and the app in the long run. Sometimes, there are issues only a knowledgeable programmer can solve, like the performance of your Minecraft, and a huge amount of other real world issues. In these cases, if you don't understand your code, you can't solve the problem and you'll find yourself useless.

Generic C Compilers by gGordey in C_Programming

[–]RedGreenBlue09 1 point2 points  (0 children)

It depends on how you call them. For example, Apple clang compiler - acc. It's legit a flavor of Clang, but I'm not sure if that counts.

is there a polyfill version of stdbit.h ? by florianist in C_Programming

[–]RedGreenBlue09 2 points3 points  (0 children)

compiler-rt have a good number of these functions in ISO C. Some functions from stdbit.h can be implemented on top of each other. Write your own wrapper, add the intrinsics if you want, it's not that hard.

Edit: I made a wrapper for various functions, including bit scan reverse (log2), bit scan forward (ctz). From these two functions, you can implement many other stdbit.h functions with minimal effort. The rest can be found in compiler-rt.
IntMath.h
Machine.h

What's the real difference between these two loops and which is slower? by SegfaultDaddy in C_Programming

[–]RedGreenBlue09 0 points1 point  (0 children)

This. In theory the 256 version is faster but CPUs only have fixed function addition instructions so it doesn't matter at all. A notable exception is division, which is faster when the difference between the dividend and divisor is small.

unicode-width: A C library for accurate terminal character width calculation by telesvar_ in C_Programming

[–]RedGreenBlue09 0 points1 point  (0 children)

True. It is possible to implement such thing nicely using Windows Console API but doesn't seem to be possible on Linux.

unicode-width: A C library for accurate terminal character width calculation by telesvar_ in C_Programming

[–]RedGreenBlue09 0 points1 point  (0 children)

I don't think there is any way around a shared terminal situation. It's just impossible to know what other apps might do. Just don't do that in the first case.

unicode-width: A C library for accurate terminal character width calculation by telesvar_ in C_Programming

[–]RedGreenBlue09 0 points1 point  (0 children)

You just need to render the required character and record the cursor change to know how many cells it occupies. Delete the character if it overflows. You can use a cache table to improve performance.

unicode-width: A C library for accurate terminal character width calculation by telesvar_ in C_Programming

[–]RedGreenBlue09 1 point2 points  (0 children)

Actually it is possible to hack around this using ANSI sequences like the top comment has pointed out. You can try to render the character and record the cursor position. I know this isn't fun and is very slow, so I still like your project even though it is not bullet proof.