- 17
- 2 599 497
Core Dumped
เข้าร่วมเมื่อ 24 ธ.ค. 2023
Hello and welcome to Core Dumped. I'm a SC Engineer and I love teaching others about complex concepts I've learn over the years, but in a simple and easy to understand format.
IPC: To Share Memory Or To Send Messages
This video was sponsored by JetBrains.
Now Free for non commercial use:
Check out WebStorm for free today: jb.gg/check-out-webstorm -
Create your games for FREE with Rider: jb.gg/check-out-rider
Sing up to CodeCrafters, and build your own Redis, HTTP Server, Git, Grep, Shell and more:
app.codecrafters.io/join?via=jdvillal
Sponsor my work on Github:
github.com/jdvillal
In this video we explore why the two main methods processes can used to communicate between them.
Questions and business contact:
contact.coredumped@gmail.com
Join our discord server:
discord.gg/szyQsXfzuv
Follow me on twitter:
twittter.com/coredumpped
Twitch:
twitch.tv/coredumpped
Now Free for non commercial use:
Check out WebStorm for free today: jb.gg/check-out-webstorm -
Create your games for FREE with Rider: jb.gg/check-out-rider
Sing up to CodeCrafters, and build your own Redis, HTTP Server, Git, Grep, Shell and more:
app.codecrafters.io/join?via=jdvillal
Sponsor my work on Github:
github.com/jdvillal
In this video we explore why the two main methods processes can used to communicate between them.
Questions and business contact:
contact.coredumped@gmail.com
Join our discord server:
discord.gg/szyQsXfzuv
Follow me on twitter:
twittter.com/coredumpped
Twitch:
twitch.tv/coredumpped
มุมมอง: 61 112
วีดีโอ
How the Clock Tells the CPU to "Move Forward"
มุมมอง 79K21 วันที่ผ่านมา
This video was sponsored by Brilliant. To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/CoreDumped. You’ll also get 20% off an annual premium subscription. In this video we explore why clocks are so important to computers. Questions and business contact: contact.coredumped@gmail.com Sponsor my work on Github: github.com/jdvillal Join our discord server: disc...
How a Single Bit Inside Your Processor Shields Your Operating System's Integrity
มุมมอง 238Kหลายเดือนก่อน
ACE your next technical interview! Get 10% off when subscribing to Neetcode Pro: neetcode.io/core Sponsor my work on Github: github.com/jdvillal In this video we learn about CPU kernel/user operational modes and how the hardware helps software (the operating system) to maintain complete control of the computer. Content: 00:00 Intro 00:57 CPU operational modes. 02:28 Interrupts 04:02 Op. Mode sw...
The Most Successful Idea in Computer Science
มุมมอง 52Kหลายเดือนก่อน
This video was sponsored by Brilliant. To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/CoreDumped. You’ll also get 20% off an annual premium subscription. In this video we dive into the technical details of processes. Questions and business contact: contact.coredumped@gmail.com Sponsor my work on Github: github.com/jdvillal Join our discord server: discord....
A PROGRAM is not a PROCESS.
มุมมอง 51K2 หลายเดือนก่อน
Sponsor my work on Github: github.com/jdvillal This video was sponsored by Brilliant. To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/CoreDumped. You’ll also get 20% off an annual premium subscription. In this one, we learn the difference between a program and a process. Questions and business contact: contact.coredumped@gmail.com Join our discord server: d...
How computer processors run conditions and loops
มุมมอง 156K2 หลายเดือนก่อน
This video was sponsored by Brilliant. To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/CoreDumped. You’ll also get 20% off an annual premium subscription. In the final episode of this low-level series, we learn the fundamentals of how computers evaluate conditions and loops, a very important feature that makes them as useful as they are today. CPU "emulator...
Capacitors are terrible at remembering data. But for this reason we continue doing it.
มุมมอง 102K3 หลายเดือนก่อน
JLCPCB PCB Fab & Assembly from $2! Sign up to Get $60 Coupons: jlcpcb.com/?from=CoreDumpped In this episode we discuss about Dynamic RAM, and lear about all the fundamental-level challenges that makes it slow compared to Static RAM.
HOW COMPUTERS CAST STRINGS TO NUMBERS
มุมมอง 46K4 หลายเดือนก่อน
This video was sponsored by Flexispot. 💥FlexiSpot Amazon Prime Day Deal Up to 60% OFF💥 10 100% Free orders on July 16th & July 17th🎁 US site: amzn.to/3XBuaxV Upgrade your workspace with OC6 Ergonomic Chair:amzn.to/3XLNwAq In this episode we learn the whole process of casting a decimal number formated as a string to a number that the computer can use to perform calculations. Questions and busine...
CRAFTING A CPU TO RUN PROGRAMS
มุมมอง 115K5 หลายเดือนก่อน
This video was sponsored by Brilliant. To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/CoreDumped. You’ll also get 20% off an annual premium subscription. In this video we use all the components and concepts of previous episodes to build our own tiny CPU. Questions and business contact: contact.coredumped@gmail.com Join our discord server: discord.gg/szyQsX...
HOW TRANSISTORS REMEMBER DATA
มุมมอง 368K5 หลายเดือนก่อน
This video was sponsored by Codecrafters. Sign Up to CodeCrafters, it's free. Get a 40% discount if you upgrade: app.codecrafters.io/join?via=jdvillal In this episode we learn about how memory works at the "transistor" level. Join our discord server: discord.gg/drS6jC5Cgk Twitch channel: twitch.tv/coredumpped Follow me on twitter: twittter.com/coredumpped Follow me on Github: github.com/jdvilla...
HOW TRANSISTORS RUN CODE?
มุมมอง 546K6 หลายเดือนก่อน
This video was sponsored by Brilliant. To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/CoreDumped. You’ll also get 20% off an annual premium subscription. In this episode we learn about the basics of how transistors power computers. We start with how transistors work all the way up to creating more complicated circuits, like adders, decoders, and even ALUs....
CONCURRENCY IS NOT WHAT YOU THINK
มุมมอง 115K7 หลายเดือนก่อน
This video was sponsored by Brilliant. To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/CoreDumped. You’ll also get 20% off an annual premium subscription. In this episode, we learn about concurrency! A fundamental concept in computer science... also an older concept than you think. Sign Up to CodeCrafters: app.codecrafters.io/join?via=... Follow me on twitt...
ARRAYLIST VS LINKEDLIST
มุมมอง 77K8 หลายเดือนก่อน
In this one, we explore how ArrayLists and LinkedLists works at memory level and how scripting languages handle their "arrays." Sign Up to CodeCrafters: app.codecrafters.io/join?via=jdvillal Follow me on twitter: CoreDumpped Follow me on Github: github.com/jdvillal Questions and business contact: contact.coredumped@gmail.com
WHY IS THE HEAP SO SLOW?
มุมมอง 271K8 หลายเดือนก่อน
In this video we take a look at the heap. A memory region that is feared, but it exists because is necessary... Contact email: contact.coredumped@gmail.com Suggest topics for future videos by: Following me on twitter: CoreDumpped Becoming a member of my channel: th-cam.com/channels/GKEMK3s-ZPbjVOIuAV8clQ.htmljoin
WHY IS THE STACK SO FAST?
มุมมอง 173K9 หลายเดือนก่อน
In this video we take a look at the Stack, which sometimes is called Hardware Stack, Call Stack, Program Stack.... Keep in mind that this is made for educational purposes, so many of the information is oversimplified for easy understanding.
Rust in 2023. The definitive summary.
มุมมอง 25K10 หลายเดือนก่อน
Rust in 2023. The definitive summary.
Thanks, I enjoyed the video, I think that Real Time Operating Systems deserves also a video, and the Fair Scheduler in Linux too.
Please explain device drivers.
Damn, I’m glad I don’t have to deal with this vastly inefficient type of memory.
@coredumped can yu tell wht app use for the circuits or is it avid edit?
I use PowerPoint for animations, so that is what I use to "draw" circuits.
wow it's detail and perfect tanks?
a micro controller is better reduce human error while logic gates or pure transitor good for simple parts of circuit it can still be useful for microcontroller because logic gates are more power efficient but not cost effective on large scale
this definently more effort by using AI voice but at least its clear and well edited voice
report for AI
0:55 Where is the *ASYNC AWAIT EXPLAINED IN 100 SECONDS* video?
hi brow, What software do you use to speak with text to speech? I'm from South America too
I wish this video had existed for me when I was first learning about IPC several years ago!
Then there's Read/WriteProcessMemory :)
Would love a Mach version of this! I know the Unix process model is so ubiquitous, but Mach's concept of Task, Thread, and Virtual Memory that processes can be composed of is super cool IMO.
Another thing with dynamically typed languages, is that they're great for making quick and dirty scripts or smaller programs, but the second a project gains any size, it becomes hell because by default you don't know what the types of values are being passed around into functions, so you either have to guess, or read up how every function you try to use works. Not to mention it makes LSPs less than stellar because it has no idea what types of values a function expects. Or what methods are attached to a class instance etc. Yes i know that JS has TypeScript to alleviate that issue, but imagine that we had to make a while wrapper on top of a language to deal with that problem.
Very good introduction
Hi, how do you make the animations? Which Software?
nice video!
Love your content
2024 IPC in Rust ...
In regards with consuming the messages by a server process, a video on reactor vs proactor model would be nice.
Is this the same for communicating with IO? (Memory Mapped IO vs Port Mapped IO)
Memory Mapped IO can be magnitudes more efficient, depending on what the flush condition from memory to disk is. If not every write triggers a flush, then the kernel is not triggered as often as using write. Thus mmaped io is also a way to create IPC. The problem is, as mmap relies on files being on the disk, a flush will generally introduce hiccups into your system while plain shared memory does not, as it is not backed off by a physical file.
Great video as always core dumped. Thank you for the content. I actually think I past my exams easier thanks to your channel. Regarding the performance, the communication is definitely much slower as you said. I had chance to work on a super computer with ~2000 cores. It is multiple machines w NUMA architecture, connected together over ethernet. Any communication would be extremely costly since over-ethernet networking, typically handled through southbridge, will be much slower than Memory Access, through northbridge. And of course the wait time by the OS contributes to the performance cost of communication. None the less, communication is inevitable on the way to scalability, so efficient communication it is.
The problem is, your operating system will do too many copies. Once from user to kernel space, once from kernel space to network driver transmit queue, one from kernel space of the receiver to the user space of the receivers process
goated channel
A video about CPU Pipeline someday, maybe?
I did OS during covid, and I passed even without knowing what a process is. Just crammed for the whole exam. Great visuals, now I am understanding
😢can we have lora signal instead of clock I think no
I wonder, if heap can be extended into the swap file, why can't the same be done with stack? That would avoid stack overflow errors when a lot of memory needs to be used.
Outstanding 👍👍👍👍
These vids are insanely good, you helped me a lot!
amazing explanation...Congrats
Excellent!
A note on the swap memory, it's not used as normal memory like RAM, but as a temporary space to hold less used data to make space for more important data on RAM, but since the CPU can only work with RAM, that data will have to be moved back to RAM eventually swapping with other data (hence the name). You really don't want to be forced to use swap, since the system will be constantly moving data to and from the swap wasting resources (though still better than crashing from running out of memory)
This man cleaned my soul.. Thank you so much for this video , we all needed this
Copy cut repair paste
9:51 , why i feel this is an open hole for malicious code to execute right there ?
Thanks!
This is so good for my soul, please please make more videos you explain so elegant and so simple it's mind blowing
Elegant and simple
best video i ever watch about the heap <3
This is so good! Thank you!!
14:41 that is assuming we need to preserve the order of the elements, which is not always the case. If order is not important to us, we could fill the gap with the last element of the array, making it an 0(1) operation.
As a beginning programmer, I don't care if it takes 15ms or <1ms to execute my code. If my monitor takes more time to show that there's been a change in speed than the actual speedup, it makes exactly 0 difference to me. What does matter is that someone who knows basic math can get incredibly slow code to do simple calculations without worrying if the variable type is the best. That feeling of having power over a computer instead of it overpowering you is incredible! If I'm designing an application, I will write it in a lower level language to get the performance I need. If I'm trying to get the computer to output 2 + 2, I do not need to know whether it's an integer, unsigned integer, or a floating point value in hardware. The respect I have for people who actually care if their code is 700 KB or 7 MB is astronomical because they are so much smarter than I am and can make real change. However, I just want the screen to say "Hello <my name>". If a language will baby me enough to let me do that without thinking about what it "really means" in the CPU and memory, I will choose that every time. Is it a skill issue? Yes, it is and I don't care.
I thought CPU process handling was very elegant, but just copying all the data is just disgusting. I feel cheated.
9:45Imagine you explode a rocket because yoy forget to add a extra byte
0:19 You just had to do that didn't you? x, y = 0.0 and x2, y2 = 0f64 Flexing knowledge
bro youre awesome, thank you very much for the explanation!!
5:10 to be pedantic OSes with memory protection (i.e SEGFAULTS) mostly act only when unallocated memory is written to not read from. I experimented with this on windows before on both the stack and heap memory address spaces, funny enough the stack had little to no SEGFAULT upon tests due to the fact that C/C++ allocates variables on the stack for a function at the beginning regardless of the scope which it is defined in. Also windows was not the right OS to test this out as most of the time the preferred action is too terminate the process without an error message leaving me to manually catch the SEGFAULT signal and output an error message
The Question here is that we as a software developers do we just need to learn about thoes topics in a basic way know what that do and why , or not knowing them will effect our job ? I mean the web dev backend & machine learning
It generally is very important to understand the behaviour of the operating system, your program runs on. Because system calls are used quite heavily most of the time. Also when implementing efficient IPC architectures for parallelized machine learning, this could potentially be important. To know the up-and downside of the IPC models.
@yimyim117 thank you sir