Friday, December 30, 2011

my eclipse.ini

Just discovered how to tweak and optimize eclipse startup and running performance:

startup
plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.v20110505
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Djava.library.path=/usr/lib/jni
-Dosgi.requiredJavaVersion=1.5
-XX:PermSize=256m
-XX:MaxPermSize=256m
-XX:+UseParallelGC
-Xms1024m
-Xmx1024m
-Xss4m

sources:
http://stackoverflow.com/a/7776565/376240

http://www.beyondlinux.com/2011/06/25/speed-up-your-eclipse-as-a-super-fast-ide/

Thursday, December 8, 2011

java's shortcomings

Will keep adding to this list as and when I get more information.

Here are some things I take for granted in Python (and sometimes in C++ too) that aren't available in Java:

- it doesn't have support for multiline strings
- it doesn't support switching on strings (at least until jdk7)