compiler construction - Massive ERP system using Scala language -


after reading slow compiler , martin odersky's response, worried kick start massive erp product (which heavily funded targets specific industry) using scala language.

edited based on below responses: splitting different modules option. how 1 should doing/planing in large projects. cant solution us.

martin himself admitted (please see above link) java compiler 10 times faster scala (almost 2 years ago). scary us, cant afford waiting hours while builds (e.g when clean build) on dev's machine. martin said not expect miracles in future.


our option using continuous compilation. our intended ide intellij idea.

  1. i not sure how going affect developer's machine/ide's performance?
  2. also when click save, try compile code file busy writing?

some guidance appreciated.

thanks
mk

compilation speed not 1 of scala's strengths, can potentially limit how affects structuring large project set of smaller ones tree-like dependency (e.g. core utilities; core library depends on utilities; database interface depends on core , external database library; etc.). during development cycles can pretend you're working smaller project , reserve larger builds relatively rare events.

my largest project small (under 5 minutes compile time; 40k loc), have subdivided in such fashion means have wait longer minute complete. require discipline maintain, , refactoring (as move common blocks of code leaves of tree, fast recompile, root instead of duplicating it), has worked me.


Comments

Popular posts from this blog

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -