Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
thebluesky
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
61.
▲
by
thebluesky
14y ago
Glad to see this. As a longtime Java developer I've found Scala has made coding for the JVM fun again.
62.
▲
by
thebluesky
14y ago
Glad to see Bruce Eckel involved. It's interesting to see just how many Scala books have been cranked out in the last 6-12 months or are currently in progress.
63.
▲
by
thebluesky
14y ago
Seems he forgot the link. Another excellent book for learning Scala is Scala for the Impatient. The first 9 chapters are free: http://horstmann.com/scala/
64.
▲
by
thebluesky
14y ago
I also found that interesting, but not a big surprise since he is one of the co-authors of go...
65.
▲
by
thebluesky
14y ago
You'll get similar results for most benchmarks. Languages such as Ruby/Perl/Python are consistently slower than Java. There's no such thing as a perfect benchmark, but I've found the language shootout page to be a pretty accurate reflection
66.
▲
by
thebluesky
14y ago
Figuring our how core libraries such as the collections framework work is pretty easy if you get a good book like Scala for the Impatient.
67.
▲
by
thebluesky
14y ago
Yeah that seems to happen if you leave type aware highlighting enabled. Seems to work well with that switched off.
68.
▲
by
thebluesky
14y ago
If it took you hours to get hello world working perhaps you should consider going back to school?
69.
▲
by
thebluesky
14y ago
Java has been pretty fast since it used a JIT circa 1998. The main reason it got a bad rap was that it needed tens of MB of memory for basic apps. This means that folks with their Pentium I's and II's with 64MB RAM perceived Java as slow si
70.
▲
by
thebluesky
14y ago
There isn't an IDE with a scala plugin that fully supports scala IntelliJ provides an excellent free scala plugin. What have you been using?
71.
▲
by
thebluesky
14y ago
High school students all over the world are quite happy to write Java code like that without any issues.
72.
▲
by
thebluesky
14y ago
Java is slow ... It scalability is a joke. I've worked as a Java contractor at a number of places and what a PERL/PHP/Python solution can get done in 5 boxes, it takes Java 30-40 boxes. This is NOT an exagerration. Hard to believe this
73.
▲
by
thebluesky
14y ago
For a language that will "never be mainstream" it seems to be picking up steam pretty fast. We're very happy with it. Sensibly written Scala code is much easier to read than Java, and that's coming from someone who has been using Java for
74.
▲
by
thebluesky
14y ago
Tumblr and Twitter don't strike me as a particularly conservative audience. Quite the opposite.
75.
▲
by
thebluesky
14y ago
...except that most of the features you mention are in Scala in some for or another, yet he classifies Scala as "hardcore conservative"
76.
▲
by
thebluesky
14y ago
Yegge: http://www.urbandictionary.com/define.php?term=Yegge "A measurement of length of a piece of writing, particularly when indicating a length excessive for the genre. A Yegge is approximately 4000 words or 25 kilobytes. Named for wel
77.
▲
by
thebluesky
14y ago
It seems very subjective (and somewhat arbitrary) to assign labels of "conservative" or "liberal" to languages based largely on type safety. If this random blog post is taken as the definitive source of "conservative" vs "liberal" we get th
78.
▲
by
thebluesky
14y ago
Does anyone have any benchmark numbers for either?
79.
▲
by
thebluesky
14y ago
yeah free version supports Java SE, with a really nice Scala plugin for download via the plugin manager.
80.
▲
by
thebluesky
14y ago
Yeah, from the site it looks like they are running "true native applications", so probably using native UI widgets.
81.
▲
by
thebluesky
14y ago
Citation?
82.
▲
by
thebluesky
14y ago
The inclusion of type information for method parameters makes for some pretty nice tooling. Check out the error checking and code completion at around 30:00
83.
▲
by
thebluesky
14y ago
Another citation from 4 years ago for good measure: http://www.oracle.com/us/technologies/java/oracle-jrockit-re...
84.
▲
by
thebluesky
14y ago
Fair point. Thanks for pointing that out. > "While there are some great JVM GCs, I wouldn't walk away with the impression that the .NET folks are behind by any means. " Can the .NET GC provide deterministic real-time collection pauses?
85.
▲
by
thebluesky
14y ago
> Perhaps you wanted to use a different link? This one says that it [ruby] is ~10 times slower [than C#]? The link is correct. See the "code" section where Ruby has 2-3x less code. I won't disagree about Ruby being much slower than C# a
86.
▲
by
thebluesky
14y ago
The point my original post makes is that .NET having concurrent GC is not exactly groundbreaking. This doesn't have anything to do with the so-called expressiveness of C# relative to Ruby. >The bytecode language is not standardized, and
87.
▲
by
thebluesky
14y ago
> built a multiple language oriented vm that enables language features so varied that even the standard java-like language C# rivals ruby and python in expression Since the JVM happily runs Ruby, Groovy, Clojure, Python, Scala the point
88.
▲
by
thebluesky
14y ago
The world has moved on to more advanced concurrent GC implementations. Citations above.
89.
▲
by
thebluesky
14y ago
> "The new background server GC in the .NET Framework 4.5 offloads much of the GC work associated with a full blocking collection to dedicated background GC threads that can run concurrently with user code, resulting in much shorter (le
90.
▲
by
thebluesky
14y ago
That is seriously impressive. How many universities get the creator of a language in to teach you how to use it?
More ›