News for hackers. Stuff that matters.
Re:Metal for IntelliJ Platform by brundolf on Thursday November 26, 2020 @08:23PM (#25224821)
Now I'm curious to what degree the graphics rendering is responsible for IntelliJ's sluggish, battery-hogging experience on macOS. I wouldn't think it's the main cause, but who knows
Re:Metal for IntelliJ Platform by threeseed on Thursday November 26, 2020 @09:46PM (#25225183)
I have a Hackintosh with an 10980xe and 128GB RAM.

I tried this Metal build and it doesn't make it any faster. Pretty sure it's all of the background indexing and compilation it is doing because there is no app that can push all of my cores to 5GHz like IntelliJ can.

Re:Metal for IntelliJ Platform by Thristle on Friday November 27, 2020 @05:06AM (#25227213)
Indexing completly destroys a CPU. Thats why they are pushing shared indices now
Re:Metal for IntelliJ Platform by brailsafe on Thursday November 26, 2020 @09:27PM (#25225098)
I quite like JetBrains various IDEs, but it would be nicer to have the same functionality built natively on Cocoa or SwiftUI or whatever.
Re:Metal for IntelliJ Platform by s4ik4t on Thursday November 26, 2020 @11:06PM (#25225465)
I think that would slow down the development and that's why not being considered
Re:Metal for IntelliJ Platform by brailsafe on Saturday November 28, 2020 @03:55AM (#25236360)
Nicer, not necessarily practical
Re:Metal for IntelliJ Platform by adamnemecek on Thursday November 26, 2020 @08:28PM (#25224838)
Sluggishness is caused by the fact that it's Java.
Re:Metal for IntelliJ Platform by p1necone on Thursday November 26, 2020 @09:38PM (#25225149)
It's not sluggish at all on Windows and Linux. "Java is slow" is a silly meme, it doesn't reflect reality.
Re:Metal for IntelliJ Platform by somehnguy on Thursday November 26, 2020 @10:14PM (#25225277)
I don't find it to be any more sluggish on my Mac compared to my coworkers on Linux. If anything I have a better experience than them due to various random Linux UI glitchiness (which could probably be attributed to the specific hardware they are using, but still).
Re:Metal for IntelliJ Platform by p1necone on Thursday November 26, 2020 @10:18PM (#25225295)
That's true. It can be a total nightmare trying to configure stable hardware rendering on a lot of linux distro/hardware combos.
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