Live data from Hacker News

IntelliJ IDEA and the whole IntelliJ platform migrates to Java 8

blog.jetbrains.com

131–140 of 141 posts

Re: IntelliJ IDEA and the whole IntelliJ platform migrates to Java 8

#131
post #90

Earlier quoted context omitted.

How much heap are you allocating? I was seeing unusually poor performance while working with a large project until I bumped the heap up to 4-6g. It still takes a minute when I open the project but is pretty performant otherwise. Also, I've had to invalidate the cache a couple of times when idea was behaving strangely (over a 5 yr or so period)

Good suggestion; I've cranked it up to 5 GB from the default (0.75, iirc) in case the problems were stemming from the garbage collector spinning. Haven't tried it out yet, but thanks :)

5GB could potentially have a detrimental impact as well, instead of there not being enough memory and causing the GC to have to run aggressively you may simply be causing the GC to pause longer when it runs due to a larger heap of dead objects (the default GC is really bad here, G1 is a lot better). Try starting with 1-2GB, increase past if really necessary (it's been more than enough for me, personally).

Re: IntelliJ IDEA and the whole IntelliJ platform migrates to Java 8

#133

Earlier quoted context omitted.

It's amazing how one man's "pig" can be a ton of other people's "best IDE that there is". At least in the case of Visual Studio...I don't hear quite as many people naming IntelliJ as "the best". Not even close.

The only people I hear calling Visual Studio "the best" are usually .NET developers. Considering their lack of choices I'm not surprised.

Anecdotal counterpoint: I develop java and python at work, C# and C++ at home, use / have used Eclipse, IntelliJ, ST + plugins, vim, Visual Studio Code, and Visual Studio for development. Of all of the above, I've found that Visual Studio is by far the most pleasant to work in environment (for C# and C++), hands down.

Re: IntelliJ IDEA and the whole IntelliJ platform migrates to Java 8

#134
post #90

Earlier quoted context omitted.

Good suggestion; I've cranked it up to 5 GB from the default (0.75, iirc) in case the problems were stemming from the garbage collector spinning. Haven't tried it out yet, but thanks :)

5GB could potentially have a detrimental impact as well, instead of there not being enough memory and causing the GC to have to run aggressively you may simply be causing the GC to pause longer when it runs due to a larger heap of dead objects (the default GC is really bad here, G1 is a lot better). Try starting with 1-2GB, increase past if really necessary (it's been more than enough for me, personally).

In practice it seems to be hovering at around 1-2 anyways. On a side note, I really hate that the JVM requires users to be aware of its heap tuning parameters :/

Re: IntelliJ IDEA and the whole IntelliJ platform migrates to Java 8

#135
post #134

Earlier quoted context omitted.

5GB could potentially have a detrimental impact as well, instead of there not being enough memory and causing the GC to have to run aggressively you may simply be causing the GC to pause longer when it runs due to a larger heap of dead objects (the default GC is really bad here, G1 is a lot better). Try starting with 1-2GB, increase past if really necessary (it's been more than enough for me, personally).

In practice it seems to be hovering at around 1-2 anyways. On a side note, I really hate that the JVM requires users to be aware of its heap tuning parameters :/

One of the reasons why Java is largely relegated as a server-side language, I feel. I write WPF apps on .Net and I never have to worry about what I need to set for my heap size because the frameworks garbage collector just works as I'd expect it to - do the same thing with JavaFX and I feel like tearing my hair out.

Re: IntelliJ IDEA and the whole IntelliJ platform migrates to Java 8

#136
post #65

Java as base platform? Shit, didn't know that, and it totally explains the slowness on anything Can anyone please tell me a reasonably complex GUI program in Java that is actually fast and resource-efficient? Counter-examples include IDEA, Lotus Notes, JDownloader, SAP... I believe that while Java may be a nice programming language, you import slowness and resource starving of your system by using it.

Hm, I write Java for a living (Android) and Java being a nice language would be one of the last things about it to come to my mind...

Android is mostly the Android APIs and 'way of doing things' though. It certainly isn't the same as desktop or Enterprise Java.

I've been writing Java for over 15 years and still don't want to write Android apps in any capacity.

It certainly has quirks and issues (as all languages do) but I'd say it'a as 'nice' (if not more so) as most popular languages.

Re: IntelliJ IDEA and the whole IntelliJ platform migrates to Java 8

#137

Earlier quoted context omitted.

> Maybe it's Oracle releasing new Java versions every two years now, and being more aggressive about end-of-life'ing the prior versions? This is a big part of it. If you want support for older JDKs, you have to pay Red Hat for OpenJDK support. Which isn't even "real" Java, in the eyes of many companies. Add in the clamour of major libraries and platforms pushing everyone to go to Java 8 so they can slash great chunks…

You can also buy support directly from Oracle: http://www.oracle.com/us/technologies/java/standard-edition/... From the above site: * Direct access to secure versions of older releases of Java SE via My Oracle Support * Rigorous and on-going regression testing and fixes for EOL’d versions of Java SE

You're absolutely right. I always forget this one.

Re: IntelliJ IDEA and the whole IntelliJ platform migrates to Java 8

#138
post #65

Earlier quoted context omitted.

Hm, I write Java for a living (Android) and Java being a nice language would be one of the last things about it to come to my mind...

Android is mostly the Android APIs and 'way of doing things' though. It certainly isn't the same as desktop or Enterprise Java. I've been writing Java for over 15 years and still don't want to write Android apps in any capacity. It certainly has quirks and issues (as all languages do) but I'd say it'a as 'nice' (if not more so) as most popular languages.

Well, maybe, but that's because the most popular languages happen not to overlap with particularly nice ones ;)

Java certainly feels dated (I know it's trying to catch up).

Re: IntelliJ IDEA and the whole IntelliJ platform migrates to Java 8

#139
post #121

Earlier quoted context omitted.

Sorry hari, I love intellij and the work you do there, but I do not believe you. Please show me an IntelliJ IDEA that looks and behaves exactly like webstorm and pycharm just with plugins. You can't. For example Pycharm doesn't even have a project settings option. What plugin gives you that?

Are you asking if IntelliJ IDEA can look like PyCharm? If that's the case, no, it can't. Each IDE is somewhat tailored to the specifics of the framework/language/platform as I mentioned, but the functionality that they provide is available as plugins. For instance with WebStorm you can have node.js, angular.js plugins installed in IntelliJ IDEA and get the same features. Obviously, IntelliJ IDEA is a polyglot environ…

Sure, and the UI differences become a big problem though when you want to set something up and cannot find the available documentation for intellij IDEA. The instructions will only be for Pycharm and making the translation of where to find the resource in Pycharm to how to find it in IntelliJ via the plugin can be considerably challening. In addition the special editors also seem to have sane default options added in places. I don't have a specific example, but I remember having trouble setting up a django project in intellij, giving up and buying Pycharm and doing it that way.

I'm very happy for the universal license, thank you so much for adding it. I love the special editors like WebStorm and PyCharm, and I use IntelliJ IDEA as well. I use them all, regularly.

Re: IntelliJ IDEA and the whole IntelliJ platform migrates to Java 8

#140

Earlier quoted context omitted.

HN != Reddit.

you're right. on reddit they would have answered his question instead of giving a snarky response like yours.

HN readers are not five years old; increasingly reductive questions don't help anyone.
Post reply on HN