Andrej Mitrovic Wrote:
> Gour, please disregard the troll above.
>
> If you're going with Python and Qt, I'd wholeheartedly recommend this
> book: http://www.qtrac.eu/pyqtbook.html
> Making GUIs with PyQT is dead simple. And Nokia already has that new
> LGPL(I think?)-licensed binding in place -
Dmitry Olshansky Wrote:
> On 16.04.2011 22:39, dsimcha wrote:
> > I'm reconsidering the naming of std.parallelism. The name is catchy,
> > but perhaps too general. std.parallelism currently targets SMP
> > parallelism. In the future it would be nice for Phobos to target SIMD
> > parallelism
Gour-Gadadhara Dasa Wrote:
One thing, go hang yourself. We don't like loser talk from people who only
waste our time. Everyone agrees here D2 is the right tool for the job. Why did
you come here to rant about D?
- G.W.
Hello again
I've stayed quiet for a long time because people started accusing me of
trolling. But now, I REALLY HATE THIS IDIOT IN REDDIT HE IS DRIVING ME
CRAZY. ASSHOLE ASSWIPE SHITHOLE LUNATIC. I HATE HIM. BASHING D JUST BECAUSE
HE'S SOME MENTALLY ILL PSYCHOPATE WANTING TO KILL ANDREI AN
Nebster Wrote:
> On 10/03/2011 19:36, Trass3r wrote:
> > How about adding more stuff to CTFE, esp. pointers and classes?
>
> Or get Algebraic data types to typecheck in the compiler :)
Stop trolling. We should really ban these Tango fanboys here.
Nobody really wants to turn D into an ivory towe
Jesse Phillips Wrote:
> Morlan Wrote:
>
> > While trying to understand the expand mechanism presented in the TDPL book I
> > tried to read std.typetuple and std.typecons files. I found a true nightmare
> > in those files in the form of an almost infinite chain of aliases and macro
> > processing.
Alan Smithee Wrote:
> > You can do the same in D using .di files.
>
> Except no one really does that because such an approach is insanely
> error prone. E.g. with classes, you need to copy entire definitions.
> Change any ordering, forget a field, change a type, and you're having
> undefined beha
Andrej Mitrovic Wrote:
> I guess if you're not writing new templates in your code then
> incremental compilation is possible?
Exactly. What I did is a simple wrapper module for Phobos with preinstantiated
non-templated functions for typical use cases. For example there are few
wrappers for the
Paulo Pinto Wrote:
> Hi,
>
> I am sorry, but I don't belive it.
>
> Many other systems programming languages that atempted to displace C and
> C++, have
> the toolchain built in its languages, after the compilers were bootstrapped,
> as anyone
> with enough compiler knowledge will surely tell
Paulo Pinto Wrote:
> "Nick Sabalausky" wrote in message
> news:ij7v76$1q4t$1...@digitalmars.com...
> > ... (cutted) ...
> >
> > That's not the compiler, that's the linker. I don't know what linker DMD
> > uses on OSX, but on Windows it uses OPTLINK which is written in
> > hand-optimized Asm so
Steven Schveighoffer Wrote:
> On Thu, 03 Feb 2011 18:22:21 -0500, Nick Sabalausky wrote:
>
> > "Steven Schveighoffer" wrote in message
> > news:op.vqcns2egeav7ka@steve-laptop...
> >> On Thu, 03 Feb 2011 17:53:24 -0500, David Nadlinger
> >> wrote:
> >>
> >>> On 2/3/11 11:46 PM, Jonathan M Davis
Steven Schveighoffer Wrote:
> On Thu, 03 Feb 2011 16:41:08 -0500, Daniel Gibson
> wrote:
>
> > Am 03.02.2011 22:26, schrieb Steven Schveighoffer:
> >> On Thu, 03 Feb 2011 16:03:55 -0500, Daniel Gibson
> >> wrote:
> >>
> >>> Am 03.02.2011 21:48, schrieb Tomek SowiÅski:
> Speaking of Ta
Recently Bruno M. wrote:
> I may be spending too much time on the NG (especially for someone who doesn't
> skip the 8 hours of sleep)
A quick look at my daily routines revealed that I spend 7 hours studying the
dmd and phobos diffs, Debian, Ubuntu, and Arch linux packages status, bug
reports a
Jonathan M Davis Wrote:
> On Sunday 30 January 2011 00:05:59 Gary Whatmore wrote:
> > jim_g Wrote:
> > > What I tried to say is, in my opinion, a language with only a half or a
> > > quarter of D's improvements over C++ would be more successful on
> >
jim_g Wrote:
> What I tried to say is, in my opinion, a language with only a half or a
> quarter of D's improvements over C++ would be more successful on
> smartphone/tablet platforms than yet another x86 oriented language, no matter
> how good. The killer feature is to be in the right place an
Jesse Phillips Wrote:
> DSSS seemed to provide a great amount of simplicity and power... the problem
> is that it didn't always work.
I always wondered what happened to that boy. He had impressive coding skills
and lots of pragmatic common sense. There was at least one weakness in his
persona
Jeff Nowakowski Wrote:
> On 01/19/2011 04:18 PM, Gour wrote:
> >
> > That's why we wrote it would be better to use some rolling release
> > like Archlinux where distro cannot become so outdated that it's not
> > possible to upgrade easily.
>
> https://wiki.archlinux.org/index.php/FAQ :
>
> "Q) W
new2d Wrote:
> Trass3r Wrote:
>
> > new2d's recent post made me think about this.
> > Couldn't we try to get D development sponsored by Google SoC or something
> > similar?
>
> You should seriously consider if D is the next big language. It's hard to
> believe D works without major funding. A
Ary Borenszweig Wrote:
> You said Lua is a joke language. It doesn't seem to be one...
Okay then, maybe it's not completely true. I meant it doesn't work in large
scale applications unlike a static systems programming language. Need to study
how extensively it's used in that game. I just tihkn
Ary Borenszweig Wrote:
> Lua is a proven, robust language
>
> Lua has been used in many industrial applications (e.g., Adobe's
> Photoshop Lightroom), with an emphasis on embedded systems (e.g., the
> Ginga middleware for digital TV in Brazil) and games (e.g., World of
> Warcraft). Lua is current
Andreas Mayer Wrote:
> To see what performance advantage D would give me over using a scripting
> language, I made a small benchmark. It consists of this code:
>
> >auto L = iota(0.0, 1000.0);
> >auto L2 = map!"a / 2"(L);
> >auto L3 = map!"a + 2"(L2);
> >auto V = reduce!"a +
jovo Wrote:
> Hi,
> Today I compiled my old two module console program with d-2.50.
> It uses only std.c.time, std.c.stdio, std.random and templates.
> Compiled with -O -release, on windows.
> Executable size (d-2.50): 4.184 kb.
> Trayed with d-1.30: 84 kb.
>
> Is it expected?
This is something
Simen kjaeraas Wrote:
> Walter Bright wrote:
>
> > Andrei Alexandrescu wrote:
> >> Compared to the talk at Google, I changed one of the "cool things" from
> >> threading to operator overloading. Didn't manage to talk about that -
> >> there were a million questions - although I think it's a
Andrei Alexandrescu Wrote:
> Interesting paper relevant to D's template constraints:
>
> http://tinyurl.com/26xdpbq
Someone with knowledge of template constraints should extend the Figure 12. I
assume in D2 all those circles are fully black? Would be useful to list all the
new features in D2 c
Jack Wrote:
> The post "C#'s greatest mistakes" prompts/begs this post. Have at it,
> pick up the ball and run with it, don't be shy. I expect Walter and
> Andrei to answer (if Walter and Andrei so dare!) after others' posts have
> stopped or stagnated into that cesspool of threaded discussion
Peter Alexander Wrote:
> On 13/11/10 7:04 PM, parallel noob wrote:
> > The situation is different with GPUs. My Radeon 5970 has 3200 cores. When
> > the core count doubles, the FPS rating in games almost doubles. They
> > definitely are not running Erlang style processes (one for GUI, one for
>
parallel noob Wrote:
> Hello
>
> Intro: people with pseudonyms are often considered trolls here, but this is a
> really honest question by a sw engineer now writing mostly sequential web
> applications. (I write "parallel" web apps, but the logic goes that you
> write sequential applications
%u Wrote:
> Sean Kelly Wrote:
>
> > Walter Bright Wrote:
> >
> > > Russel Winder wrote:
> > > > At the heart of all this is that programmers are taught that algorithm
> > > > is a sequence of actions to achieve a goal. Programmers are trained to
> > > > think sequentially and this affects their
retard Wrote:
> Thu, 11 Nov 2010 19:41:56 +, Russel Winder wrote:
>
> > On Thu, 2010-11-11 at 15:16 +0100, Fawzi Mohamed wrote: [ . . . ]
> >> on this I am not so sure, heterogeneous clusters are more difficult to
> >> program, and GPU & co are slowly becoming more and more general
> >> purpo
Alexander Malakhov Wrote:
>
>
> Perhaps a module std.scripting could help quite a lot, too.
>
>
> >
> > module std.script;
> >
> > public import std.stdio, std.file, std.process, std.algorithm, ... etc
> >
> > I use at least some of these for most of my programs/scripts. And
> >
Steven Schveighoffer Wrote:
> On Thu, 11 Nov 2010 08:26:40 -0500, Gary Whatmore wrote:
> > Multiline strings have traditionally required stupid hacks. D might be
> > the only string oriented language with so many useful string literals.
> > Very useful in string processi
Yao G. Wrote:
> On Wed, 10 Nov 2010 20:34:07 -0600, bearophile
> wrote:
>
> > Do you seen anything wrong in this code? It compiles with no errors:
> >
> > enum string[5] data = ["green", "magenta", "blue" "red", "yellow"];
> > static assert(data[4] == "yellow");
> > void main() {}
> >
> >
> >
Jesse Phillips Wrote:
> Tomek Sowiñski Wrote:
>
> > This wraps up a thread from a few days ago. Pascal featured my D examples
> > on his Scriptometer site.
> >
> > http://rigaux.org/language-study/scripting-language/
> >
> > D comes 17th out of 28, so it's so-so for scripting.
> >
> > --
>
Pelle Månsson Wrote:
> On 11/09/2010 06:12 PM, Andrei Alexandrescu wrote:
> > On 11/7/10 9:12 PM, Eric Poggel wrote:
> >> On 11/7/2010 8:49 PM, Andrei Alexandrescu wrote:
> >>> On 11/7/10 5:34 PM, Jesse Phillips wrote:
> Tomek Sowiñski Wrote:
>
> > This wraps up a thread from a few d
bearophile Wrote:
> Gary Whatmore:
>
> > I'm seeing it. The other arguments for non-null types also fall short
> > because non-nulls don't solve basic problems like arrays, basic collections
> > in the library (custom fill policy).
>
> Arrays and collec
bearophile Wrote:
> Gary Whatmore:
>
> > You're missing the point. The reason for seg faults is to terminate the
> > application as quickly as possible. The developer then fires up the
> > debugger and fixes the app. Seg faults should never happen in production
&g
Walter Bright Wrote:
> Adam Burton wrote:
> > I wouldn't consider that as the same thing. null represents the lack of a
> > value where as 25 is the wrong value. Based on that argument the
> > application
> > should fail immediately on accessing the item with 25 (not many moons
> > later)
> >
FeepingCreature Wrote:
> Walter Bright Wrote:
> > All that does is reinvent the null pointer seg fault. The hardware does
> > this for
> > you for free.
>
> Walter, I know you're a Windows programmer but this cannot be the first time
> somebody has told you this - YOU CANNOT RECOVER FROM SEG F
Pelle Månsson Wrote:
> On 11/05/2010 02:39 PM, Kagamin wrote:
> > bearophile Wrote:
> >
> >> Spec# adds only few things to C# 2.0:
> >> - Non-nullable types;
> >
> > It's hard to tell, whether they fix anything. When you cast nullable to
> > non-nullable, you get your runtime exception as usual,
bearophile Wrote:
> Ellery Newcomer:
>
> > hey, cool
> >
> > stumbled on sing# a while ago and thought it was intriguing, or at least
> > the fact that ms was using it to write an OS kernel
>
> It contains a ton of new computer science ideas :-) So it's interesting
> regardless its applicatio
Pelle Månsson Wrote:
> On 11/05/2010 12:43 PM, Gary Whatmore wrote:
> > bearophile Wrote:
> >> - A way to list what attributes are modified in a method (similar to my
> >> @outer).
> >
> > The compiler should do this itself.
>
> Doesn't
bearophile Wrote:
> Plus a nice Microsoft site that allows you to try it in interactive way, this
> is very good:
> http://www.rise4fun.com/SpecSharp
D can do that too. We had those interactive versions in the newsrgoup. We saw
no value in them.
> Spec# adds only few things to C# 2.0:
> - Non-
Torarin Wrote:
> > // these don't work - why?
> > // auto b = [new B, new C];
> > // auto c = { return [1: new B,2: new C]; };
>
> That seems to be just a matter of improving the compiler to make it
> find the common type. I don't think there's anything in the language
> stopping that from work
The D way of returning tuples is:
T!(int,int) ret;
auto f = (ref T!(int,int) r){ r = e; };
f(ret);
It doesn't look so bad if you think about it. The tuple is first stack
allocated. It doesn't trigger heap allocation. High level scripting languages
always cause extra heap allocation if you
%u Wrote:
> %u Wrote:
>
> > I found a slideshow called 'The Expressiveness of Go' recently. The
> > conclusions are:
> >
> > * Go is not a small language but it is an expressive and comprehensible one.
> >
> > * Expressiveness comes from orthogonal composition of constructs.
> >
> > * Compreh
Nick Treleaven Wrote:
> There's a C++0x proposal for a range-based 'for' statement:
> http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2009/n2930.html
>
> The upcoming GCC 4.6 C++ compiler changes list support for this:
> http://gcc.gnu.org/gcc-4.6/changes.html
>
> I think the syntax could be
bearophile Wrote:
> Walter:
>
> > You post lists of features every day.
>
> I hate wasting your time, so please ignore my posts you aren't interested in.
> I write those things because I like to think and discuss about new ways to
> explain semantics to computers. Most of those things are for
bearophile Wrote:
> Adam D. Ruppe:
>
> > I've used D2 for a large web application for 7 months now without having to
> > change
> > any more than a handful of lines of code due to language/lib changes.
>
> Using D2 for an accounting program is currently too much dangerous still. D1
> may be us
retard Wrote:
> What annoys me the most in pro D articles is the author usually tries to
> prove (in a naive way) that despite all the deficiencies the language and
> tool chain bla blah blah
This guy has nothing better to do? Sheesh..
> For instance, I'm starting the implementation of a 64-bi
bearophile Wrote:
> Andrei:
>
> > Hope you agree with yourself :o).
>
> "Do I contradict myself? Very well, then I contradict myself, I am large, I
> contain multitudes."
> --Walt Whitman.
>
> The @tagged attribute for unions is an additive change. Even if you don't
> implement it now, people
I forgot Scala. They say Scala can @specialize without type erasure and it has
variance polymorphism. What are these? Sounds as if Scala is getting closer to
C++/D (instantiation and link-time optimization) and we need to fight back to
make our language more expressive.
- G.W.
Gary Whatmore
What's the difference between:
type polymorphism
parametric polymorphism
ad-hoc polymorphism
generics
c++ templates
d style templates
other templates (are there?)
Does Java and C# have type polymorphism or generics or templates? What's the
real name and how to compare? Is D most expressive? I be
Paulo Pinto Wrote:
> Haskell, F#, Ada, just to name a few.
Ivory tower bu***it.
>, C#, F#, Scala
Run in a VM > SLOW == impractical
- G.W.
Gary Whatmore Wrote:
> Walter Bright Wrote:
>
> > Looks like it hit reddit:
> >
> > http://www.reddit.com/r/programming/comments/dm8n8/the_many_faces_of_d_slides_pdf/
http://www.reddit.com/r/programming/comments/dm8n8/the_many_faces_of_d_slides_pdf/c11d2ie
There
Walter Bright Wrote:
> Looks like it hit reddit:
>
> http://www.reddit.com/r/programming/comments/dm8n8/the_many_faces_of_d_slides_pdf/
Their already criticizing D. We must defend ourselves.
- G.W.
Simen kjaeraas Wrote:
> Steven Schveighoffer wrote:
>
> > Would it not be less tedious to mark unpure functions instead of pure
> > functions? Or am I just going too far with this?
>
> You're probably going too far for it to be included in D2. D:
>
> That said, I believe you are absolutely
Steven Schveighoffer Wrote:
> On Mon, 20 Sep 2010 13:46:19 -0400, Bruno Medeiros
> wrote:
>
> > On 20/09/2010 16:13, klickverbot wrote:
> >> On 9/20/10 5:10 PM, Bruno Medeiros wrote:
> >>> I find myself wishing some more OSS projects had commercial-friendly
> >>> licenses. :-/ In particular LL
retard Wrote:
> Thu, 16 Sep 2010 21:38:24 -0400, sybrandy wrote:
>
> > On 09/16/2010 07:04 AM, Simen Kjaeraas wrote:
> >> Here's a draft of something I'd like to see. I like having the ten
> >> commandments, with #0 not really counting. C&C welcome.
>
> FWIW, if you're picking up one of the most
58 matches
Mail list logo