LLVM 3.0 released
LLVM 3.0 released
Posted Dec 7, 2011 23:08 UTC (Wed) by daglwn (guest, #65432)In reply to: LLVM 3.0 released by k8to
Parent article: LLVM 3.0 released
That's not bad. That's progress.
Posted Dec 8, 2011 8:27 UTC (Thu)
by thedevil (guest, #32913)
[Link] (8 responses)
Extremely dubious. I am sure you can come up with examples (both before and after) yourself.
To make it even close you'd need to add a qualifier like "... that is mostly compatible with C". Even then it is not a closed case.
Posted Dec 9, 2011 16:48 UTC (Fri)
by daglwn (guest, #65432)
[Link] (7 responses)
None that I know of. Not even without the "compatible with C" qualifier. Perhaps there is an esoteric project somewhere that does this but certainly no other mainstream language. C++ doesn't have every language feature possible but it does have a unique combination of them.
Posted Dec 10, 2011 3:33 UTC (Sat)
by Cyberax (✭ supporter ✭, #52523)
[Link] (1 responses)
Alas, no real manual memory management.
Posted Dec 12, 2011 4:20 UTC (Mon)
by daglwn (guest, #65432)
[Link]
Posted Dec 10, 2011 9:33 UTC (Sat)
by paulj (subscriber, #341)
[Link] (4 responses)
Posted Dec 12, 2011 4:18 UTC (Mon)
by daglwn (guest, #65432)
[Link] (3 responses)
Vala is cool. I definitely see the value in it. But it isn't a replacement for C++.
Posted Dec 12, 2011 7:17 UTC (Mon)
by paulj (subscriber, #341)
[Link] (2 responses)
http://live.gnome.org/Vala/Tutorial#Interfaces_.2BAC8_Mixins
Vala has generics. I'm not sure what aspect of C++ templates you miss, but I sure don't miss the multiple-pages or more of incomprehensible error messages that are inherent to even minor mistakes with C++ templates. ;)
Vala is statically typed, not sure why you'd think otherwise (it allows type inference of LHS in assignments with "var x = y;" - a handy convenience, and still statically typed).
Posted Dec 12, 2011 10:11 UTC (Mon)
by mpr22 (subscriber, #60784)
[Link] (1 responses)
As that page describes it, Vala allows you to inherit at most one class and any number of interfaces (and the page explicitly says that it's a restricted form of multiple inheritance). C++ allows you to inherit multiple concrete classes. (It happens to be the case that I've never encountered a case where I thought I had a reason to use this capability, but I am not every C++ programmer.)
Posted Dec 12, 2011 10:38 UTC (Mon)
by paulj (subscriber, #341)
[Link]
Posted Dec 8, 2011 9:29 UTC (Thu)
by k8to (guest, #15413)
[Link]
Posted Dec 13, 2011 18:39 UTC (Tue)
by dgm (subscriber, #49227)
[Link] (4 responses)
Both are Turing-complete, and thus are equivalent in power (as in what you can write with them). Maybe you wanted to use the term "expressive", but that's not very well defined (http://en.wikipedia.org/wiki/Comparison_of_programming_la...). In fact, according to that article, Python, Smalltalk and Perl are more expressive than C++ (and much more than C).
Posted Dec 13, 2011 20:17 UTC (Tue)
by nybble41 (subscriber, #55106)
[Link] (3 responses)
[1] See also: "Turing tarpit" <http://en.wikipedia.org/wiki/Turing_tarpit>
Posted Dec 13, 2011 21:27 UTC (Tue)
by mathstuf (subscriber, #69389)
[Link] (1 responses)
Haskell has Template Haskell[1][2] (it's an extension, but since GHC is pretty much the only compiler for Haskell, that's pretty much moot).
[1]https://en.wikipedia.org/wiki/Template_Haskell
Posted Dec 13, 2011 21:49 UTC (Tue)
by nybble41 (subscriber, #55106)
[Link]
Posted Dec 14, 2011 1:14 UTC (Wed)
by dgm (subscriber, #49227)
[Link]
LLVM 3.0 released
LLVM 3.0 released
LLVM 3.0 released
LLVM 3.0 released
LLVM 3.0 released
LLVM 3.0 released
LLVM 3.0 released
LLVM 3.0 released
LLVM 3.0 released
LLVM 3.0 released
LLVM 3.0 released
LLVM 3.0 released
LLVM 3.0 released
[2]http://www.haskell.org/haskellwiki/Template_Haskell
LLVM 3.0 released
LLVM 3.0 released
