Employ Scala's Native Compiler in Scala for NetBeans

>>> Updated 3 hours later
Fixed document displaying and go to declaration for Java element.
Please update to Scala Editing version 1.1.4
======

Well, it's a fairly long time after I latest blog about Scala for NetBeans. I was busy on several things, and can only work on this project on my spare time.

The good news is that I've integrated Scala's native compiler into this handy plugin, it means that the error messages shown in the editor will be the same as building now. And, the auto-completion feature is totally rewritten too, which also use AST tree that was created by Scala's native compiler to get all the candidate content assistant items.

The only problem is that the Java's document comments and offset to be go to when press CTRL + Click does not work properly yet, I have several way to resolve it, but I'm looking for a best way.

Another exciting news is that I've been invited to join NetBeans Dream Team, and of course, I accepted this invitation.

I'm planning to get Scala plugin for NetBeans to beta release in August, which will be compatible with NetBeans 6.5

Comments

1. Tor Norbye -- 2008-07-15 09:00

That's fantastic news!!! Way to go!

2. Daniel -- 2008-07-15 09:00

Does the plugin work in NB 6.5 dev builds, too?

3. Caoyuan -- 2008-07-16 09:00

Daniel, yes, I think it works in NB 6.5 dev builds.

4. Eastsun -- 2008-07-16 09:00

good news

5. Dudi -- 2008-07-18 09:00

Hi Caoyuan,

I am very interested in AIOTrade, especially Neural Network module for prediction. I have downloaded binary and run but do not know how to run Neural Network. Then I downloaded SVN opencommunity and build it as documented in README.TXT, again find nothing to run Neural Network.

Could you please inform me how to activate that module as you presented in your post "Prediction 4 Months Ago and Actual Trends Today, by Neural Network" ?

Thank you very much before, Dudi

6. Alex -- 2008-07-18 09:00

Hi Caoyuan,

Do you still plan to work on erlybird? sf.net contains old(0.15x) code, is there any way to see/get latest erlybird code?

Thanks

7. Caoyuan -- 2008-07-18 09:00

Dudi,

AIOTrade is pending now, I'm planning to rewrite it in Scala. Source code of Neural Network is there, but lack GUI/Doc to handle it, I have no plan to enhance this.

Alex, ErlyBird will be rewritten too in the near future, currently only, suit on sf.net is available.

8. Vladimir Kelman -- 2008-07-30 09:00

Hi Caoyuan,

Thank you for excellent plugin. I have just completed my 'A novice Scala programmer: Eclipse vs. IntelliJ IDEA vs. Netbeans.' mini-series and would appreciate any comments.  http://pro-thoughts.blogspot.com/2008/07/novice-scala-programmer-eclipse-vs_3251.html

9. donaldjeo -- 2010-05-17 11:21

In my time wasting activities on  70-562 free dumps geeky social news sites, I’ve been seeing more and more articles about Scala. The main reasons I became interested in Scala are 1) Scala is an OO/FP hybrid, and I think that  70-620 braindump any attempt to introduce more FP concepts into the OO world is a good thing and 2) Scala’s Actors library is heavily influenced by Erlang, and Scala is sometimes mentioned in the same context as Erlang as a great language for building scalable  70 - 621 exam pass concurrent applications.

A few times, I’ve seen the following take on the relative mertis of Scala and Erlang: Erlang is great  70-632 for concurrent programming and it has a great track record in its niche, but it’s unlikely to become mainstream because  testking 70-640 it’s foreign and it doesn’t have as many libraries as Java. Scala, on the hand, has the best of both worlds. Its has functional semantics, its Actors library provides Erlang  70-642 exam style concurrency, and it runs on the JVM and it has access to all the Java libraries.  testking 70-646 This combination makes Scala it a better choice for building concurrent applications, especially for companies that are invested in Java.

I haven’t coded in Scala, but I did a good amount of research on it and it looks like a great language. Some of the best programmers I know rave about it. I think that Scala can be a  testking 70-647 great replacement for Java. Function objects, type inference, mixins and pattern matching are all great language features  70-648 braindump that Scala has and that are sorely missing from Java.

Although I believe Scala is a great language that is clearly superior to Java, Scala doesn’t supersede Erlang as my language of choice for building high-availability, low latency, massively concurrent applications. Scala’s Actors library is a big  braindump improvement over what Java has to offer in terms of concurrency, but it doesn’t provide all the benefits of Erlang-style concurrency that make Erlang such a great tool for the job. I did a good amount of research into the matter and these are the important differences I think one should consider when choosing between Scala and Erlang.  testking 70-680 (If I missed something or got something wrong, please let me know. I don’t profess to be a Scala expert by any means.)