Jeremie Pelletier wrote:
Nick Sabalausky wrote:
union A {
int foo;
float bar;
}
Yet it's the only way I know of to do bitwise logic on floating points
in D to extract the exponent, sign and mantissa for example.
You could add built-in methods for those operations to the float type:
Jeremie Pelletier wrote:
Jari-Matti Mäkelä wrote:
Jeremie Pelletier wrote:
Nick Sabalausky wrote:
union A {
int foo;
float bar;
}
Yet it's the only way I know of to do bitwise logic on floating points
in D to extract the exponent, sign and mantissa for example.
You could add built
Walter Bright wrote:
Ary Borenszweig wrote:
Walter Bright escribió:
Jari-Matti Mäkelä wrote:
bearophile wrote:
- OOP: Scala supports dynamic OOP optimizations unlike D (unless a VM
is used).
Do you mean knowing a class or virtual method has no descendants?
Sure, you need to know
Walter Bright wrote:
Jari-Matti Mäkelä wrote:
- bloat: Scala is more lightweight. I've heard Walter say that he doesn't
like e.g. library defined control structures -
Actually, you can do them with lazy function arguments. There was an
example somewhere of doing control structures
Andrei Alexandrescu Wrote:
Jari-Matti Mäkelä wrote:
bearophile wrote:
As Sing# (http://en.wikipedia.org/wiki/Sing_sharp ) and Chapel, Scala is
one of the languages to be followed more, because they share some of
future purposes of D2/D3.
A small presentation about the close future
bearophile Wrote:
Walter Bright:
Actually, you can do them with lazy function arguments. There was an
example somewhere of doing control structures with it.
There are some problems with this:
- Are current (especially LDC) compilers able to inline those lazy delegates?
Scala compiler
Nick Sabalausky wrote:
Jeremie Pelletier jerem...@gmail.com wrote in message
news:h7h5i1$5m...@digitalmars.com...
While D is not the first place I see closures and nested functions, it is
the first language I come across that blends delegates, closures and
nested functions in a simple,
Nick Sabalausky wrote:
Justin Johansson proc...@adam-dott-com.au wrote in message
news:h8ruu1$1qp...@digitalmars.com...
Being somewhat of a fan of Elliotte Rusty Harold, I drop in for a coffee
read at his cafes from time to time. I think D people will enjoy this
December 2008 article with