The release 0.9.1 of LDC, the LLVM based compiler for the D programming
language, contains the following major improvements:
* lots of bug fixes (http://www.dsource.org/projects/ldc/report/15)
* x86-64 support is mature
* inline asm improved (we now define D_Inline_Asm)
* cross-compilation
Christian Kamm wrote:
The release 0.9.1 of LDC, the LLVM based compiler for the D programming
language, contains the following major improvements:
* lots of bug fixes (http://www.dsource.org/projects/ldc/report/15)
* x86-64 support is mature
* inline asm improved (we now define
Great news! Keep up the good work!
Andrei Alexandrescu wrote:
Great! Quick question - are you supporting or considering supporting D2?
I looked on the project's home page and couldn't find that information.
There's mention of druntime for D2 which makes me hopeful.
Thanks,
Andrei
D2 support in LDC has been started, but it
Christian Kamm wrote:
The release 0.9.1 of LDC, the LLVM based compiler for the D programming
language, contains the following major improvements:
* lots of bug fixes (http://www.dsource.org/projects/ldc/report/15)
* x86-64 support is mature
* inline asm improved (we now define
On Wed, May 27, 2009 at 2:19 PM, Christian Kamm
kamm-incasoftw...@removethis.de wrote:
The release 0.9.1 of LDC, the LLVM based compiler for the D programming
language, contains the following major improvements:
* lots of bug fixes (http://www.dsource.org/projects/ldc/report/15)
* x86-64
Robert Clipsham wrote:
Andrei Alexandrescu wrote:
Great! Quick question - are you supporting or considering supporting
D2? I looked on the project's home page and couldn't find that
information. There's mention of druntime for D2 which makes me hopeful.
Thanks,
Andrei
D2 support in LDC
Christian Kamm, el 27 de mayo a las 20:19 me escribiste:
The release 0.9.1 of LDC, the LLVM based compiler for the D programming
language, contains the following major improvements:
* lots of bug fixes (http://www.dsource.org/projects/ldc/report/15)
* x86-64 support is mature
* inline
bearophile wrote:
* turn GC allocations to allocas if possible
Phobos1 of DMD too has alloca, so can this optimization be folded in DMD too?
I doubt it, these look like LLVM specific optimisations.
* simplify or remove certain calls to D runtime functions
What calls?
Looking at the
bearophile wrote:
Christian Kamm:
The release 0.9.1 of LDC, the LLVM based compiler for the D programming
language, contains the following major improvements:
Very good. I'll try this too.
* turn GC allocations to allocas if possible
Phobos1 of DMD too has alloca, so can this
First of all: Thanks for your your great work.
Unfortunately I still have the debugging problem already described in
the debugger group (using the x86-64 build on Ubuntu 9.04).
I compile a programm using
ldmd -g -debug test.d
Then I try to debug using gdb with the D patches:
(gdb) list
1
While this code:
typedef int Int2 = 2;
auto a = cast(int[])(new Int2[1000]);
Produces:
pushl %esi
subl$8, %esp
movl$1000, 4(%esp)
movl$_D20TypeInfo_ATmain4Int26__initZ, (%esp)
xorl%esi, %esi
call_d_newarrayiT
Great news, happy to see x86_64 on the feature list :)
Robert Clipsham wrote:
...
I actually thought about giving this a try about a week ago. I managed
to get all but one file to compile with the current version of the D2
front end (2.021 I believe)... Not bad considering my (lack of) C/C++
knowledge. If there's some interest for it I suppose
bearophile wrote:
Frits van Bommel:
Thank you for your answers.
This one is only done for certain GC allocations by the way, not all of them.
The ones currently implemented are:
* new Struct/int/float/etc.,
* uninitialized arrays (used for arr1 ~ arr2, for instance),
* zero-initialized
bearophile wrote:
While this code:
typedef int Int2 = 2;
auto a = cast(int[])(new Int2[1000]);
Produces:
pushl %esi
subl$8, %esp
movl$1000, 4(%esp)
movl$_D20TypeInfo_ATmain4Int26__initZ, (%esp)
xorl%esi, %esi
call
Frits van Bommel:
Thanks for your answers (and your work).
That's trickier to get right, because the optimizer would have to look ahead
to
see the new memset call is always followed by the initialization, with no
reads
in between.
I understand, and that may be more complex to do if the
Matt Nawrocki wrote:
Hi... are there any IDEs or editors out there that support DMD 2.0 yet? I am
having a hard time finding a good one. Thanks!
Matt
When you say editor that supports D, do you primarily mean syntax
highlighting? In that case, there should be plenty, as there really
Lars T. Kyllingstad:
for D2 I only had to add the keywords ref and string to the syntax file. :)
You may have to add immutable, nothrow, pure (and maybe const), and be
sure invariant and inout are absent.
Bye,
bearophile
bearophile wrote:
Lars T. Kyllingstad:
for D2 I only had to add the keywords ref and string to the syntax file. :)
You may have to add immutable, nothrow, pure (and maybe const), and be sure
invariant and inout are absent.
invariant is still used as class invariants.
Bye,
bearophile
On Wed, 27 May 2009 10:21:30 -0400, Lars T. Kyllingstad
pub...@kyllingen.nospamnet wrote:
Matt Nawrocki wrote:
Hi... are there any IDEs or editors out there that support DMD 2.0 yet?
I am having a hard time finding a good one. Thanks!
Matt
When you say editor that supports D, do you
You pretty much nailed it. The ownership scheme will be explained in more
detail in the next two installments, which are almost ready.
Ary Borenszweig Wrote:
invariant is still used as class invariants.
Right.
__gshared also has to be added.
Currently my editor doesn't highlight numbers like 1_2 yet.
Bye,
bearophile
Matt Nawrocki Wrote:
Hi... are there any IDEs or editors out there that support DMD 2.0 yet? I am
having a hard time finding a good one. Thanks!
Matt
Have at look at Code::Blocks - it works well on Windows and Linux and has
support for D1.0 - so I guess that should cover most of D2.0
This may seem slightly OT but in your blog I will use syntax similar to
that of the D programming language, but C++ and Java programmers
shouldn’t have problems following it.
class MVarT {
private:
T_msg;
bool _full;
public:
// put: asynchronous (non-blocking)
//
I've been wanting to write a D-styled data format module but just got
extremely discouraged :)
Most of the functionality I need for this is already available in D2's
std.conv.
Is it possible to add this functionality into D1's std.conv?
Matt Nawrocki Wrote:
Hi... are there any IDEs or editors out there that support DMD 2.0
yet? I am having a hard time finding a good one. Thanks!
On the Windows platform there is the Zeus editor/IDE:
http://www.prowiki.org/wiki4d/wiki.cgi?EditorSupport/ZeusForWindows
Zeus is a shareware
Jason House wrote:
Don't read into it. I took it as being more readable for non-D users. Angle brackets show up in C++ templates, Java generics, and C# generics. IMHO, is more recognizable, even for those that don't code in any of the languages mentioned. D's syntax is good, just not wide
Have a look at std2. It's a backporting of some features of Phobos 2,
including some of the new std.conv, to D1:
http://www.dsource.org/projects/std2
Looks nice!
Why can't this be in official Phobos1?
It's a ploy from the D2 camp, right?
Why can't this be in official Phobos1?
Especially because the documentation gets more and more outdated the further
D2 progresses from 2.008 :(
On Wed, May 27, 2009 at 8:57 PM, Saaa em...@needmail.com wrote:
Have a look at std2. It's a backporting of some features of Phobos 2,
including some of the new std.conv, to D1:
http://www.dsource.org/projects/std2
Looks nice!
Why can't this be in official Phobos1?
It's a ploy from the D2
Why can't this be in official Phobos1?
It's a ploy from the D2 camp, right? :)
If by ploy you mean Walter's official stance not to change D1 or
Phobos 1, then yes, it's a ploy. But that's a bit harsh, no?
I fixed it to how I meant it.
But I do find it a tad strange.
What disadvantage is
dmd v1.045 on Linux, I got error like:
Error: 4invalid UTF-8 sequence
Error: std.format int argument expected
Then I run the program under debugger, there is no indication where the error
occurred:
Error: 4invalid UTF-8 sequence
Program exited with code 01.
(gdb) where
No stack.
This is
On Wed, May 27, 2009 at 11:13 PM, nobody n...@where.com wrote:
dmd v1.045 on Linux, I got error like:
Error: 4invalid UTF-8 sequence
Error: std.format int argument expected
Then I run the program under debugger, there is no indication where the error
occurred:
Error: 4invalid UTF-8
From what I understand, you can set GDB to break whenever _d_throw is
called. I don't know the syntax.
Thanks for the hint. I googled it, here's the way to do it:
$ objdump -x your.exe | grep throw
0819c1e0 g F .text 0217 _d_th...@4
(gdb) break *0x0819c1e0
Breakpoint 1
On Thu, May 28, 2009 at 12:08 AM, nobody n...@where.com wrote:
If you don't want to use a debugger, there's always
printf/writefln/Stdout debugging.
using writefln to find writefln errors? ;-)
As long as you don't use invalid UTF-8 data in your debugging statements ;)
On Wed, May 27, 2009 at 8:55 PM, Robert Fraser
fraseroftheni...@gmail.com wrote:
Hi all,
Quick question: I want to use some unicode identifiers, but I get
unsupported char 0xe2, both with using and not using a BOM. The characters
in question are the superset/subset-equals operators: ⊇ and
Jarrett Billingsley wrote:
On Wed, May 27, 2009 at 8:55 PM, Robert Fraser
fraseroftheni...@gmail.com wrote:
Hi all,
Quick question: I want to use some unicode identifiers, but I get
unsupported char 0xe2, both with using and not using a BOM. The characters
in question are the
http://d.puremagic.com/issues/show_bug.cgi?id=3028
Summary: The D 1.0 Ubuntu .deb file is completely broken
Product: D
Version: unspecified
Platform: PC
URL: http://www.digitalmars.com/d/download.html
OS/Version: Linux
http://d.puremagic.com/issues/show_bug.cgi?id=3028
--- Comment #2 from Vladimir thecybersha...@gmail.com 2009-05-26 23:15:48
PDT ---
Oh, and I forgot to mention that dmd.conf is set up incorrectly - there is one
../ too many in the -I path for Phobos.
--
Configure issuemail:
http://d.puremagic.com/issues/show_bug.cgi?id=1459
--- Comment #3 from Don clugd...@yahoo.com.au 2009-05-27 01:39:19 PDT ---
That patch was incomplete, we also need to test for delegates.
// Revised patch.
+Type *tb = e1-type-toBasetype();
+ if (type-toBasetype()-ty == Tstruct
http://d.puremagic.com/issues/show_bug.cgi?id=852
--- Comment #5 from Tomas Lindquist Olsen to...@famolsen.dk 2009-05-27
04:46:15 PDT ---
Both test cases work correctly in LDC by giving an error:
$ ldc foo.d
foo.d(5): Error: outer function context of foo.bar is needed to 'new' nested
class
http://d.puremagic.com/issues/show_bug.cgi?id=899
Vladimir thecybersha...@gmail.com changed:
What|Removed |Added
CC||malagan...@yahoo.es
http://d.puremagic.com/issues/show_bug.cgi?id=852
Don clugd...@yahoo.com.au changed:
What|Removed |Added
Keywords||patch
http://d.puremagic.com/issues/show_bug.cgi?id=3027
Gide Nwawudu g...@nwawudu.com changed:
What|Removed |Added
CC||g...@nwawudu.com
---
http://d.puremagic.com/issues/show_bug.cgi?id=2899
Sobirari Muhomori ma...@pochta.ru changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=1824
Sobirari Muhomori ma...@pochta.ru changed:
What|Removed |Added
CC||dav...@126.com
http://d.puremagic.com/issues/show_bug.cgi?id=1824
Sobirari Muhomori ma...@pochta.ru changed:
What|Removed |Added
CC||somea...@yahoo.com
http://d.puremagic.com/issues/show_bug.cgi?id=3030
Summary: wcslen should accept const argument
Product: D
Version: 2.030
Platform: All
URL: http://dsource.org/projects/druntime/browser/trunk/imp
ort/core/stdc/wchar_.d
http://d.puremagic.com/issues/show_bug.cgi?id=3031
Summary: scoped static var conflicts while linking
Product: D
Version: 2.028
Platform: PC
OS/Version: Windows
Status: NEW
Severity: major
Priority: P1
http://d.puremagic.com/issues/show_bug.cgi?id=3032
Summary: No stack allocation for scope c = new class Object
{};
Product: D
Version: 1.044
Platform: PC
OS/Version: Linux
Status: NEW
Keywords:
http://d.puremagic.com/issues/show_bug.cgi?id=2774
--- Comment #4 from Shin Fujishiro rsi...@gmail.com 2009-05-27 13:23:56 PDT
---
(From update of attachment 381)
Please insert the following case TOKtype in addition to the patch. It handles
Type.mangleof.
+Dsymbol *ds = NULL;
+
http://d.puremagic.com/issues/show_bug.cgi?id=2774
--- Comment #5 from Jarrett Billingsley jarrett.billings...@gmail.com
2009-05-27 16:05:02 PDT ---
You're pretty awesome.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail
There is nothing called a free lunch is this world. If things needed
to be resolved then initiative needs a support to be sorted out.
a href=http://mls.fastrealestate.netmls/a
54 matches
Mail list logo