News for hackers. Stuff that matters.
Re:Metal for IntelliJ Platform by adamnemecek on Thursday November 26, 2020 @10:48PM (#25225410)
It's not a meme. Garbage collected language just can't be used for certain things.
Re:Metal for IntelliJ Platform by samus on Saturday November 28, 2020 @03:19AM (#25236162)
The classic example would be real-time applications where hard envelopes in terms of response times are required and GC pauses must _never_ happen. But even in these cases it is possible to do a lot:

- write garbage-free code (reuse objects and byte buffers, allocate memory off the Java heap and store the pointers in `long`s)

- use a GC that doesn't pause and carefully profile the app to ensure the GC can keep up with the rate of memory allocation

- turn off the GC and cross fringers if the app crashing is considered better than not responding

It's just difficult because most software is written using software patterns that require a GC, which is perfectly fine for many domains.

Re:Metal for IntelliJ Platform by sitzkrieg on Thursday November 26, 2020 @11:29PM (#25225550)
they are great for desktop IDE software though
Re:Metal for IntelliJ Platform by AlchemistCamp on Friday November 27, 2020 @04:52AM (#25227102)
I've found Jetbrain products to be really bloated and sluggish, at least on my machine.
Re:Metal for IntelliJ Platform by kaba0 on Saturday November 28, 2020 @06:12PM (#25241379)
Because they do a ton of things and are full-featured IDEs. Of course it takes more resource than a vim or vscode instance which are only code editors