Feb. 17th, 2010

juan_gandhi: (Default)
Right; we had yet another Bay Area Scala meeting at Linkedin last night. Martin Odersky came to answer questions; questions were posted, and, after pizza and beer, Martin and Josh were answering questions.

I do not thing I remember much, but here are two questions:

- How about improving enumerations in Scala? ([livejournal.com profile] _navi_)
M.O.: Well, there's not much that can be done; you can always use reflection. I do not want to always create a new class for each enum instance, so...

- What do you think about Java 7 with the promised closure, will they undermine the current interest in Scala?
M.O.: Actually, it is too little too late. To properly use closures, you have to rework libraries, collections especially. Nothing like this can be expected any time soon. So Scala rules here. One positive thing is that now Scala solutions, that is, including closures, are not any more considered weird exotic: if "even Java" has closures, it is mainstream. The difference being that in Scala they are a part of culture.

- How did it happen you started a language?
M.O.: When, after working for some time on Java, I joined EPFL, I decided to take a step back (and it was 1999, Java was the king); and I valued a lot the thing that he could do the blue sky research. What we did was
purely fundamental/academic. We wrote a little language called funnel (built on joint calculus (concurrency), it was object-oriented. It was just bare-bones. Then we tried to use it, and it did not work in practice. It was a minimalistic language, it was boring to use. So I decided to do a richer language, make it as convenient as java. I first used it at an FP class at EPFL - told the students: "we use our own stuff: write a scala compiler!" So the whole class was working with an experimental language. The students were extremely forgiving. Then the language gradually settled down.

There was a question regarding alternatives to Scala Swing; John said the best alternative is Scala Swing, so there.

And there was socializing; so my question was answered (will write on it in the other post here).
juan_gandhi: (Default)
Во-первых, у нас в губернаторы баллотируется Принц Фридрих Анхальт, известный также как "Девятый Муж Жа Жа Габор". Принц обещает будущим подданным легализацию кубинских сигар, марихуаны и проституции.

Видит Кришна, если дойдёт до голосования, я проголосую за него. Денежки он, конечно, все спустит, но хоть повеселимся. А с Калифорнией ничего не сделается (имхо).

Во-вторых, пока мы утром ржали, в Восточном Пало Альто, в густом тумане, самолётик (сесна) на взлёте зацепился за ЛЭП (12кв), и рухнул, горящий, на детский сад. Странным образом, детей там не было, и вообще никто на земле не пострадал (все как бы разбежались), но трое, что были в самолёте, погибли, конечно. Один из них какое-то важное лицо из Tesla Motors. details
juan_gandhi: (Default)
- Do you guys have pointers in Java?
- Only null pointers, as an exception.
juan_gandhi: (Default)
Почему все кругом такие тупые?

Ну не все, конечно. Я о том, что надо быть более открытыми в смысле что сейчас же революция в софтвере происходит, ну. Хрен ли тормозить да бояться всего?
juan_gandhi: (Default)
A Hint of Hubris
By Larry Diehl


"Ruby is a highly dynamic language with impressive capabilities for runtime redefinition of classes, objects, methods, and variables. Haskell, on the other hand, is a purely functional language that confines mutation within a sophisticated static type system. Given their many differences one or the other may be more suited for whatever problem you might be working on (see polyglot programming), but sometimes, a mix of both would be even better. Thanks to Hubris, you now have that option!

Hubris is a gem that allows you to call out to natively compiled Haskell shared objects. In this post, I’ll talk a bit more about why you might want to do that, how you’d go about doing that, and share some real world examples."


"Hubris is a bridge between Ruby and Haskell, between love and bondage, between slothful indolence and raw, blazing speed. Hubris will wash your car, lie to your boss, and salvage your love life. If you are very, very lucky, it might also let you get some functional goodness into your ruby programs through the back door.

I probably don't have to say this, but patches are very much welcome. If you have trouble installing it, tell me, and help me improve the docs."
juan_gandhi: (Default)
А ещё сегодня с утречка показывали, как в Окленде в автобусе один мордастый чорный пацан с косичками решил дедушку наказать за неуважительные речи; наказать чёта не получилось: после первой попытки удара дедушка встал да так, полупрофессионально, навалял пацану, что тот на коленках стоял, закрывал уши и, небось, прощения просил.
У дедушки футболка классная.


И кончается кино на оптимистической ноте.

П.С. Вторая часть мармизонского балета:

Profile

juan_gandhi: (Default)
Juan-Carlos Gandhi

May 2025

S M T W T F S
    1 2 3
456 7 8 9 10
11 121314151617
181920 21 222324
25262728293031

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated May. 23rd, 2025 10:48 am
Powered by Dreamwidth Studios