search for: digitalmars

Displaying 11 results from an estimated 11 matches for "digitalmars".

2006 Nov 25
3
[LLVMdev] LLVM Newb: Getting started
...ssembler through conditional comilation, so the following would be completely valid: void foo(){ version(x86) { asm { /* x86 assembler */ } } else version(llvm) { asm { /* llvm assembler */ } } else { /* plain D implementation */ } } <http://www.digitalmars.com/d/iasm.html> <http://www.digitalmars.com/d/version.html> Any ideas, how this could be integrated with LLVM? The IMHO most naive approach would be to add labels where the asm begins and ends. Then the plattform dependent assembler being parted from the code llvm gets to see and bein...
2006 Nov 23
3
[LLVMdev] LLVM Newb: Getting started
A few days ago Craig Black made the suggestion in the D newsgroup, that someone creates a D <http://www.digitalmars.com/d/index.html> frontend for LLVM. Never having heard of LLVM in the past, I immediately got captured by its design when I've read the documentation. I was always scared by GCC - a great piece of software, but horribly bad documented, and in it's own way not very KISS. Since I...
2008 Oct 28
2
[LLVMdev] ldc (LLVM backend for the D Programming Language) has x86-64 support
...port added. I decided to run some timings on some D and C++ code to compare ldc to dmd (the mainline compiler), gdc (the gcc based D compiler) and g++. I used a ray tracing program found in this thread (make sure to use the code mentioned later in the thread as it has some optimizations): Go to digitalmars.com/ webnews/ newsgroups.php?renew=1 and search for: "D slower than C++ by a factor of _two_ for simple raytracer (gdc)" There are versions of the tracer for D and C++ that are quite comparable. Here are some timings I got on an AMDx86-64 running Fedora Core Linux. Timings are averag...
2006 Nov 24
0
[LLVMdev] LLVM Newb: Getting started
Hi Wolfgang, On Thu, 2006-11-23 at 19:47 +0100, Wolfgang Draxinger wrote: > A few days ago Craig Black made the suggestion in the D newsgroup, > that someone creates a D <http://www.digitalmars.com/d/index.html> > frontend for LLVM. Never having heard of LLVM in the past, I > immediately got captured by its design when I've read the > documentation. I was always scared by GCC - a great piece of > software, but horribly bad documented, and in it's own way not ver...
2008 Oct 28
0
[LLVMdev] ldc (LLVM backend for the D Programming Language) has x86-64 support
...n some timings on some D and C++ code to compare ldc to > dmd (the mainline compiler), gdc (the gcc based D compiler) and g++. > I used a ray tracing program found in this thread (make sure to use > the code mentioned later in the thread as it has some optimizations): > > Go to digitalmars.com/ webnews/ newsgroups.php?renew=1 and search > for: “D slower than C++ by a factor of _two_ for simple raytracer > (gdc)” Wow, very very nice! Have you pointed this out to the other D users? -Chris > > There are versions of the tracer for D and C++ that are quite > comp...
2009 Jan 09
0
[LLVMdev] LLVM based D compiler released
Maybe it's time to add it to the LLVM projects list. :) The original annoucement on digitalmars.D.announce and http://www.incasoftware.de/~kamm/projects/index.php/2009/01/09/ldc-09-released/ was: --- The first version of LDC (http://www.dsource.org/projects/ldc), the LLVM based compiler for version one of the D programming language has been released for x86-32 Linux. Get it here: http://ww...
2009 Jan 09
1
[LLVMdev] naked assembler / function written entirely in asm
...uld mean that the entire function is composed of a single asm block. Module level assembler could probably be used for this, but it would be nice if we could get away with using a single asm translator in the compiler. Thanx in advance, - Tomas Lindquist Olsen ---------------------- (1): http://digitalmars.com/d/1.0/index.html (2): http://dsource.org/projects/ldc -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090109/e4d76103/attachment.html>
2007 Oct 08
5
Flat code block syntax
>>> I'm not sure the indentation feature is so useful. After all, you >>> can use the old syntax if you want indentation. What do you think? >> >> I'd prefer to keep it simple and leave out the indentation feature. I would also prefer to leave this out. >>> Perhaps an alternative would be to use ++++s instead of ~~~~s. >> Advantages: Not
2013 Dec 03
1
[LLVMdev] Please update LDC references on LLVM website
...ommunity</a> +By the <a href="http://wiki.dlang.org/LDC">LDC developers</a> </div> <div class="www_text"> -<p><a href="http://www.dsource.org/projects/ldc">LDC</a> is a compiler for - the <a href="http://www.digitalmars.com/d">D programming Language</a>. It is - based on the latest DMD frontend and uses LLVM as its backend. LLVM provides - a fast and modern backend for high quality code generation.</p> - +<p><a href="http://dlang.org/">D</a> is a language with C...
2013 Dec 03
0
[LLVMdev] Please update LDC references on LLVM website
Can you send a patch? On 2 December 2013 06:44, Kai Nacke <kai at redstar.de> wrote: > Hi! > > I like to submit some updates to the LLVM website regarding the LDC > compiler. All links are currently out-of-date. The following pages need > updates: > > On page http://www.llvm.org/Users.html, please replace the existing entry > "LLVM D Compiler" in section
2013 Dec 02
3
[LLVMdev] Please update LDC references on LLVM website
Hi! I like to submit some updates to the LLVM website regarding the LDC compiler. All links are currently out-of-date. The following pages need updates: On page http://www.llvm.org/Users.html, please replace the existing entry "LLVM D Compiler" in section "Open Source Projects" with: <tr> <td><a href="http://wiki.dlang.org/LDC/">