Slashdot Log In
Introducing The Heron Programming Language
Posted by
timothy
on Wed Dec 08, 2004 03:22 PM
from the you-must-be-a-loon dept.
from the you-must-be-a-loon dept.
Christopher Diggins writes "The Heron programming language, is a new general-purpose multi-paradigm programming language in the style of C++ which is starting to make waves. The popular Polish software development magazine Software 2.0 is featuring an article on Heron, in its first English version of the magazine slated to appear in February 2005. A preview of the Heron article is available."
This discussion has been archived.
No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Full
Abbreviated
Hidden
Loading... please wait.
Language link (Score:5, Informative)
I think I'm not the only one (Score:2)
Re:I think I'm not the only one (Score:3, Funny)
Re:I think I'm not the only one (Score:4, Funny)
Parent
Willful Ignorance (Score:3, Insightful)
See Lambda The Ultimate [lambda-the-ultimate.org].
I'm not sure how Heron is going to emerge from the mess of C++ish languages that includes Java (and variants like HyperJ and AspectJ), C#, the also new (but much more active) Scala [scala.epfl.ch], the well-grounded Nice [sourceforge.net], and the nearly complete Aldor [aldor.org].
And there's no way I'm downloading and installing Kylix just to try it out.
Re:Willful Ignorance (Score:3, Informative)
The only thing out of that list you might think is missing is "generic programming", but in general that's because both languages support it so naturally that it isn't even a seperate paradigm. I know Python has libraries for people who insist on the trappings of generic la
Re:Willful Ignorance (Score:2, Informative)
Re:Willful Ignorance (Score:2, Informative)
You, sir, are either trolling or criminally ignorant.
Here [inria.fr] is a statically typed, natively compiled language that provides fully first-class functions.
Here [haskell.org] is another.
There are many others; those are just the most widely used.
Sorry, i'll have to pass (Score:2, Insightful)
new general-purpose multi-paradigm
is going to lead me to believe that it was developed by an Executive, a consultant, or, worst of all, a corporate motivational speaker!
No thanks..
Re:Sorry, i'll have to pass (Score:2)
What's the problem? General-purpose isn't a buzzword, and multi-paradigm is a common way to describe languages that aren't restricted to just one style of programming, such as imperative programming, object-oriented programming, functional programming... just because paradigm is a fancy-pancy word does not mean
To Quote Steve Jobs... (Score:5, Insightful)
"In order for people to adopt a new computing platform you can't give them something that is 30% better- You really have to give them something that is 200% better and that is what we failed to see at Next."
I commend the designer of the Heron language for trying to simplify some of the complexity of C/C++ (Just like the D language and Eiffel tried) and some persons may benefit from such a tool. But I fail to see how a language with some minor improvements in contract and aspect-oriented programming support is really offering more than 10-20% improvement in terms of design over vanilla C++ - Not that anyone says it has to, but to truly make waves in the programming world I think a larger advance would really be necessary...
Also, I am skeptical of the practicality of new languages that don't support garbage collection- Garbage collection is just such a huge win in terms of productivity in many programmers' eyes, not to mention its ability to prevent viruses/exploits from buffer overflows. I coudn't imagine adopting a new language that doesn't at least have this one critical feature, even if you carry a tiny performance overhead because of it...
Still, it's always nice to see people working on new ideas in language design!
--Conrad Barski
Re:To Quote Steve Jobs... (Score:3, Informative)
Re:To Quote Steve Jobs... (Score:2)
Disagree for the 200% better part, currently there is no functionnality which can gives a 200% improvement in language design.
But having a language which integrates many small improvements inside something coherent (unlike C++ which is clearly a mess) would still be valuable IMHO. Some claims that Java/C# are the answer, I'm not so sure, D or Nice seems more interesting..
Re:To Quote Steve Jobs... (Score:2)
I don't quite agree with that. The following are relatively recent additions to the programming world -- at least outside of academia -- that yield productivity benefits way better than that in their respective areas of strength:
Re:To Quote Steve Jobs... (Score:2)
<Obligatory> Garbage collection prevents certain classes of memory leak. It has nothing to do with buffer overflows. </Obligatory>
Another statically typed language? (Score:2, Interesting)
Yet another statically typed language?
A statically typed language provides a little bit of value: The compiler does a small bit of the testing you should be doing anyhow. In return, static typing extract a huge cost in language complexity (templates, anyone?). Many of the patterns in the GOF book are only there to let you get the job done when the type checking system is trying to stop you.
This language may appeal to those who don't like C++ but think that the particulars of the language is the proble
Re:Another statically typed language? (Score:2, Insightful)
I think that the particulars of C++ are the real problem, with all of the backwards compatibility issues, and incremental addition of new features without apropriate removal or updating of deprecated functionality.
Re:Another statically typed language? (Score:2)
Re:Another statically typed language? (Score:2)
Using an appropriate language for the job (statically typed or dynamically typed) is much more appropriate, instead of advocating a one size fits all approach.
Re:Another statically typed language? (Score:2)
Re:Another statically typed language? (Score:2)
Re:Another statically typed language? (Score:2, Interesting)
For whatever reason I find statically typed easier to work with, so much so that I am always surprised when people say how much they love dynamically types languages.
Differences of opinions, whatever.
Static typing is great!! (Score:3, Insightful)
Re:Another statically typed language? (Score:2)
But
int foo[4] = {1,2,3,4};
doesn't seem any more complex than your other examples. Of course, that's an array, not a linked list. I don't know Python or OCaml, so I'll assume your examples indeed produce a linked list, not an array. Out of curiosity, how do these languages specify an array? Or any of the other half dozen or so variants C++ can specify?
first things... (Score:3, Funny)
"Heroin. It combines the power of assembly language, with the ease of use of assembly language."
(an old quote, usually applied to "C")
Disclaimer (Score:5, Informative)
As a C++ programmer... (Score:5, Insightful)
Perhaps next you'll tell me it has the speed of Python and the type-safety of perl....
Re:As a C++ programmer... (Score:2)
Re:As a C++ programmer... (Score:2)
The speed of Python is the one to be afraid of. Java at least lets you use C for things which you need to.
Wow, am I insightfull
Re:As a C++ programmer... (Score:2)
Re:As a C++ programmer... (Score:2)
Gosh. (Score:5, Insightful)
Note: call it a macro system, or call it a type safe generic metaprogramming facility, or whatever. I don't care, it's still not hygienic. The relevant wording is here [heron-language.com].
Gentle Slashdotter, if you are ever to design a programming language, please make sure its scope rules (whether run-time or compile-time) are sane. Thank you.
Re:Gosh. (Score:2)
No.
Not at the school I went to, anyway.
Re:Gosh. (Score:2)
No Thank You (Score:3, Informative)
Re:No Thank You (Score:3, Interesting)
Product comes from the logical proposition "A and B". It consists of a value of type A, and a value of type B together, ie, a pair. Languages often call the elements of product types "tuples," and usually they are generalized to length-n tuples. Th
Benefits over D? (Score:5, Interesting)
D is a lot more like Java/C#, but compiled to native code and is low-level enough for it to be used for things like where only C and C++ are feasable now (low-level libraries, toolkits, even kernel drivers).. And besides, there is already a (beta) D Frontend for GCC [earthlink.net].
With all the positive attention that D has had recently I find it unlikely that Heron will be chosen over D by anyone, but only time will tell... And the competition is good for both languages.
Tim O'Reilly (Score:4, Funny)
wikipedia article was almost deleted (Score:5, Interesting)
Re:wikipedia article was almost deleted (Score:5, Funny)
If Wiki deleted the article, and we were left with Chris pointing only to Heron and the language pointing only to him, the garbage collector would discard them both!
Parent
Re:wikipedia article was almost deleted (Score:2)
If Wiki deleted the article, and we were left with Chris pointing only to Heron and the language pointing only to him, the garbage collector would discard them both!
Not as long as one or both are still on your stack.
Re:wikipedia article was almost deleted (Score:2)
Remember, in his world there's no garbage collection.
Re:Thoughts (Score:3, Insightful)
C++ is the only major inherently multiparadigm language. For instance try to make Lisp a hardware-close explicit memory managed language. Any new multiparadigm language is going to borrow a lot from C++, because it is the king.
Re:Thoughts (Score:2)
Have you ever used Lisp? And do you understand what 'multi-paradigm' means?
C++ was designed as an object oriented extension to C. It does imperative programming well, and object oriented programming fairly well.
Lisp was initially designed as a functional langauge, but modern lisps bear little resemblence to the first lisp beyond superficial appearance. Modern lisps fully support functional programming, imperative programming, object oriented programming, and to some extent, declarative pro
Re:Thoughts (Score:2)
Re:Thoughts (Score:2)
To program in lisp, you have to do functional programming. Yes, you can wrap something else in it, but if you really want to you can wrap any way of programming in any other - lisp people have some line that any program complex enough will include a lisp interpreter.
As far as having an agenda, I'm not being paid or anything. I enjoy python programming
Re:Thoughts (Score:2)
Most functional programming languages make you jump through special hoops to do I/O to avoid side-effects.
Lisp has many of the aspects of functional programming fully and properly supported, such as
- functions as first-class objects (can be assigned, passed, and returned, just like objects of other types)
- apply/funcall/map... to allow function application under program control
- closures allowing functions to be
Re:Thoughts (Score:2)
Re:Thoughts (Score:2)
While it may not be "pure functional" it's functional enough that you have to be able to do functional programming to use it. I will agree that implementing sublanguages in lisp is easier than
Re:Thoughts (Score:2)
That's not so exciting for someone who programs in C/C++/Java, because only one program needs to parse your program, namely, the compiler. (OK, also your IDE to do syntax highlighting and name completion.)
But in Lisp, almost everyone writes programs that depend on parsing and rewriting Lisp programs. Informally, we call these program-writing programs "Lisp macros," but that always gives outsiders the wr