Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Why is the Java GC so garbage?

Name: Anonymous 2016-02-22 22:34

It is 2016, why does Java still shit itself like a baby if you try to serve a non-toy amount of traffic with it without tuning your garbage collector settings yourself like some sort of caveman?

Is it so hard to set defaults that don't randomly freeze like a deer caught in the headlights at the sight of multiple qps?

Name: Anonymous 2016-11-13 11:53

>>41
Variable literally means 'able to vary'. And in most imperative languages, an equation like you wrote wouldn't be valid except in a condiational statement. There's basically three meanings of the = sign. In math, it is creating a constraint, STATING THAT the two sides are equal. In programming, it is either used as a test (ASKING IF the two sides are equal), or as assignment (indicating a change of state). The assignment statement has restrictions compared to the other uses, namely the left-hand side must be an object, not an expression or literal value. It is inherently directional, as left = right means "set left to the value of right". Mathematical equality is declarative, not imperative. X = Y is just saying that a constraint must be met, not how that constraint should be met if X and Y are not currently equal. Imperative programming requires defining a dependent variable, which cannot always be determined by looking at an equation.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List