Re: Get your D Lang shirts!

2014-12-27 Thread Iain Buclaw via Digitalmars-d-announce
On 24 Dec 2014 22:20, Vic via Digitalmars-d-announce 
digitalmars-d-announce@puremagic.com wrote:


 http://teespring.com/d-lang-sv

 Non profit, I hope other follow suit.

I like the sentiment, but I think I'd prefer my own designs. ;)

Iain.


Re: GCCJIT Bindings for D

2014-12-27 Thread Iain Buclaw via Digitalmars-d-announce
For a more practical example, I've added an example jit compiled 
brainf*** interpreter.


https://github.com/ibuclaw/gccjitd/blob/master/tests/brainf.d

Also will be adding instructions on how to build the libgccjit 
frontend later this week - if you haven't already worked it out 
from the gccjit homepage.


Iain.


Re: Calypso: Direct and full interfacing to C++

2014-12-27 Thread Iain Buclaw via Digitalmars-d-announce
On 23 Dec 2014 13:30, CraigDillabaugh via Digitalmars-d-announce 
digitalmars-d-announce@puremagic.com wrote:

 On Tuesday, 23 December 2014 at 11:53:38 UTC, Dicebot wrote:

 On Tuesday, 23 December 2014 at 10:52:58 UTC, Joseph Rushton Wakeling
wrote:

 clip


 Consider both things like embedded/MIPS and Windows64 - LLVM tooling is
not as strong on those right now, GCC does not provide such easy way to
reuse C++ frontend and with DMD/MSVC it is simply beyond feasibility.

 clip


 Regarding GCC C++ frontend, will this be of help (also recently posted on
this list):

 http://forum.dlang.org/thread/weodkqwxrqetvolhb...@forum.dlang.org


I would say no.  The interface exposed by the jit frontend only supports a
small subset of C-like code at this point in time.  And doesn't allow you
to access other frontends.

Iain.


Re: GCCJIT Bindings for D

2014-12-27 Thread bearophile via Digitalmars-d-announce

Iain Buclaw:

For a more practical example, I've added an example jit 
compiled brainf*** interpreter.


https://github.com/ibuclaw/gccjitd/blob/master/tests/brainf.d


Here I have put a little program you can use as performance 
benchmark:

http://codepad.org/hogVnlIS

Bye,
bearophile


Re: D is one if Wired's 10 Most Hardcore Tech Stories of 2014

2014-12-27 Thread Walter Bright via Digitalmars-d-announce

On 12/26/2014 10:25 PM, Walter Bright wrote:

http://www.wired.com/2014/12/wired-enterprise-year/


https://www.reddit.com/r/programming/comments/2qioj8/dlang_story_makes_wireds_10_most_hardcore_tech/


Re: D is one if Wired's 10 Most Hardcore Tech Stories of 2014

2014-12-27 Thread Laeeth Isharc via Digitalmars-d-announce
On Saturday, 27 December 2014 at 11:15:11 UTC, Walter Bright 
wrote:

On 12/26/2014 10:25 PM, Walter Bright wrote:

http://www.wired.com/2014/12/wired-enterprise-year/


https://www.reddit.com/r/programming/comments/2qioj8/dlang_story_makes_wireds_10_most_hardcore_tech/


Congratulations, Walter.  It's very satifying to see emerging 
mainstream recognition of something so solid and whose advantages 
are based in real advantages rather than marketing hype.


I am personally very glad you decided on 'retirement' that you 
were not after all the daytime TV kind of guy, and I wanted to 
thank you for everything you have contributed to D and its users.


I wish you a great start to the new year.


Laeeth.



Re: dco can work for 64 bit,and base on D2.067b1:code.dlang.org

2014-12-27 Thread FrankLike via Digitalmars-d-announce

On Monday, 22 December 2014 at 11:41:16 UTC, FrankLike wrote:
dco is a build tool,and very easy to use,it can build dfl64.lib 
,dgui.lib or other your projects,it can auto copy dfl.lib to 
the dmd2\windows\lib or lib64.
After you work on the dfl2,use the build.bat,you will feel it's 
very easy to use.


dco:
https://github.com/FrankLIKE/dco/
dfl2:
https://github.com/FrankLIKE/dfl2/

Frank


Now,dco v0.08 can use.

2014-12-27 auto delete exe after build failed
   auto check WinMain when only use dco
2014-12-22 modify 'ignoreFiles' → 'ignore'

Now can be used in mono-d by Custom commands.


Re: dco can work for 64 bit,and base on D2.067b1:code.dlang.org

2014-12-27 Thread FrankLike via Digitalmars-d-announce

On Monday, 22 December 2014 at 11:41:16 UTC, FrankLike wrote:
dco is a build tool,and very easy to use,it can build dfl64.lib 
,dgui.lib or other your projects,it can auto copy dfl.lib to 
the dmd2\windows\lib or lib64.
After you work on the dfl2,use the build.bat,you will feel it's 
very easy to use.


dco:
https://github.com/FrankLIKE/dco/
dfl2:
https://github.com/FrankLIKE/dfl2/

Frank


Now,dco v0.08 can use.

2014-12-27 auto delete exe after build failed
auto check WinMain when only use dco
2014-12-22 modify 'ignoreFiles' → 'ignore'

Now dco can be used in mono-d by 'Custom commands'.


Re: D is one if Wired's 10 Most Hardcore Tech Stories of 2014

2014-12-27 Thread Andrej Mitrovic via Digitalmars-d-announce
On 12/27/14, Walter Bright via Digitalmars-d-announce
digitalmars-d-announce@puremagic.com wrote:
 http://www.wired.com/2014/12/wired-enterprise-year/


Great stuff. Here's to hoping that 2015 becomes a landmark year for D!


Re: D is one if Wired's 10 Most Hardcore Tech Stories of 2014

2014-12-27 Thread Walter Bright via Digitalmars-d-announce

On 12/27/2014 7:36 AM, Laeeth Isharc wrote:

On Saturday, 27 December 2014 at 11:15:11 UTC, Walter Bright wrote:

On 12/26/2014 10:25 PM, Walter Bright wrote:

http://www.wired.com/2014/12/wired-enterprise-year/


https://www.reddit.com/r/programming/comments/2qioj8/dlang_story_makes_wireds_10_most_hardcore_tech/



Congratulations, Walter.  It's very satifying to see emerging mainstream
recognition of something so solid and whose advantages are based in real
advantages rather than marketing hype.

I am personally very glad you decided on 'retirement' that you were not after
all the daytime TV kind of guy, and I wanted to thank you for everything you
have contributed to D and its users.

I wish you a great start to the new year.


Thank you very much for the kind words!

I am not interested in retirement. I'll be writing code until my mind gives out.

I do enjoy TV a bit much, building a home theater in the basement which is 
rather nice! It's amazing that an excellent theater can be built for under a 
grand outlay.




Re: D is one if Wired's 10 Most Hardcore Tech Stories of 2014

2014-12-27 Thread Andrei Alexandrescu via Digitalmars-d-announce

On 12/26/14 10:25 PM, Walter Bright wrote:

http://www.wired.com/2014/12/wired-enterprise-year/


Made it on reddit: 
http://www.reddit.com/r/programming/comments/2qioj8/dlang_story_makes_wireds_10_most_hardcore_tech/ 
-- Andrei


Re: D is one if Wired's 10 Most Hardcore Tech Stories of 2014

2014-12-27 Thread Rikki Cattermole via Digitalmars-d-announce

On 28/12/2014 7:45 a.m., Walter Bright wrote:

On 12/27/2014 7:36 AM, Laeeth Isharc wrote:

On Saturday, 27 December 2014 at 11:15:11 UTC, Walter Bright wrote:

On 12/26/2014 10:25 PM, Walter Bright wrote:

http://www.wired.com/2014/12/wired-enterprise-year/


https://www.reddit.com/r/programming/comments/2qioj8/dlang_story_makes_wireds_10_most_hardcore_tech/




Congratulations, Walter.  It's very satifying to see emerging mainstream
recognition of something so solid and whose advantages are based in real
advantages rather than marketing hype.

I am personally very glad you decided on 'retirement' that you were
not after
all the daytime TV kind of guy, and I wanted to thank you for
everything you
have contributed to D and its users.

I wish you a great start to the new year.


Thank you very much for the kind words!

I am not interested in retirement. I'll be writing code until my mind
gives out.

I do enjoy TV a bit much, building a home theater in the basement which
is rather nice! It's amazing that an excellent theater can be built for
under a grand outlay.


Now all you need is a rather decent computer with tv capture card and 
wala. Enjoy your full immersion programming environment! and media center.




Re: [OT?] C compiler written form scratch in D

2014-12-27 Thread Andrei Alexandrescu via Digitalmars-d-announce

On 12/7/14 11:13 AM, Stefan Koch wrote:

Hello,

I'd like to announce that I am going to be writing a C-compiler in D.
Without flex or bison or anything like that.
Just pure handwritten D.
I will shoot videos of my progress, and I will explain how a compiler
really works.

If you think that is like HandmadeHero you are right!
Caseys videos inspired my to do this.

I hope that some of you will be watching this.

Please tell me what you think if that announcement, and feel free to ask
anything you like.

Regards Stefan (Uplink_Coder).


Sounds like a really interesting idea. -- Andrei



Re: DlangUI project update

2014-12-27 Thread Jack via Digitalmars-d-announce
On Saturday, 27 December 2014 at 06:04:19 UTC, Vadim Lopatin 
wrote:

On Saturday, 27 December 2014 at 02:48:28 UTC, Jack wrote:
On Friday, 26 December 2014 at 12:33:04 UTC, Vadim Lopatin 
wrote:

Hello!

DlangUI project is alive and under active development.

https://github.com/buggins/dlangui


Greetings, great work so far!
So I have trouble building the project, error code is here:
http://dpaste.dzfl.pl/8953d39ee3f5
I've been only using dub to build the project with only a 
skeleton package with dlangui listed as a dependency.
I've been using ldc and dmd with no avail. Can you please help 
me?


Could you please share your helloworld.d, dub.json and 
directory structure?


For me, running of embedded examples working:
dub fetch --cache=local dlangui
cd dlangui-0.1.15
dub run dlangui:tetris
dub run dlangui:helloworld

DUB 0.9.22 which is available for download is a bit outdated - 
doesn't allow to copy directories with copyFiles (use newer dub 
with my pull request merged to avoid manual copying of resource 
directory.


Sample standalone project which can be used as reference is 
dlanguiide:

Try
git clone https://github.com/buggins/dlangide.git
cd dlangide
dub run

If it does work, something is wrong with your project.
If helloworld.d is replaced with usual D helloworld content, 
does it build and run?


Sorry it took so long, installing dub-git took so long with my 
net speed.

Runnung dub run dlangui:tetris got me this error code:
http://dpaste.dzfl.pl/0cf2b2476a85
I think the hello world mentioned in the error is the one inside 
the dlangui directory.

My project is only the one made by dub init package-name.
Thank you for taking the time to help me.


Re: DlangUI project update

2014-12-27 Thread Vadim Lopatin via Digitalmars-d-announce

On Sunday, 28 December 2014 at 02:31:56 UTC, Jack wrote:
Sorry it took so long, installing dub-git took so long with my 
net speed.

Runnung dub run dlangui:tetris got me this error code:
http://dpaste.dzfl.pl/0cf2b2476a85
I think the hello world mentioned in the error is the one 
inside the dlangui directory.

My project is only the one made by dub init package-name.
Thank you for taking the time to help me.


Could you post error log?
It's either in stderr output or in file ui.log



What is your OS?

There is known problem with fonts.
For linux, font paths are hardcoded (there is a ticket to 
implement FontConfig based font list).

For Mac, it will not find

Temporary workaround: register some fonts manually:
// get free type font manager access
auto ft = cast(FreeTypeFontManager)FontManager.instance;
// register some fonts like
ft.registerFont(/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf, 
FontFamily.SansSerif, DejaVu, false, FontWeight.Normal);


Re: DlangUI project update

2014-12-27 Thread Jack via Digitalmars-d-announce


On Sunday, 28 December 2014 at 06:13:48 UTC, Vadim Lopatin wrote:

On Sunday, 28 December 2014 at 02:31:56 UTC, Jack wrote:
Sorry it took so long, installing dub-git took so long with my 
net speed.

Runnung dub run dlangui:tetris got me this error code:
http://dpaste.dzfl.pl/0cf2b2476a85
I think the hello world mentioned in the error is the one 
inside the dlangui directory.

My project is only the one made by dub init package-name.
Thank you for taking the time to help me.


Could you post error log?
It's either in stderr output or in file ui.log



What is your OS?

There is known problem with fonts.
For linux, font paths are hardcoded (there is a ticket to 
implement FontConfig based font list).

For Mac, it will not find

Temporary workaround: register some fonts manually:
// get free type font manager access
auto ft = cast(FreeTypeFontManager)FontManager.instance;
// register some fonts like
ft.registerFont(/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf, 
FontFamily.SansSerif, DejaVu, false, FontWeight.Normal);


I'm using Arch Linux x64, as for the linux font paths problem, 
where should I put it? I've never really begun using dlangui, 
I've just been trying to build an empty project with it as its 
dependency.


And I don't really know how to access the stderr nor did I find 
any ui.log

Though this is the result of dub run dlangui:tetris -v
http://dpaste.dzfl.pl/0e144a999c3d


Re: Facebook is using D in production starting today

2014-12-27 Thread Andrei Alexandrescu via Digitalmars-d-announce

On 12/18/14 1:18 AM, Rune Christensen wrote:

On Monday, 18 November 2013 at 17:23:25 UTC, Andrei Alexandrescu wrote:

On 11/18/13 6:03 AM, Gary Willoughby wrote:

On Friday, 11 October 2013 at 00:36:12 UTC, Andrei Alexandrescu wrote:

In all likelihood we'll follow up with a blog post describing the
process.


Any more news on this Andrei?


Not yet. I'm the bottleneck here - must find the time to work on that.

Andrei


Are you still using D in production? Are you using it more than before?


Yes, and a bit. -- Andrei