270 karma · joined Jan 30, 2018 (8y ago) · 161 submissions
comment 1mo ago · link · parent
comment 5mo ago · link · parent
comment 5mo ago · link · parent
"Ampere processors natively support both 32 & 64 bit Android applications and require no binary translation for maximum instance density" ... "Run up to 120+ 3D cloud game instances per socket" ... "DRAM: 384GB - 512GB"
https://amperecomputing.com/solutions/arm-native
I've not personally tested this, but it very much appears that just like x86, you can use a 64-bit ARM kernel that has 32-bit support enabled to run a 32-bit userspace, likely compatible with docker, or even just in a chroot. Then with 120 cores, "make -j 120"
comment 5mo ago · link · parent
Even if you don't have a beefy server of the same architecture, you can probably run it in qemu instead of docker to the same effect. And even if qemu is slow, you can run a build of the kernel and your in-house stuff in parallel on 64 cores and not really be affected by the qemu slowdown.
I'm interested to hear counterexamples, though.
comment 5mo ago · link · parent
The main reason to not run Debian is that Debian usually makes lots of compile-time decisions for you, and chooses to maximize the enabled options of the software. Alpine makes the opposite choices for you, creating very minimal feature sets.
It's been working well for me, but my use cases is a lot more like a custom in-house DDWRT firmware kind of a thing. If you've experienced additional constraints that make this pattern unworkable, I'd be interested to hear about them.
comment 5mo ago · link · parent
comment 7mo ago · link · parent
Even many of the events are implied, like how regular attacks continue at a fixed frequency once started, so other clients only need to know when the player started attacking and whether they are still in range, and player run speed is a constant so a player running in a straight line doesn't generate additional events.
I even suspect the dice rolls are coming from a shared RNG that each client maintains independently, but haven't researched it.
This is how WoW classic was playable over a 33K modem.
comment 7mo ago · link · parent
comment 7mo ago · link · parent
comment 1y ago · link · parent
I feel like people are talking past each other a bit here. FlashScript was never very fast, and rendering a document as a giant collection of bezier curves was not fast, but the people doing animations with it were getting the equivalent of modern day CSS3 animations + SVG, and it ran nicely on hardware two orders of magnitude slower than what we need for CSS3+SVG
comment 1y ago · link · parent
Unless I'm writing Java, I avoid multithreading whenever possible. I hear it's also nice in Go.
comment 1y ago · link · parent
comment 1y ago · link · parent
comment 2y ago · link · parent
If deflation were expected, rich people really would just leave money in a bank account (as long as investing gave smaller returns, or seemed too risky.) The inflation is an incentive for cash-rich people to put that cash to use instead of sitting on it. This can be a huge driver for the economy.
comment 2y ago · link · parent
comment 2y ago · link · parent
If you are saying that a connection pool can be shared between processes without pgbouncer, that is news to me.