Live data from Hacker News

IntelliJ IDEA 2021.1

blog.jetbrains.com

11–20 of 77 posts

Re: IntelliJ IDEA 2021.1

#11

Anyone else who finds the idea of having someone poke around in your IDE creepy or a potential security issue, it's possible to disable the Code With Me plugin which is enabled by default.

Why? It's meant for pair programming and has already been done as "Live Share" in Visual Studio / Visual Studio Code. It's a way to work together in only what you give the guest access to.

Re: IntelliJ IDEA 2021.1

#12
post #5

Started off as very slow on a not-terribly large project > cache cleanup > does not even start without trashing the .idea folder anymore > still slooow. Command + space takes forever (=seconds) to show the context menu. IntelliJ feels like a proper IDE now :).

It works great if you give it enough memory. It is a memory hog but its the best IDE I've ever used.

They really need to update the default memory footprint. The 750MB default isn't enough for any projects these days and they don't exactly make it obvious how to update it to 2-4GB.

Re: IntelliJ IDEA 2021.1

#13
I have used IntelliJ as my code editor in the past. Too slow to run for a decent pc. I switched to Visual Studio Code and never looked back. Well, I hope they will add more optimization fixes in their next update.

Re: IntelliJ IDEA 2021.1

#14
post #5

Started off as very slow on a not-terribly large project > cache cleanup > does not even start without trashing the .idea folder anymore > still slooow. Command + space takes forever (=seconds) to show the context menu. IntelliJ feels like a proper IDE now :).

You have a good point. I have found myself using PyCharm a lot in the last year and switching to a M1 MacBook really helped speed up PyCharm.

Re: IntelliJ IDEA 2021.1

#15
post #9

Earlier quoted context omitted.

Has always been fast for me and Idea has been the best java IDE around. What specs do you run and how large is your project?

As someone who switches between doom emacs and intellij: If you have to ask questions like, "What specs do you run and how large is your project?" it is slow.

Does Doom Emacs provide the same functionality as IntelliJ IDEA?

Re: IntelliJ IDEA 2021.1

#17
post #5

Started off as very slow on a not-terribly large project > cache cleanup > does not even start without trashing the .idea folder anymore > still slooow. Command + space takes forever (=seconds) to show the context menu. IntelliJ feels like a proper IDE now :).

The problem is that Intellij is written in Java, using the hotspot JVM, which is JIT compiled.

But IDEs, especially fully featured IDEs, are a terrible type of workload for JIT compilation. They're full of branches, which can easily cause recompilations, and the breadth of features mean that there is never really a spot hot enough to stay compiled outside of the editor itself.

I really wish AOT compilation was taken more seriously in the JVM world. Yes, I know about graal native-image and the various embedded commercial JVMs, but those are niches. It would be great if I could just precompile using O3 level compilation for a whole app using a standard JVM, and not have to worry about the weird and hard-to-debug performance fluctuations that come with JITs.

Re: IntelliJ IDEA 2021.1

#18
post #5

Started off as very slow on a not-terribly large project > cache cleanup > does not even start without trashing the .idea folder anymore > still slooow. Command + space takes forever (=seconds) to show the context menu. IntelliJ feels like a proper IDE now :).

It works great if you give it enough memory. It is a memory hog but its the best IDE I've ever used.

> It is a memory hog

This is different from my experience, when working on Java projects with a few thousand source files and about 1 million SLoC.

  Eclipse - had some problems with the autocomplete being slow to open, IDE was overall unresponsive and used around 2 GB of RAM
  NetBeans - the cache folder filled up weirdly quickly (though that was NetBeans 8.2 not the new Apache NetBeans), but the IDE worked fine with around 1.5 GB of RAM usage
  JetBrains - project was slow to open (+while indexing), but the IDE performs okay with 0.5 - 1 GB of RAM usage (though more needed when running/debugging)
Currently i have a computer with 24 GB of RAM and an 8 core CPU, both of those seem sufficient but in my experience the IDE isn't the main thing consuming memory, it's actually all the services you might want to launch through it (if you need breakpoints across multiple ones).

Of course, this would become more of an issue if you have something like 4 or 8 GB of RAM available.

Disclaimer: this is anecdotal data and i may be wrong in regards to latest versions of the IDEs, since i only use JetBrains products nowadays.

Re: IntelliJ IDEA 2021.1

#19
post #12

Earlier quoted context omitted.

It works great if you give it enough memory. It is a memory hog but its the best IDE I've ever used.

They really need to update the default memory footprint. The 750MB default isn't enough for any projects these days and they don't exactly make it obvious how to update it to 2-4GB.

You can use the action "change memory settings".

Re: IntelliJ IDEA 2021.1

#20

Earlier quoted context omitted.

As someone who switches between doom emacs and intellij: If you have to ask questions like, "What specs do you run and how large is your project?" it is slow.

Does Doom Emacs provide the same functionality as IntelliJ IDEA?

No. Which is probably a big part of it.

The thing is, as far as I can tell, there's a very high overlap between the list of features I don't use, and the list of features that contribute to the sluggishness.

Post reply on HN