Garbage Collection Games Edition - Retrópolis

Voltando (parcialmente) de uma licença por problemas de saúde na família, vamos fazer um intensivão para diminuir a sala de estoques de links do Garbage Collector, que literalmente está explodindo de tanta coisa nova que tem aparecido no mundo retro. Vamos começar pelos games, que se reproduzem mais do que os Tribbles, de Star Trek!

Retrópolis - A cidade dos clássicos
Go 1.26 bringt flexiblere Syntax und schnelleren Garbage Collector | heise online
https://heise.de/-11172498 #Programmiersprache #Golang #Syntax #GarbageCollector
Garbage Colector Musical Edition - Retrópolis

E continuamos com os resultados da nossa Coleta Seletiva, apresentando hoje o resultado da separação de links dos últimos dias no setor musical: NDP DemoSongs - 10 - novo album a venda do compositor Kazuhiko Naruse (a.k.a naruto2413), com 7 composições para o PSG do MSX, utilizando o driver NDP, de sua própria autoria. Como

Retrópolis - A cidade dos clássicos
Garbage Collector Games Edition - Retrópolis

A Secretaria Municipal de Saneamento Público está tendo muito trabalho nos últimos dias, e estamos enfrentando dificuldades para separar todos os links de retrocomputação que tem aparecido na nossa timeline. Sendo assim, resolvemos implantar a Coleta Seletiva (está mais para entrega seletiva...): vamos agrupar os links por assunto, começando com Games, pois ninguém é de

Retrópolis - A cidade dos clássicos
Esse é o garbage collector passando na sua porta! - Retrópolis

Prosseguindo com a saga de reunir conteúdos diversos que valem a pena serem listados, mas não rendem assunto para um post "normal", temos alguns links para compartilhar... Começamos com algumas dicas musicais: Se você é msxzeiro e viveu em algum momento dos últimos 40 anos nesse nosso planeta, já deve ter visto (e jogado) o

Retrópolis - A cidade dos clássicos

A boy and his garbage man were friends for 4 years. The sudden goodbye hit them both hard.

https://fed.brid.gy/r/https://www.upworthy.com/garbage-man-says-goodbye-to-boy-after-4-years-ex1

So thinking about asyncronous programming again and how I probably need to ditch #dlang's GC if I want performance and then it hit me:

Why tf is std.socket.Socket an heap-allocated, gc'd class to begin with?!?!

It dosn't uses syncronized that would require a classes monitor, nor does it hold any significant amount of data.

  • a socket_t (fancy 32-bit fd)
  • a ushort-enum for the address family (16-bit)
  • and an bool under windows, which in an asyncronous context we could remove since all will always be non-blocking

So in sum it holds 48-bit of data, while an pointer on modern systems will always be 64-bit (classes are always pointers / by ref in dlang).

Sure, it "uses" inheritance for 2 wrapper types TCPSocket and UDPSocket, which dont actually do anything other than pre-filling the type/protocol arguments in the constructor, which dont even survive after the call to socket(2)...

Is the std really that badly engineered at times or am I going crazy???

#dlang #programming #development #async #networking #garbagecollector

Tambaram mornings are a spiritual blend of Margazhi kolams, bhajans, and… suspense thrillers. Forget @Netflix—our true cliffhanger is waiting for the #GarbageCollector, the area’s unofficial mascot of unpredictability. Will he arrive at 6 AM? 9 AM? Or just when you’ve stepped out for work?
O garbage collector passou pelo Indie Retro News e… - Retrópolis

Dessa vez estacionamos o garbage collector na porta do Indie Retro News, e reunimos os últimos lançamentos interessantes para as plataformas clássicas. Já faz um tempinho, mas o port do clássico Street Fighter II (jogo que, aliás, merece um dossiê nosso no futuro) para os Atari XL/XE está pronto, e inclusive com código fonte disponível.

Retrópolis - A cidade dos clássicos

Still thinking #Java is slow? A deep dive into Java vs C++ performance will show what are its strengths and what are its weaknesses.

https://johnnysswlab.com/deep-dive-in-java-vs-c-performance/

#java #javaperformance #garbagecollector #jvm

Deep Dive in Java vs C++ Performance - Johnny's Software Lab

For most of my career I lived in the world of C and C++, and I honestly believed that these languages are the pinnacle of software performance. But two months ago I started working at Azul, the maker of low-latency Java compiler and I had an opportunity to deep dive into Java performance. And it… Read

Johnny's Software Lab