Rainer Schuetze r.sagita...@gmx.de wrote:
Hello,
I'd like to announce the initial release of Visual D, a Visual Studio
package providing both project management and language services for
integration of the D programming language into Visual Studio.
[snip]
Enjoy,
Rainer
Thank you. I
Not terribly interesting, but what the heck.
http://sleepoverrated.com/archive/2010/04/functional-programming-openvolcano10/
I appear about 8 minutes in.
The OpenVolcano10 conference was organized by Roy Osherove in one day! We were
all stuck behind the ash cloud in England. My presentation
Walter Bright Wrote:
bearophile wrote:
Walter Bright:
OCaml has a global interpreter lock which explains its behavior. Russell
didn't know why the Haskell behavior was so bad. He allowed that it was
possible he was misusing it.
You have just the illusion to have learned something
On Fri, 23 Apr 2010 16:00:32 +0400, Clemens eriatark...@gmail.com wrote:
Walter Bright Wrote:
* Not all functional programming languages do concurrency well. Haskell
and
OCaml in particular have severe fundamental problems with it such that
parallelizing your code makes it slower.
Do you
Fri, 23 Apr 2010 23:26:18 -0400, Nick Sabalausky wrote:
And even if
you really did need client-scripting (and the vast majority of the time,
you don't), there are better ways to distribute cross-platform code
across a network.
Really, such as? The largest problem by far has been to increase
On 04/23/2010 10:40 PM, Nick Sabalausky wrote:
retardr...@tard.com.invalid wrote in message
Instead of hostility we now have blissful ignorance. Maybe I should post
here more often again..
When the academic researchers keep their work squirreled away in academic
circles and written in such a
I've been looking at the std.demangle code quite a lot lately (trying to
modify it to suit my needs). One thing I noted in particular, the
handling of floats/doubles/reals as template values seem to be
incorrect. For example, looking at the unittest in the bottom of the
file one of the tests
On Sat, Apr 24, 2010 at 10:48:53AM +, retard wrote:
What else do we have?
If I had my way, I'd just be rid of the virtual machine altogether. Simply run
native programs as a restricted user. (Indeed, I'd run the browser itself
with that restricted user, then let it create whatever processes
strtr wrote:
Portability will become more important as evo algos get used more. Especially
in combination with threshold functions. The computer will generate/optimize
all input/intermediate values itself and executing the program on higher
precision machines might give totally different
Hello bearophile,
Don:
A simple rule of thumb: if it's an array, use float or double. If
it's not, use real.
The rule of thumb from me is: if you care for performance never use
real type.
Has anyone actually teased to show that the vector ops are actually faster
than the FPU for cases
Hello Walter,
You shouldn't have to be an expert in a language that is supposedly
good at parallelism in order to get good results from it.
Very good point. If a design with no blatant flaws performs like that with
no easy to spot cause, I'd say there is a problem in the language, even if
Sat, 24 Apr 2010 11:27:27 -0400, Adam D. Ruppe wrote:
On Sat, Apr 24, 2010 at 10:48:53AM +, retard wrote:
What else do we have?
If I had my way, I'd just be rid of the virtual machine altogether.
Simply run native programs as a restricted user. (Indeed, I'd run the
browser itself with
Walter Bright Wrote:
strtr wrote:
Portability will become more important as evo algos get used more.
Especially
in combination with threshold functions. The computer will generate/optimize
all input/intermediate values itself and executing the program on higher
precision machines
On Sat, Apr 24, 2010 at 05:36:30PM +, retard wrote:
It gives different kinds of flexibility. The advantage of Javascript is
easy interfacing with the DOM, the html document and all kinds of powers
the browser is providing.
Yeah, this came to mind only after I made the last post. The best
Hello Strtr,
Walter Bright Wrote:
You've got a bad algorithm if increasing the precision breaks it.
No, I don't.
All algorithms using threshold functions which have been generated
using evolutionary algorithms will break by changing the precision.
That is, you will need to retrain them.
On 04/24/2010 12:52 PM, strtr wrote:
Walter Bright Wrote:
strtr wrote:
Portability will become more important as evo algos get used
more. Especially in combination with threshold functions. The
computer will generate/optimize all input/intermediate values
itself and executing the program on
Andrei Alexandrescu seewebsiteforem...@erdani.org wrote in message
news:hquqfm$2vs...@digitalmars.com...
The majority of developers can also be considered to not quite know what
they're doing.
Heh. I've surprised a lot of laymen, after telling them I'm a programmer, by
my opinions that most
Just got a chance to test the isInstanceOf template and it does (after
some fiddling) provide a workaround for this bug. Thanks.
Philippe Sigaud wrote:
On Fri, Apr 23, 2010 at 14:57, Robert Jacques sandf...@jhu.edu
mailto:sandf...@jhu.edu wrote:
PS. You can get things like this to work
Nick Sabalausky wrote:
Heh. I've surprised a lot of laymen, after telling them I'm a programmer, by
my opinions that most programmers are incompetent and most software and
consumer electronics are terrible. Seems hugely ironic to those unfamiliar
with the field, but being around it and (at the
Sat, 24 Apr 2010 14:06:19 -0400, Adam D. Ruppe wrote:
On Sat, Apr 24, 2010 at 05:36:30PM +, retard wrote:
It gives different kinds of flexibility. The advantage of Javascript is
easy interfacing with the DOM, the html document and all kinds of
powers the browser is providing.
Yeah,
On 4/24/2010 09:27, Adam D. Ruppe wrote:
If I had my way, I'd just be rid of the virtual machine altogether. Simply run
native programs as a restricted user. (Indeed, I'd run the browser itself
with that restricted user, then let it create whatever processes it
wants, possibly stripping the
On Sat, Apr 24, 2010 at 01:53:10PM -0600, Rainer Deyke wrote:
Congratulations, you just invented ActiveX. I hope you like your
platform lockdown and your security vulnerabilities.
ActiveX controls don't run as a limited user account. That's the key here:
the entire browser should be running as
I keep posting this link here, and it keeps being ignored, despite I think it
can become one important usage of D:
http://code.google.com/p/nativeclient/
Bye,
bearophile
Sat, 24 Apr 2010 13:53:10 -0600, Rainer Deyke wrote:
On 4/24/2010 09:27, Adam D. Ruppe wrote:
If I had my way, I'd just be rid of the virtual machine altogether.
Simply run native programs as a restricted user. (Indeed, I'd run the
browser itself with that restricted user, then let it create
Sat, 24 Apr 2010 16:29:55 -0400, Adam D. Ruppe wrote:
On Sat, Apr 24, 2010 at 01:53:10PM -0600, Rainer Deyke wrote:
Congratulations, you just invented ActiveX. I hope you like your
platform lockdown and your security vulnerabilities.
ActiveX controls don't run as a limited user account.
On Sat, Apr 24, 2010 at 08:32:25PM +, retard wrote:
A middleware is about building the infrastructure. Later (ideally) there
are no platform specific costs involved.
We have that already. I write programs for Linux and release them on
Windows by expending no effort beyond typing make
Adam D. Ruppe destructiona...@gmail.com wrote in message
news:mailman.71.1272140482.3522.digitalmar...@puremagic.com...
On Sat, Apr 24, 2010 at 01:53:10PM -0600, Rainer Deyke wrote:
Congratulations, you just invented ActiveX. I hope you like your
platform lockdown and your security
On Apr 24, 10 18:04, Justin Johansson wrote:
KennyTM~ wrote:
On Apr 22, 10 14:52, Lutger wrote:
I don't think javascript is suited for this purpose, but perhaps
silverlight
/ moonlight is. A D compiler targetting the CoreCLR could be big,
depending
on how this platform takes off.
D.NET?
On Sat, Apr 24, 2010 at 08:41:07PM +, retard wrote:
How does this prevent platform lockdown?
It doesn't. I don't particularly care.
I haven't really seen the native client system used in any crucial real
world site.
I'm referring to how they run browser components all as separate
On Sat, Apr 24, 2010 at 04:54:17PM -0400, Nick Sabalausky wrote:
Maybe I'm just naive about this, but it would seem to me that it should be
possible to have a single compiled-native-code format that could be framed
by the client to work on the whatever the client's OS is.
It probably could
Andrei Alexandrescu Wrote:
On 04/24/2010 12:52 PM, strtr wrote:
Walter Bright Wrote:
strtr wrote:
Portability will become more important as evo algos get used
more. Especially in combination with threshold functions. The
computer will generate/optimize all input/intermediate values
BCS Wrote:
Hello Strtr,
Walter Bright Wrote:
You've got a bad algorithm if increasing the precision breaks it.
No, I don't.
All algorithms using threshold functions which have been generated
using evolutionary algorithms will break by changing the precision.
That is, you
Nick Sabalausky:
Also, a web server could be set up to automatically convert or cross-compile
to whatever CPU or OS was requested by the client (and then internally
cached, of course). Probably involving LLVM or something.
It's called pNaCl (PDF file):
strtr wrote:
Walter Bright Wrote:
You've got a bad algorithm if increasing the precision breaks it.
No, I don't. All algorithms using threshold functions which have been
generated using evolutionary algorithms will break by changing the precision.
That is, you will need to retrain them. The
On 04/24/2010 04:30 PM, strtr wrote:
Andrei Alexandrescu Wrote:
On 04/24/2010 12:52 PM, strtr wrote:
Walter Bright Wrote:
strtr wrote:
Portability will become more important as evo algos get used
more. Especially in combination with threshold functions.
The computer will generate/optimize
Adam D. Ruppe destructiona...@gmail.com wrote in message
news:mailman.72.1272141444.3522.digitalmar...@puremagic.com...
On Sat, Apr 24, 2010 at 04:26:55PM -0400, bearophile wrote:
I keep posting this link here, and it keeps being ignored, despite I
think it can become one important usage of
On 4/24/2010 14:29, Adam D. Ruppe wrote:
On Sat, Apr 24, 2010 at 01:53:10PM -0600, Rainer Deyke wrote:
Congratulations, you just invented ActiveX. I hope you like your
platform lockdown and your security vulnerabilities.
ActiveX controls don't run as a limited user account. That's the key
Andrei Alexandrescu Wrote:
On 04/24/2010 04:30 PM, strtr wrote:
Andrei Alexandrescu Wrote:
On 04/24/2010 12:52 PM, strtr wrote:
Walter Bright Wrote:
strtr wrote:
Portability will become more important as evo algos get used
more. Especially in combination with threshold functions.
On Sat, Apr 24, 2010 at 06:17:25PM -0400, Nick Sabalausky wrote:
it forces you to use their tool chain the whole way
Check out the README:
http://nativeclient.googlecode.com/svn/trunk/src/native_client/README.html
Notice how the instructions don't say to use gcc and gdb, but instead
nacl-gcc
On Sat, Apr 24, 2010 at 04:29:17PM -0600, Rainer Deyke wrote:
Running the browser as a restricted user is good (and indeed necessary),
but when you're running native code, you're only as secure your OS and
CPU allow. Running on a VM provides an additional layer of insulation.
Sure, that's
Walter Bright Wrote:
strtr wrote:
Walter Bright Wrote:
You've got a bad algorithm if increasing the precision breaks it.
No, I don't. All algorithms using threshold functions which have been
generated using evolutionary algorithms will break by changing the
precision.
That is, you
Justin Johansson wrote:
KennyTM~ wrote:
On Apr 22, 10 14:52, Lutger wrote:
I don't think javascript is suited for this purpose, but perhaps
silverlight
/ moonlight is. A D compiler targetting the CoreCLR could be big,
depending
on how this platform takes off.
D.NET?
D.NET (D.CLR),
Hello Strtr,
BCS Wrote:
OTOH, some would argue that Walter is still right by saying that if
you don't know what is happening, then you've got a bad algorithm.
Yes, all algorithms created by genetic programming are bad ;)
Note I didn't say what I thought. (As it happens, I think GA is only
strtr wrote:
Is there no way to stay within float standards?
It only needs to be portable over x86
It is standard IEEE 754 floating point.
Adam D. Ruppe destructiona...@gmail.com wrote in message
news:mailman.76.1272148468.3522.digitalmar...@puremagic.com...
On Sat, Apr 24, 2010 at 06:17:25PM -0400, Nick Sabalausky wrote:
it forces you to use their tool chain the whole way
Check out the README:
On 04/24/2010 05:26 PM, strtr wrote:
Andrei Alexandrescu Wrote:
On 04/24/2010 04:30 PM, strtr wrote:
Andrei Alexandrescu Wrote:
On 04/24/2010 12:52 PM, strtr wrote:
Walter Bright Wrote:
strtr wrote:
Portability will become more important as evo algos get used
more. Especially in
BCS Wrote:
Hello Strtr,
BCS Wrote:
OTOH, some would argue that Walter is still right by saying that if
you don't know what is happening, then you've got a bad algorithm.
Yes, all algorithms created by genetic programming are bad ;)
Note I didn't say what I thought. (As it
strtr wrote:
Walter Bright Wrote:
strtr wrote:
Is there no way to stay within float standards? It only needs to be
portable over x86
It is standard IEEE 754 floating point.
Most math functions I see in std.math take reals as input. Should I use the C
variants in stead?
If you're content
Andrei Alexandrescu Wrote:
So are you saying there are neural networks with thresholds that are
trained using evolutionary algorithms instead of e.g. backprop? I found
this:
The moment a network is just a bit recurrent, any gradient descent algo will be
a hell.
strtr wrote:
I'm not really searching for perfect/fixed math, but that the math is
consistent on different x86 hardware after compilation. Is this possible?
Yes, but you'll have to avoid the math functions if you're using C ones. The D
ones should give the same results.
Walter Bright Wrote:
strtr wrote:
I'm not really searching for perfect/fixed math, but that the math is
consistent on different x86 hardware after compilation. Is this possible?
Yes, but you'll have to avoid the math functions if you're using C ones.
As they are dynamic linked?
The D
bearophile wrote:
Walter Bright:
I agree. The only reason to use float or double is to save on storage.
A little D1 program, that I compile with LDC:
Here's the only point in the code where there's difference:
FP = double:
fstpl 16(%esp)
movsd 24(%esp), %xmm0
On 04/24/2010 07:21 PM, strtr wrote:
Andrei Alexandrescu Wrote:
So are you saying there are neural networks with thresholds that
are trained using evolutionary algorithms instead of e.g. backprop?
I found this:
The moment a network is just a bit recurrent, any gradient descent
algo will be a
Hi All,
I just downloaded D2 after a friend of mine told me about it and I was playing
with it, just to get confident with the
language.
In order to do that I was converting a simple geometric Vector3 class I wrote
in c++.
this is the (relavant for this post) D code
class Vector3
{
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dan wrote:
Hi All,
So there's my questions
Why D2 changed in this way the operators overloading?
I saw the the compiler compiles both the functions, even considering this I
assume it's not safe to use the old D1 way,
right?
Because Walter got
Steven Schveighoffer wrote:
I did a little review of the code, I concur that the code is pretty
identical, and the D version does not really do any extra allocation. I
found one place where you were using pow(x, 2) to square something in
the D version but doing it with simple multiplication
On Sat, 24 Apr 2010 05:32:25 -0400, Joseph Wakeling
joseph.wakel...@webdrake.net wrote:
Steven Schveighoffer wrote:
I did a little review of the code, I concur that the code is pretty
identical, and the D version does not really do any extra allocation. I
found one place where you were
On Sat, 24 Apr 2010 05:07:41 -0400, Dan daniele.ni...@gmail.com wrote:
So there's my questions
Why D2 changed in this way the operators overloading?
To avoid repeating tons of boilerplate code.
For example, you can do this:
void opOpAssign(string op)(ref Vector3 other) if (op == += || op ==
Hello all,
Occasionally in C++ I find it useful to build an array which contains
classes of multiple different types all using the same interface -- by
constructing an array of pointers to some common base class, e.g.
class BaseClass {
// blah, blah ...
};
class A : BaseClass {
// ...
On 24/04/10 20:06, Joseph Wakeling wrote:
Hello all,
Occasionally in C++ I find it useful to build an array which contains
classes of multiple different types all using the same interface -- by
constructing an array of pointers to some common base class, e.g.
class BaseClass {
// blah,
http://d.puremagic.com/issues/show_bug.cgi?id=4110
Gide Nwawudu g...@nwawudu.com changed:
What|Removed |Added
Keywords||accepts-invalid
http://d.puremagic.com/issues/show_bug.cgi?id=4084
--- Comment #2 from Gide Nwawudu g...@nwawudu.com 2010-04-24 02:41:46 PDT ---
*** Issue 4110 has been marked as a duplicate of this issue. ***
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are
http://d.puremagic.com/issues/show_bug.cgi?id=2484
Robert Clipsham rob...@octarineparrot.com changed:
What|Removed |Added
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=2484
--- Comment #6 from nfx...@gmail.com 2010-04-24 06:41:02 PDT ---
But it's not user accessible:
http://dsource.org/projects/druntime/browser/trunk/import/object.di#L226
Well, maybe this is just a temporary regression.
--
Configure issuemail:
http://d.puremagic.com/issues/show_bug.cgi?id=4116
Summary: object.di does not match object_.d
Product: D
Version: 2.041
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component:
http://d.puremagic.com/issues/show_bug.cgi?id=2484
nfx...@gmail.com changed:
What|Removed |Added
Keywords||patch
--- Comment #8 from
http://d.puremagic.com/issues/show_bug.cgi?id=4117
Summary: rev 439 compilation error
Product: D
Version: unspecified
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component:
http://d.puremagic.com/issues/show_bug.cgi?id=4117
--- Comment #1 from Ellery Newcomer ellery-newco...@utulsa.edu 2010-04-24
10:48:08 PDT ---
Created an attachment (id=612)
the easy fix
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving
http://d.puremagic.com/issues/show_bug.cgi?id=4117
Ellery Newcomer ellery-newco...@utulsa.edu changed:
What|Removed |Added
Attachment #612 is|0 |1
http://d.puremagic.com/issues/show_bug.cgi?id=3854
Ellery Newcomer ellery-newco...@utulsa.edu changed:
What|Removed |Added
Attachment #597 is|0 |1
http://d.puremagic.com/issues/show_bug.cgi?id=4118
Summary: std.conv.to!SomeStruct(hello) crashes compiler
Product: D
Version: 2.041
Platform: x86_64
OS/Version: Mac OS X
Status: NEW
Severity: major
Priority: P2
http://d.puremagic.com/issues/show_bug.cgi?id=4059
Robert Clipsham rob...@octarineparrot.com changed:
What|Removed |Added
Keywords|patch |
---
http://d.puremagic.com/issues/show_bug.cgi?id=4119
Summary: bigint string assign
Product: D
Version: future
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: Phobos
http://d.puremagic.com/issues/show_bug.cgi?id=4120
Summary: bigint implicit cast too bool
Product: D
Version: future
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component:
http://d.puremagic.com/issues/show_bug.cgi?id=4121
Summary: Associative array value bigint assign
Product: D
Version: future
Platform: x86
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
http://d.puremagic.com/issues/show_bug.cgi?id=4122
Summary: More handy BigInt.toString()
Product: D
Version: future
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component:
http://d.puremagic.com/issues/show_bug.cgi?id=4123
Summary: BitArray this() with length
Product: D
Version: future
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component:
http://d.puremagic.com/issues/show_bug.cgi?id=4124
Summary: toString() for BitArray and more
Product: D
Version: future
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
http://d.puremagic.com/issues/show_bug.cgi?id=4125
Summary: std.numeric.gcd can use a binary GCD
Product: D
Version: future
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
http://d.puremagic.com/issues/show_bug.cgi?id=4126
Summary: std.range.ElementType doesn't work with opApply
Product: D
Version: future
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
http://d.puremagic.com/issues/show_bug.cgi?id=4127
Summary: std.stdio.File doesn't close popen() files correctly
Product: D
Version: 2.041
Platform: Other
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P2
81 matches
Mail list logo