Mr. Early Morning (@masoxi22) 's Twitter Profile
Mr. Early Morning

@masoxi22

Desenvolvedor Web. Fullstack.

GH: github.com/EronAlves1996

LinkedIn: linkedin.com/in/eron-alves-…

ID: 2604488842

calendar_today12-06-2014 19:27:32

9,9K Tweet

830 Takipçi

434 Takip Edilen

Gunnar Morling 🌍 (@gunnarmorling) 's Twitter Profile Photo

"Writing a simple 16 bit VM in less than 125 lines of C" Enjoyed reading this post by Andrei Ciobanu on building an LC-3 inspired virtual machine. 👉 andreinc.net/2021/12/01/wri…

"Writing a simple 16 bit VM in less than 125 lines of C"

Enjoyed reading this post by Andrei Ciobanu on building an LC-3 inspired virtual machine.

👉 andreinc.net/2021/12/01/wri…
Glitchbyte (@0xglitchbyte) 's Twitter Profile Photo

C is simple Figure out how to manage memory in a way you dont have to think about it, like with Arenas The Legend of Zelda: Ocarina of Time devs used Arenas and it worked for them

C is simple 

Figure out how to manage memory in a way you dont have to think about it, like with Arenas

The Legend of Zelda: Ocarina of Time devs used Arenas and it worked for them
Mr. Early Morning (@masoxi22) 's Twitter Profile Photo

Aqui que é foda, mas tem outros detalhes que entram além do cachê também! Mas basicamente, programar pensando em cachês é bem importante (ou porque vetores contiguos são melhores que listas ligadas quando há MTS leituras)

Raul Junco (@rauljuncov) 's Twitter Profile Photo

They asked me this question, and I didn’t know the answer. What's the difference between a Mutex and a Semaphore? Mutexes and Semaphores are synchronization mechanisms used in concurrent programming. They coordinate access to shared resources and protect them from simultaneous

They asked me this question, and I didn’t know the answer.

What's the difference between a Mutex and a Semaphore?

Mutexes and Semaphores are synchronization mechanisms used in concurrent programming.

They coordinate access to shared resources and protect them from simultaneous
Mr. Early Morning (@masoxi22) 's Twitter Profile Photo

Isso aqui é MT mais legal quando você estuda sobre as primitivas de sincronização, i.e., o que acontece no seu CPU quando você usa esses recursos.

Mr. Early Morning (@masoxi22) 's Twitter Profile Photo

Isso aqui faz C++ ser bem legal porque é opaco o jeito que ele gera o assembly. Curiosamente, Java funciona da mesma forma (digo, no assembly que ele gera), exceto que isso daqui causaria um null pointer exception.

Mr. Early Morning (@masoxi22) 's Twitter Profile Photo

Someone here although commented that idiomatic Java have poor performance. They optimized not for object oriented code, but for imperative code...