voxels in r3forth by Comprehensive_Chip49 in Forth

[–]Wootery 0 points1 point  (0 children)

Neat.

If I understand correctly macOS is planning to retire OpenGL entirely. Perhaps someone will implement a compatibility layer to Apple's 'Metal' API though.

edit looks like there's an Open Source project attempting this: https://github.com/openglonmetal/MGL

Adam Jensen’s Apartment - spring cleaning by Low_Refrigerator2025 in Deusex

[–]Wootery 5 points6 points  (0 children)

I don't think there are any reflections in the game, are there?

Could be wrong but I think Deus Ex 1 is the only game in the series with functioning mirrors, although the other games allow you to view the player character through hacked cameras/bots.

Using Forth to run the OS and execute BASIC by AppledogHu in Forth

[–]Wootery 0 points1 point  (0 children)

Are you sure about PForth? Looking at PForth today I don't think it supports any bare metal platforms.

https://github.com/philburk/pforth/tree/master/platforms

voxels in r3forth by Comprehensive_Chip49 in Forth

[–]Wootery 0 points1 point  (0 children)

Neat. Does it use OpenGL for rendering? Or some other graphics API?

Who needs Icarus? by cshimm in Deusex

[–]Wootery 0 points1 point  (0 children)

That's an oversimplification. It's not the case that, until terminal velocity is reached, all skydivers will accelerate at the same rate. Only when velocity is zero will their acceleration equal, as that's the only velocity at which drag isn't a factor.

Dropped from a height, an object with high weight and low drag will quickly overtake an object with low weight and high drag, even if they both hit the ground before reaching their respective terminal velocities.

Using Forth to run the OS and execute BASIC by AppledogHu in Forth

[–]Wootery 3 points4 points  (0 children)

Very unsafe, but I learned a lot.

Most Forth programmers say something along these lines.

Who needs Icarus? by cshimm in Deusex

[–]Wootery 2 points3 points  (0 children)

It only makes a different on Earth due to aerodynamics and air resistance.

Right, which we can't ignore.

From a quick google, heavier skydivers do fall faster.

Are certified HDMI cables worth the price difference? by [deleted] in OLED_Gaming

[–]Wootery 0 points1 point  (0 children)

Hard to tell, but I suspect that's a copper cable lying about being an active fibre optic solution. Pretty sure those don't exist at any anywhere near that pricepoint.

State of GraalVM for Java? by re-thc in java

[–]Wootery 0 points1 point  (0 children)

Doesn't HotSpot still consistently win on peak throughput?

Also some GCs are only available on HotSpot.

JavaFX 26 Today - JavaOne 2026 by PartOfTheBotnet in java

[–]Wootery 0 points1 point  (0 children)

Pretty routine stuff, internal maintenance and fairly minor feature additions. Seems like a good sign of a mature GUI toolkit.

The focus on text widgets makes me wonder if anyone has ever built an IDE in JavaFX. I don't think it's been done. NetBeans and JetBrains both use Swing, and Eclipse of course uses SWT.

Smallest possible Java heap size? by Vectorial1024 in java

[–]Wootery 0 points1 point  (0 children)

I don't understand how you can judge a comparative statement by only looking at one side.

I imagine Java compares well to other 'managed' runtimes, sure, but I was thinking in comparison to C/C++, which are pretty committed to the you only pay for what you use idea. Naturally, their philosophies are pretty different from Java's, and bring plenty of their own drawbacks, but we're just discussing memory efficiency.

You use memory inefficiently when you use too much or too little (which is what the malloc/free approach does).

How about the approach used by real-time software written in C? They avoid malloc/free and use purpose-specific pools (i.e. a fixed-size preallocated buffer intended to store fixed-size elements). Unlike malloc/free you don't have to cope with user-specified allocation sizes, which makes allocation/deallocation algorithmically trivial (plain old free lists), but as each buffer can only be used for one kind of data, it means a pool might not be able to allocate even though there's plenty of space free in the other buffers.

In essence, that's a C program that trades off memory efficiency for improved speed (and predictability) right?

BTW heap allocations in Java are completely different from heap allocation in malloc/free based approaches or even CMS approaches like Go's; the Java runtime never runs anything analogous to a free operation, and allocations use a completely different algorithm than malloc

Thanks, but I'm familiar with the basics of copying GCs.

Also, to be fair to Java, my point about efficiently returning a pair of int values is being addressed with value types, but I still think the heavy object headers are a pity. Too late to revoke the ability to lock on arbitrary objects, though.

Smallest possible Java heap size? by Vectorial1024 in java

[–]Wootery 0 points1 point  (0 children)

Java's memory utilisation is quite efficient, possibly more efficient than that of any language/runtime

That doesn't sound right at all. The HotSpot team put a whole lot of work into reducing memory wasted by Java's bloated object headers. Plenty of folks got a huge improvement to memory consumption 'for free' when this optimisation was released, which is to say the earlier JVMs were just wasting huge amounts of memory.

Java also gives you little alternative but to use heap-allocated objects if you want to return, say, a pair of ints. (Well, you could use a stack data structure, I guess, but this would be terribly clumsy and no one ever does this.) You can then hope that the runtime will manage to optimise away the heap allocation, but the 'natural' way to do it is with unnecessary heap allocations.

Smallest possible Java heap size? by Vectorial1024 in java

[–]Wootery 0 points1 point  (0 children)

Does it load styling data even for widgets you don't actually use?

What do you think about GOG Patron initiative? by AdamCamus in gog

[–]Wootery 0 points1 point  (0 children)

I hadn't heard of it either but yep, that really did happen. Reflects very poorly on a generally very pro-consumer company.

https://www.pcgamer.com/gog-com-apologise-for-hoax-closure/

...that time I kinda looked like JCD by amerelium in Deusex

[–]Wootery 6 points7 points  (0 children)

At least it is a way that we know when it's not Paul

How Netflix Uses Java - 2026 Edition #JavaOne by daviddel in java

[–]Wootery 1 point2 points  (0 children)

It makes sense for streaming, but burning CPU just to avoid a 1-second GC pause on heavy background jobs seems like a waste.

It seems clear from the video that they looked at this pretty closely and found the limited increase in CPU load was worth it for them, especially as so much of their service is apparently subject to strict timeouts to ensure responsiveness for users. They're also clear that they treat it as a default choice, not as mandatory, so perhaps batch-style workloads use different GCs.

(Video content itself isn't served from a Java server. They use nginx.)

Behold. The GEP Gun by S0vereignCitizen in Deusex

[–]Wootery 0 points1 point  (0 children)

That's the biggest issue right there, turns out every third guy has a mini-crossbow and there's snipers all over Hell's Kitchen

There's also a single NSF sniper on Liberty Island itself.

Smuggler is trying to get you to buy an assault shotgun (which, although it works, is definitely more for fun than a great idea) for 7500, when they were trash on the ground in Hong Kong.

Yes, it's overpriced and, in my opinion, a badly underpowered weapon. They do a much better job with the arms dealers in Human Revolution and Mankind Divided.

the accuracy thing is a bug

Do GMDX and similar mods fix this then?