Feb. 15th, 2009

juan_gandhi: (Default)
Поставил я недели три назад себе jprofiler, попрофилировать одну дурацкую программу для одной амбициозной конторы. Попрофилировал и забыл; испытательный срок jprofilera закончился, ну и всё. И вот перестартанул я машину, запускаю эклипс - виснет. А в логе пишет: джейпрофайлер плагин, коварный, не даёт жить.

Ну ё, ну ребята. Ведь не 1991-й же год, чтобы такую козу устраивать юзерам. Не работаешь - и не работай, но зачем же эклипса подвешивать!

Всё, после убийства профайлера эклипс стартанул мгновенно. Вот же врази рода человеческаго, а.

scala rant

Feb. 15th, 2009 05:34 pm
juan_gandhi: (Default)
First, let's talk about sets.

First, two sets are equal if they have equal elements (I hope you know what I mean), order does not matter.
Second, a serious contemporary program should work with lazy collections.

What lazy collections do we have in Java? Seq and Stream.
Do we have any kind of Set implementation based on Seq or Stream? No.

All we have is a non-lazy, concrete Set, with the choices of HashSet, TreeSet, or the usual bunch from Java in collections.jcl.

So, what should I do? I got a feeling I need to implement AbstractSet in Scala! Sequences, streams, I don't care about them, they are very different.

I'd listen to your opinions, though, before starting it. Basically, I'm not now 100% sure that Scala is the right language.

Meanwhile, you can enjoy this nice reading from mid-nineties: HashTable.scala.

Profile

juan_gandhi: (Default)
Juan-Carlos Gandhi

September 2025

S M T W T F S
 1 2345 6
78 9 10 111213
14 151617 181920
21222324252627
282930    

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Sep. 20th, 2025 04:47 am
Powered by Dreamwidth Studios