News for hackers. Stuff that matters.
Re:Ask YC: Ruby and Lisp devs, please answer this (Not a fla... by gregwebs on Monday January 14, 2008 @02:13PM (#98254)
There is another facility ruby and lisp lack- a good typing system- which you can find in languages like Haskell.
Re:Ask YC: Ruby and Lisp devs, please answer this (Not a fla... by Tichy on Monday January 14, 2008 @05:01PM (#98323)
I stopped reading the Haskell tutorial when I came to the part where arrays have to be homogeneous (or something like that, basically all elements in the array have to have the same type, if I remember correctly). That is one of the things that is most annoying in Java, so why put up with it in another language?

In a similar vein, I wonder about the Erlang hype - some things are really impractical to do in Erlang, for lack of syntactic sugar and the immutable memory constraint. People were always bickering about the constraints in Java (no multiple inheritance and stuff like that), so why choose another language with impractical constraints instead?

Re:Ask YC: Ruby and Lisp devs, please answer this (Not a fla... by jfoutz on Monday January 14, 2008 @08:28PM (#98450)
This is a little tricky, Types can be pretty broad. First, you could define a tree type with all sorts of different leaves, you could have a list of tree parts, something like:

Tree = Branch Tree Tree | ILeaf Int | SLeaf String

then a list like [ILeaf 1, SLeaf "foo"]. Another way to go takes advantage of type erasure. Currently it's just a popular extension but it lets you have lists of stuff in the same type class.

A good example is "Show" you can have a list off stuff that knows how to turn itself into strings. always a handy thing.

Basically you get the big two, group things based on what they are, or group things based on what you can do to them.

Perhaps there is a big pile of random stuff you want to hang on to, but i'd bet 99.9% of the time you really want to collect the stuff into a coherent type.

Re:Ask YC: Ruby and Lisp devs, please answer this (Not a fla... by sspencer on Monday January 14, 2008 @02:18PM (#98256)
Some would call that a feature, not a bug.
Re:Ask YC: Ruby and Lisp devs, please answer this (Not a fla... by kyle-burton on Monday January 14, 2008 @05:31PM (#98345)
There is a Lisp extension? library? that supports strong typing, it's called Qi: http://www.lambdassociates.org/
Re:Ask YC: Ruby and Lisp devs, please answer this (Not a fla... by sabat on Monday January 14, 2008 @03:12PM (#98273)
Lack of strong typing in a language is usually on purpose (dynamic typing). But sometimes you want it. I like the idea of optional strong typing in a language.

Perl6, may it rest in peace, had that feature in its spec.

Re:Ask YC: Ruby and Lisp devs, please answer this (Not a fla... by capablanca on Monday January 14, 2008 @04:19PM (#98297)
Btw, will Arc ever be open-sourced?

I'd love to just sudo apt-get install arc in this lifetime.

Re:Ask YC: Ruby and Lisp devs, please answer this (Not a fla... by pg on Monday January 14, 2008 @05:07PM (#98330)
For once, I will answer this question: yes, soon. This winter, I hope.
Re:Ask YC: Ruby and Lisp devs, please answer this (Not a fla... by kirubakaran on Monday January 14, 2008 @07:55PM (#98435)
We are waiting to type:

  git clone git://ycombinator.com/arc.1.0.0
Re:Ask YC: Ruby and Lisp devs, please answer this (Not a fla... by stevecooperorg on Tuesday January 15, 2008 @05:20AM (#98633)
Nah. We're waiting to download the windows msi file, which optionally installs a Visual Studio integration doodad and an eclipse plugin.

At least, that's what the people who want to become lisp programmers want. It's probably not what the current lisp programmers want. Hey ho. Just don't make emacs the default development environment.

Re:Ask YC: Ruby and Lisp devs, please answer this (Not a fla... by kirubakaran on Tuesday January 15, 2008 @09:06AM (#98670)
Emacs won't be default. pg uses vi. He highlights code segments and drags&drops them to repl.
Re:Ask YC: Ruby and Lisp devs, please answer this (Not a fla... by stevecooperorg on Wednesday January 16, 2008 @12:24PM (#99336)
Heh. Can't say that vi makes me feel much better ;)

Pg has a lot of people fired up about using lisps, but right now it's a sport you can only participate in if you've got a certain -other- set of skills like vi and emacs and a decent knowledge of system administration. Preconditions like this limit the user community massively. Small communities find it difficult to get momentum.

I've forced myself to stick with emacs/slime because basically that's that there is. I'm getting comfortable, and starting to like it. But I think it's actually a kind of Helsinki syndrome...

I'd like to write the next Viaweb, and I'd like to write it in Lisp. But if the basic language is inviting, the rest of the environment is sorta hostile; a shangri-la in a swamp.

So the quality of the installer, the libraries distributed with it, the documentation, and the bundled editor will ultimately affect it's success.

Re:Ask YC: Ruby and Lisp devs, please answer this (Not a fla... by AcMC9wk0W5 on Tuesday January 15, 2008 @12:25PM (#98741)
I am interested foremost in reading a description or specification of Arc, not using an implementation.
Re:Ask YC: Ruby and Lisp devs, please answer this (Not a fla... by Xichekolas on Monday January 14, 2008 @10:16PM (#98490)
Just to continue this meme (YC's first?)...

I look forward to typing:

  emerge -av arc
Re:Ask YC: Ruby and Lisp devs, please answer this (Not a fla... by chrisdone on Tuesday January 15, 2008 @02:00AM (#98592)
I am waiting to type:

    darcs get http://ycombinator.com/arc
Re:Ask YC: Ruby and Lisp devs, please answer this (Not a fla... by blinks on Tuesday January 15, 2008 @12:35PM (#98748)
To complete the trinity: hg clone http://ycombinator.com/arc
Re:Ask YC: Ruby and Lisp devs, please answer this (Not a fla... by kirubakaran on Monday January 14, 2008 @11:13PM (#98532)
I meant:

  git clone git://archub.com/arc.1.0.0
Re:Ask YC: Ruby and Lisp devs, please answer this (Not a fla... by tjr on Monday January 14, 2008 @07:18PM (#98414)
Very exciting.

Should we arrange another Lightweight Languages day at MIT for this?

Re:Ask YC: Ruby and Lisp devs, please answer this (Not a fla... by weel on Friday January 18, 2008 @07:08AM (#100270)
More generally, somebody should arrange another Lightweight Languages day at MIT no matter what. Or maybe a Lightweight Languages days somewhere else. And wherever "they" organize it, it would be awesome if they could manage to webcast it and have people who cannot attend pose questions through IRC.

I attended Lightweight Languages once and it was awesome. Informal, a large variety of smart people, but each smart in their own way, that had a lot to genuinely learn from each other.

Sadly, conferences, even comparatively small and informal once, take some effort and some money to put together, and frankly it's not going to be me who is capable of coming up with either.

Re:Ask YC: Ruby and Lisp devs, please answer this (Not a fla... by tjr on Thursday January 17, 2008 @01:58PM (#99894)
Will the source to news.yc also be released, as a non-trivial example program?
Re:Ask YC: Ruby and Lisp devs, please answer this (Not a fla... by sammyo on Tuesday January 15, 2008 @09:36AM (#98678)
Do you know what kind of animal will be on the Oreilly cover?
Re:Ask YC: Ruby and Lisp devs, please answer this (Not a fla... by kirubakaran on Tuesday January 15, 2008 @11:35AM (#98723)
Archaeopteryx - The First Bird

http://en.wikipedia.org/wiki/Archaeopteryx

Re:Ask YC: Ruby and Lisp devs, please answer this (Not a fla... by jsmcgd on Tuesday January 15, 2008 @11:44AM (#98724)
It's not exactly a looker.
Re:Ask YC: Ruby and Lisp devs, please answer this (Not a fla... by kirubakaran on Tuesday January 15, 2008 @12:14PM (#98735)
Still the very first bird, to which we owe Thanksgiving, Hot Wings and Avian Flu.
Re:Ask YC: Ruby and Lisp devs, please answer this (Not a fla... by jsmcgd on Tuesday January 15, 2008 @08:48PM (#99003)
Fair enough. Credit where credit's due.
Re:Ask YC: Ruby and Lisp devs, please answer this (Not a fla... by lg on Thursday January 17, 2008 @06:54PM (#100062)
PG: Can an arc instance distribute its threads across multiple cpu's? I'm not asking "can-in-principle" but rather whether the current implementation has that feature.