CPU Pipeline - Computerphile
21:48
14 днів тому
ChatGPT Jailbreak - Computerphile
11:41
Wearable Tech Discussed - Computerphile
10:36
Garbled Circuits - Computerphile
11:46
Місяць тому
3D Gaussian Splatting! - Computerphile
17:40
Discussing Digital Twins - Computerphile
23:28
How CPUs Do Math(s) - Computerphile
19:38
3 місяці тому
Progress Bars - Computerphile
13:50
3 місяці тому
Python Regular Expressions - Computerphile
22:16
Machine Code Explained - Computerphile
20:32
NERFs (No, not that kind) - Computerphile
13:35
Optimising Code - Computerphile
19:43
4 місяці тому
Bug in Binary Search - Computerphile
11:31
5 місяців тому
True Random Numbers - Computerphile
12:16
5 місяців тому
Binary Search Algorithm - Computerphile
18:34
6 місяців тому
Oblivious Transfer - Computerphile
20:15
6 місяців тому
Budget Self-Driving Car - Computerphile
14:24
7 місяців тому
CMPRSN (Compression Overview) - Computerphile
15:54
КОМЕНТАРІ
@DadicekCz
@DadicekCz 5 хвилин тому
Someone get this man a speedcube pls
@WilhelmPendragon
@WilhelmPendragon 5 годин тому
I like this video for the elephant in the room.
@WilhelmPendragon
@WilhelmPendragon 7 годин тому
So the Visio-Text encoder is dependent on the quality of the captioned photo dataset? If so, where do you find quality datasets ?
@paulhetherington3854
@paulhetherington3854 7 годин тому
Induct molz~tmp <rw body> prnt LN''
@jeffreyjdesir
@jeffreyjdesir 12 годин тому
This question means the world to me right now if and if could be sufficiently answered or engaged with, would make me very grateful; does this correspondence imply at all that complex types and their algebra can be represented fully with Boolean values and their operators?
@carpediemcotidiem
@carpediemcotidiem 13 годин тому
00:00 Garbage collection automates memory management 02:12 Memory management can go wrong in several ways 04:14 Automatic memory management simplifies programming 06:13 Garbage collection is a common automatic memory management technique. 08:29 Garbage collection algorithms automatically deallocate memory. 10:32 Garbage collection is a process of freeing up memory 12:33 Dynamic memory allocation allows programs to allocate memory as needed. 14:24 Garbage collectors optimize memory usage Crafted by Merlin AI.
@vadrif-draco
@vadrif-draco 15 годин тому
Is that Ray Tracing video at the end soon to be released? Can't find it via search by name
@thomaskishmanii2675
@thomaskishmanii2675 15 годин тому
Male and Female isnt political its just basic.
@nefex99
@nefex99 15 годин тому
Very cool - great, understandable explanation!
@pmmeurcatpics
@pmmeurcatpics 18 годин тому
The part where the branch predictor increments/decrements the probability of each branch prediction reminded me of JITs, which too were covered recently on Computerphile. Do I understand correctly that this branch prediction adjustment too happens at runtime? Or could the program be dry-ran a couple of times during the compilation process to preconfigure the branch predictor somehow? It's a fascinating piece of technology either way:)
@MattGodbolt
@MattGodbolt 15 годин тому
The branch predictor is entirely live, based on the current run and history of the program. Some older intel chips did let compilers place some branch hints but they have been removed as ...to decode the hints you need to have already fetched and decided the instructions...by which time its probably too late:)
@MattGodbolt
@MattGodbolt 15 годин тому
But the ideas are similar, yes. Just even more micro-level than the tricks JITs pull
@pmmeurcatpics
@pmmeurcatpics 15 годин тому
​@@MattGodboltthank you for taking the time to answer! Have been loving the series:)
@aaronr.9644
@aaronr.9644 19 годин тому
I've been programming for a very long time but I didn't realise how sophisticated these branch predictors could get. The idea that it can compute a simple hash in a single clock cycle and use that to capture patterns is fascinating. Now that makes me want to go look into the details of some of these open CPU designs :)
@MonochromeWench
@MonochromeWench 19 годин тому
Delay slots, something completely irrelevant to any modern CPU architecture.
@soulstudiosmusic
@soulstudiosmusic День тому
I feel sad every time that quote is misused. The full quote is: "We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil. Yet we should not pass up our opportunities in that critical 3%."
@TiagoTiagoT
@TiagoTiagoT День тому
I wonder how many years until this task is done by a built-in LLM-like predictor that is training in real time or one/few-shotting it....
@orlandomoreno6168
@orlandomoreno6168 15 годин тому
LLM is overkill. You can embed a NN and do backpropagation / Hebb's rule in hardware.
@DetectiveConan990v3
@DetectiveConan990v3 День тому
that was a lot more simple that I thought
@Roxor128
@Roxor128 День тому
NOP isn't strictly doing nothing, it does something that _changes_ nothing. On x86, NOP is equivalent to "XCHG AX, AX", which is just swapping register AX with itself. No change, but still doing something. 8 opcodes are used for instructions that swap one of the general-purpose registers with AX, one of which just happens to correspond to using AX as the nominated register, and which gets the name NOP instead of what it actually does.
@yogeshchavan2503
@yogeshchavan2503 День тому
...well.. Logic..is.. going... wrong.. with.. confidence...
@PanicGiraffe
@PanicGiraffe День тому
Slight correction, you said early on in the video that the model wants to be nondicrsiminatory. But really the raw weights of the model have every kind of echo chamber virtiol you could imagine well mapped out. But there is a corse filter applied to the input and output layers that was fine tuned to catch things the owners of the model do not want it to say. Edit: some of its sensitivity training occurred in the RLHF step I'm sure, but the bulk of that work was to make it a more effective assistant. You can tell just by interacting with it that the political correctness filtering is very brute force.
@robfielding8566
@robfielding8566 День тому
i think of 2s complement as simply flipping all bits, but you include the unstated infinite string of zeros to the right and left. 0001.00000.... = 0000.111111.... an infinite number of 1s triggers a carry, so its just two ways of writing the same number: carried and uncarried. 0010.00000000.... its negative 1101.11111111.... = 1110.0000000000.... that's where the "flip all bits, and add 1" rule for negation comes with. 0.1111111 when you negate 1.00000000 bits causes a carry
@yuehuang3419
@yuehuang3419 День тому
It is just as like to be off the left, right.
@ivonakis
@ivonakis День тому
Thank you - Its just a little less dark magic.
@flits1
@flits1 День тому
update: they are indeed a big deal
@MrMarvinnio
@MrMarvinnio День тому
It turns out that some human's brains use number representation of words because lately all of them started using "car" instead of "cat" I find it rather interesting🤔
@iNireus
@iNireus День тому
There needs to be more on micro coding, I do wonder now if they need to revisit microcoding
@michaelshore2300
@michaelshore2300 День тому
Penang Malaysia, In the RAF, I maintained a computer assisted air defence system (GL 161) based on 5 Elliot 920B computers and an extra core store block. Program was stored on Mylar (plastic) tape Which was only ever used to provide copies used to reprogram. Then there was a daily 'data' tape which fed in the daily instructions and weather. if that failed to load in any way the system was not working properly and you had to start again. Programing was Machine code with the help of a very primitive assembler caller SIR Symbolic Input Routine
@anyonetube
@anyonetube День тому
the first 3 minutes of video give me more efficient information than any other videos i watched about this title
@Mr.1.i
@Mr.1.i День тому
To write a vcs game, you need to be well up on 6502 assembly, knowing its intruction set is essential, there is no secondary language i wish it was like ascii art
@MsDuketown
@MsDuketown День тому
He is right, but he clearly doesn't understand the Euclidean space. Quite dangerous, especially if spoken out by an "authority". He already fails in defining a pointer. Seems he transforms the goal into the mean by transmuting definitions. But Lego has nothing to do with it. It's just a brand name! That has to do with Bill Gates' war on Vinyl. USA Academics are dangerous.
@hyperion6483
@hyperion6483 День тому
If we can decode that an instruction is a branch way ahead of the execution step that will decide to take it or not, isn't it possible to build a second pipeline in parallel as soon as we know that this instruction is a branch that could be taken, such that when we come to the execution step that will decide if we have to take it or not we only need to decide if we stay on the actual pipeline or switch to the second one we built in parallel ?
@ArneChristianRosenfeldt
@ArneChristianRosenfeldt День тому
Yeah. Only way to restore a wrong prediction. Anything below this does more harm than benefit. Still don’t want to leak speculative LOAD and STORE to the outside. Memory mapped IO?
@DemonixTB
@DemonixTB 19 годин тому
Yes, this is called speculative execution. Instead of taking one branch, the CPU executes both and discards the one it wasn't supposed to take, CPUs today have a this only happens when the CPU has no other work to do, which can be quite often when waiting for memory operations, or even when just waiting for the comparison instruction to finish which can take a while given how deeply pipelined the CPU is.
@baltakatei
@baltakatei День тому
Side note: Branch prediction is incompatible with keeping memory secret. Disable branch prediction when handling secrets.
@pierreabbat6157
@pierreabbat6157 День тому
In goes branch prediction, out comes secret.
@photon2724
@photon2724 День тому
they have basically figured out how to make a machine learning Reinforcement-Learning prediction model in a SINGLE tick!
@ArneChristianRosenfeldt
@ArneChristianRosenfeldt День тому
But probably this thing again is split up into 3 pipeline stages for some reason. Like, look at MIPS and tell me how register based instructions need more than 3 stages! MIPS says: LOAD needs exactly two cycles and two stages more. This is obviously not correct if cache is involved.
@ArneChristianRosenfeldt
@ArneChristianRosenfeldt День тому
IBM managed to slow down their mainframe using branch prediction. How often do you have JMP (else branch) ? DSPs just had zero overhead loop instructions similar to the one in 80186 . So at the start of the loop you have an instruction where the immediate value says from where to jump back to here. Only needs a single register, not a table. Works on inner loops. And then there is hyper threading, where you fill the pipeline with the lower priority thread instead. No need for speculation or attack vectors. ARM TDMI in GBA had a flag to instruct it to follow up branches. But how does it know that there is a branch before decoding? So it still needs a cache: 1 bit for each memory address to remember an up branch. At least this is well documented, and the compiler can optimize for it. Even with this nice prediction: why not follow both paths with a ratio. One cycle to advance this path, 3 for the other. Stop at Load / Store to avoid hacks or inconsistencies. PS3 showed the way: more cores, no CISC like optimization per core. Similar today with GPUs and their RISCV cores.
@akotymegu9514
@akotymegu9514 День тому
Who is watching in 2024? Like
@Shabazza84
@Shabazza84 День тому
Excellent. Could listen to him all day and even understand stuff.
@Stdvwr
@Stdvwr День тому
How do you go from 2 ifs to 1 if in 1 byte?
@artie5172
@artie5172 День тому
Is the S box and other substitution in this algo pre determined like what is inside s-box or it changes with user
@johanneskarlsson6535
@johanneskarlsson6535 2 дні тому
That batman trick doesn't work for several reasons and could only catch the sloppiest of cheaters. - If you copy an assignment into chat-gpt, you will probably see it very clearly when it's highlighted, just as we saw it - If you read the output from chat-gpt, before you submit it you will definitely see it. Finally, if A student finds out that they are instructed by a hidden text to talk about batman, they may take it as a lighthearted easter egg and do it.
@kingcraftgames.985
@kingcraftgames.985 2 дні тому
You sound like mrmattandmrchay
@clehaxze
@clehaxze 2 дні тому
I realized this is Godbolt!!!!
@orange-vlcybpd2
@orange-vlcybpd2 2 дні тому
The legend has it that the series will only end when the last sheet of continuous printing paper has been written on.
@robfielding8566
@robfielding8566 2 дні тому
why not just use integer cents for money?
@Lion_McLionhead
@Lion_McLionhead 2 дні тому
Figured they always simultaneously executed both branches until something wrote to memory or the branch was fully known.
@3rdalbum
@3rdalbum День тому
Schrodinger's CPU
@MattGodbolt
@MattGodbolt 11 годин тому
Given there's usually a branch every 4 to 6 instructions and the pipeline can be tens of instructions long, it quickly gets out of hand: each branch would bifurcate again and again...it's better (currently!) to guess and commit to the guess
@moritzmayer9436
@moritzmayer9436 2 дні тому
Pipelining is hard stuff, but very well explained. 😊
@OzeCovers
@OzeCovers 2 дні тому
Couldn’t a neural network be implemented for this? Edit: Turns out it can be: neural branch prediction
@kazedcat
@kazedcat 2 дні тому
Yes it can AMD are using perceptron as fast predictors for their ZEN processor. But the misprediction rates are high. So they are also supplementing it with a slower but more accurate predictor.
@tambourine_man
@tambourine_man 2 дні тому
I wanna know about that black screen in the background showing followers, stock, etc. That looks like a cool project
@MattGodbolt
@MattGodbolt 2 дні тому
It's a Tidbyt showing some standard things plus some website stats
@MoonCrab00
@MoonCrab00 2 дні тому
If a human could read the matrix like Neo he would be the closest.
@yagmur985
@yagmur985 2 дні тому
Crypto Bull run is making waves everywhere and I have no idea on how it works. What is the best step to get started please,,
@OmarMoura-lr4sr
@OmarMoura-lr4sr 2 дні тому
Am facing the same challenges right now and I made a lots of mistakes trying to do it on my own even this video doesn't give any guidelines
@brandonkim4554
@brandonkim4554 2 дні тому
I will advise you to stop trading on your own if you continue to lose. I no longer negotiate alone, I have always needed help and assistance
@GiseleLuz-rm6vd
@GiseleLuz-rm6vd 2 дні тому
You're right! The current market might give opportunities to maximize profit within a short term, but in order to execute such strategy, you must be a skilled practitioner.
@donaldcelestine8630
@donaldcelestine8630 2 дні тому
Inspiring! Do you think you can give me some advice on how to invest like you do now?
@johntaric2603
@johntaric2603 2 дні тому
If you are not in the financial market space right now, you are making a huge mistake. I understand that it could be due to ignorance, but if you want to make your money work for you...prevent inflation
@arnevaneycken2878
@arnevaneycken2878 2 дні тому
You don't explain what happens when there is a dead end
@rudiklein
@rudiklein 2 дні тому
Being able to explain a complex technical subject in a way I can understand is an amazing skill.
@kevincozens6837
@kevincozens6837 2 дні тому
Kudos to the host for tending to ask very good questions about the topic being discussed.