News for hackers. Stuff that matters.
Re:Scheme to become two languages by jknupp on Friday August 21, 2009 @11:49AM (#777740)
Actually, it's not being split at all. There's going to be a "small" variant that is a proper subset of the "large", or complete variant. Small would just be a reduced feature set.
Re:Scheme to become two languages by cesare on Friday August 21, 2009 @01:15PM (#777980)
This is a great idea.

To keep a standard subset for lightweight implementations (which are better suited for embedded systems, or for being embedded as a scripting language). How cool is this?

Edit: not to mention that a greater portability among the full featured implementations would be even more cool.

I'm so happy to see Scheme alive and kicking.

Re:Scheme to become two languages by runinit on Friday August 21, 2009 @02:23PM (#778126)
I'm currently planning out a project that involves building a OSC controller using an ARM chip. I hope I will be able to use scheme to write the firmware for the device, that would be swell (and much more fun than using ASM).
Re:Scheme to become two languages by coryrc on Friday August 21, 2009 @04:49PM (#778433)
Pre-scheme.

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

I experimented with other languages/things before for embedded programming. I think forth would be great if it worked the way my brain does. Otherwise, there are good reasons everybody uses C.

Re:Scheme to become two languages by MaysonL on Friday August 21, 2009 @04:26PM (#778384)
Check out this: http://arcfn.com/2009/08/arc-arduino-arm-temperature-monitor...

The guy is running an Arc (pg's Lisp, currently implemented in mzscheme) web server on his Arm-based SheevaPlug.

Re:Scheme to become two languages by kragen on Friday August 21, 2009 @03:29PM (#778258)
How do you like Lua?
Re:Scheme to become two languages by runinit on Friday August 21, 2009 @03:58PM (#778313)
I have very little experience programming so i figured an embedded system would give me a good "ground up" approach to learning some programming. I've heard good things about lua, i was considering ADA (rock solid stability is key for this project) or smalltalk. I'm still in the planning stages of everything involving this project and infact i'm going to build a midibox first to get familiar with embedded systems and circuit design. Some people have made some impressive controllers, and synths with the project.

http://www.midibox.org/ http://www.ucapps.de/

Re:Scheme to become two languages by kragen on Friday August 21, 2009 @06:03PM (#778583)
Oh, well, you should try some stuff before you make up your mind, then. Ada and Smalltalk couldn't be much more different.
Re:Scheme to become two languages by apotheon on Friday August 21, 2009 @12:53PM (#777921)
This kinda looks like a linkjacked version of that:

http://news.ycombinator.com/item?id=777666

Re:Scheme to become two languages by silentbicycle on Friday August 21, 2009 @02:12PM (#778107)
It's on Lambda the Ultimate, which is a well-known programming language theory discussion site. While the link could have been to the steering committee statement, the signal-to-noise ratio for LtU's discussion will probably be on par with HN's.

It's worth browsing their archives (http://lambda-the-ultimate.org/classic/lambda-archive1.html) sometime, when you have a couple hours. Great stuff. (I'm only posting the link because it's a Friday afternoon. ;) )

Re:Scheme to become two languages by apotheon on Friday August 21, 2009 @03:11PM (#778221)
Oh, I read stuff there from time to time, and it's often interesting. I just didn't see anything in the original posting at LtU that made me think "Yes, it was definitely important to submit this instead of the actual meat of the matter."
Re:Scheme to become two languages by apgwoz on Friday August 21, 2009 @02:38PM (#778160)
I linked to it specifically for the discussion that LtU has on the matter.
Re:Scheme to become two languages by apotheon on Friday August 21, 2009 @03:13PM (#778226)
Fair 'nuff. Upvoted.

I just don't usually like to read discussion in two separate places of the same topic. It gets tedious. I guess it's a matter of personal taste.

Re:Scheme to become two languages by apgwoz on Friday August 21, 2009 @03:25PM (#778245)
Ordinarily I'd agree with you. However, this is a case where the insights of a more specialized community on programming languages makes sense.
Re:Scheme to become two languages by apotheon on Friday August 21, 2009 @04:01PM (#778328)
You're probably right. I'm still feeling too lazy to sift through it, though. I'd rather just deal with one discussion context, and spend the free time I would have spent on the other discussion context reading SICP instead.

edit: Part of the problem is that I don't like the LtU discussion presentation as much as HN's, I'm sure.

Re:Scheme to become two languages by Tichy on Friday August 21, 2009 @11:50AM (#777744)
Why do languages always have to evolve? On average, do languages get better over time or do they deteriorate? I am sure that Java has deteriorated a lot.

Keep it simple, please!

Re:Scheme to become two languages by gnaritas on Friday August 21, 2009 @12:13PM (#777818)
Java was never simple. Scheme is simple, Smalltalk is simple, Java was always a beast.
Re:Scheme to become two languages by Tichy on Friday August 21, 2009 @12:47PM (#777909)
Probably, but they still managed to make it far worse (generics, annotations, ...).
Re:Scheme to become two languages by modoc on Friday August 21, 2009 @01:14PM (#777974)
I'm much happier with jdk 1.5 than I was with 1.4 or 1.3 or 1.2 etc.... Not sure why you don't like the new additions. In general you don't have to use them if you don't want to.
Re:Scheme to become two languages by gloob on Saturday August 22, 2009 @02:35AM (#779098)
Not sure why you don't like the new additions. In general you don't have to use them if you don't want to.

I don't really disagree with you. That said, it's a little bit of an opt-out, in the same sense that arguing that C++ is just as clean as C because "you can avoid all the ugly weird parts if you really try" is something of an opt-out. (I'm not trying to comment on the relative merits of C++ and C (edit: or, for that matter, on Java <1.5 vs. Java >=1.5), so much as on the relative levels of simplicity of the two languages, just to make certain that's clear).

Re:Scheme to become two languages by lsd5you on Friday August 21, 2009 @01:35PM (#778026)
Neah. Generics are useful. Not perfect, but useful. They also happen to be optional.

The language evolution has been good, but too slow.

Even the platform evolution has been good, they have (and perhaps still) set the standard for many types of libraries.

My main issue is the growth of the platform (to what, 200mb?). I would like a much tighter standard library. In an ideal world, Swing, XML parsing ... etc. should be seperate, deprecated items removed and old apis redone.

Re:Scheme to become two languages by nradov on Friday August 21, 2009 @01:42PM (#778047)
200MB? The latest JRE is only about 20MB. Those libraries consume very little space.
Re:Scheme to become two languages by Tichy on Friday August 21, 2009 @02:49PM (#778178)
20 MB might just be the loader, though. I recently installed the JDK after a long pause and I was appalled at how unpleasant the process had become.
Re:Scheme to become two languages by nradov on Friday August 21, 2009 @02:55PM (#778188)
No, 20MB is the complete JSE runtime download including all libraries.
Re:Scheme to become two languages by Tichy on Friday August 21, 2009 @02:51PM (#778181)
Not so much optional - I think in modern Java projects you will be expected to use them. Also, 3rd party code will use them and won't work with your code if you don't use them.

Anyway, it is all a matter of taste.

Re:Scheme to become two languages by AlisdairO on Friday August 21, 2009 @12:55PM (#777923)
I see that the poor implementation of generics is an issue, but what's so bad about annotations?
Re:Scheme to become two languages by Tichy on Friday August 21, 2009 @01:22PM (#777998)
My main issue is that they add more complexity to the language, making it harder to learn and to understand. They also encourage even more verbosity in an already verbose language. Furthermore, the uses I have seen all seemed a bit borderline - they used to say that configuration should stay out of the code, but now it sneaked in again.
Re:Scheme to become two languages by nradov on Friday August 21, 2009 @01:39PM (#778038)
How else would you propose to make meta-information about code available at run time? Before annotations we had to put that information in separate configuration files. That ended up being more complex, and harder to learn and understand.
Re:Scheme to become two languages by Tichy on Friday August 21, 2009 @02:48PM (#778176)
I only know it in the context of Hibernate, and there are ORM frameworks in languages that don't have annotations.

The separate config files had something going for them, because it keeps the concerns distinct.

Re:Scheme to become two languages by noss on Friday August 21, 2009 @12:05PM (#777796)
Yes, things used to be better. It's the decay of the youth.
Re:Scheme to become two languages by Tichy on Friday August 21, 2009 @12:07PM (#777799)
No, but maybe featuritis is how languages die, to be replaced by newer, simpler languages.
Re:Scheme to become two languages by maxwell on Friday August 21, 2009 @12:59PM (#777931)
Simplicity of use is what seems important, not necessarily simplicity of design. Though JavaScript is more complicated than C in the sense of having more features, those features generally result in source files that're more succinct and faster to write (since you don't have to, say, roll your own hashtables).
Re:Scheme to become two languages by apotheon on Friday August 21, 2009 @12:48PM (#777911)
Sometimes, the newer, simpler languages are new versions of the older, more byzantine languages. I think that's basically the Perl 6 approach, for instance.

It's called "evolution", in some circles.

Re:Scheme to become two languages by maxwell on Friday August 21, 2009 @01:04PM (#777947)
It's like sketching with pencil. Your first version is complicated and gets a lot wrong, with stray lines all about. The final one is cleaned up and simple, yet that simplicity is a direct result of that messy progenitor.
Re:Scheme to become two languages by burke on Friday August 21, 2009 @02:08PM (#778098)
Like small-scheme. Problem solved.
Re:Scheme to become two languages by mrshoe on Friday August 21, 2009 @01:46PM (#778059)
s/languages/software/g
Re:Scheme to become two languages by whye on Friday August 21, 2009 @02:53PM (#778186)
Lua started out as a configuration language in 1993 and since then has evolved into a more general purpose language that is cleaner, yet more flexible and powerful. It has gotten much better with time.

for more information, see: The Evolution of Lua - http://www.tecgraf.puc-rio.br/~lhf/ftp/doc/hopl.pdf

Re:Scheme to become two languages by andreyf on Friday August 21, 2009 @11:43AM (#777726)
How can anyone think that deciding on expressions of computation should be done by committee? Imagine mathematicians were to get together to agree on standardized terminology for papers - what a waste of time it would be!
Re:Scheme to become two languages by thunk on Friday August 21, 2009 @11:57AM (#777767)
Assuming you're not being facetious, I happen to think mathematics would be more advanced today if a little attention was paid to standardizing its notation:

http://news.ycombinator.com/item?id=733265

But don't take that as enthusiasm for committees.

Re:Scheme to become two languages by RyanMcGreal on Friday August 21, 2009 @02:00PM (#778078)
Almost no one is enthusiastic about committees. That doesn't make them any less of a necessary evil.
Re:Scheme to become two languages by sandGorgon on Sunday August 23, 2009 @02:02AM (#780268)

   '''I happen to think mathematics would be 
more advanced today if a little attention was paid to standardizing its notation'''

... as well as the tools available to render those notations.

http://www.stixfonts.org/pub_geninfo.html

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

Re:Scheme to become two languages by drobilla on Friday August 21, 2009 @02:53PM (#778187)
That is exactly why one of the goals needs to be a small, understandable, core.

Committees degrade into uselessness when the discussion degrades into warring over features. Everyone has a pet feature, and nobody lets their pet feature go.

When you have a stated goal of minimalism (for at least part of the greater thing you're trying to define), then the argument to include this or that can be a /logical/ one based on whether it is actually /required/.

Re:Scheme to become two languages by marcusbooster on Friday August 21, 2009 @12:41PM (#777890)
It seemed to work fine for Haskell.
Re:Scheme to become two languages by viraptor on Friday August 21, 2009 @03:10PM (#778218)
Really? There are still people who want a rewrite of Haskell's number types to organise it better (numeric prelude). Mainly for stuff like types that implement addition, but multiplication doesn't work for them.

And one would think that implementing math is easy ;)

Re:Scheme to become two languages by polos on Friday August 21, 2009 @12:13PM (#777814)
We already have both Theory Focused Lisp (Scheme) and Practice Focused Lisp (CL).

What did I (sorry, I meant you :) miss?

Re:Scheme to become two languages by herdrick on Friday August 21, 2009 @12:26PM (#777846)
The idea is that Scheme has been controlled by the expansionists lately and has gotten pretty large and practical.

As for why people don't just use CL, Scheme isn't laden with the historical mistakes that Common Lisp is, Scheme is still capable of evolving, and "large Scheme" is much more approachable to beginners than CL because of DrScheme and other efforts of the PLT people. And some people just like Scheme's approach better.

Re:Scheme to become two languages by polos on Friday August 21, 2009 @02:02PM (#778084)
historical mistakes (regarding CL) is only an opinion, not a fact.

For many aspects it's a huge advantage of CL to not having continuously evolve into something slightly different and only opinionatedly better.

I know both Scheme and CL, and I'll continue to prefer CL for at least the next decade coming, I think.

Meantime, I like all the effort anybody is putting in any kind of Lisp, and I always follow the different attempts (the different Schemes, Arc, Clojure).

Re:Scheme to become two languages by herdrick on Sunday August 23, 2009 @11:42PM (#781460)
No I think Common Lisp does have more mistakes than Scheme. But I should have said, "Scheme isn't as laden with mistakes..." And that's partly because most of the current Scheme standard was evolved after the Common Lisp standard was set.

Agreed on your last point, and I recommend trying Clojure out for some little project. It might surprise you how much more succinct it is than Common Lisp. Arc too, from what I've heard.

Re:Scheme to become two languages by icey on Friday August 21, 2009 @12:27PM (#777847)
You missed this paren: )