whats happening to my binary file size?

2014-08-26 Thread Israel via Digitalmars-d-learn
I wasnt paying any attention to the file size of my binaries when i started using D. My first program is simple and compiles at 486kb, which honestly, is kind of absurd but anyways, after i start adding other imports it ran all the way up to 4.5mb. what i want to ask is, what exactly is

Re: whats happening to my binary file size?

2014-08-26 Thread Israel via Digitalmars-d-learn
On Wednesday, 27 August 2014 at 01:41:51 UTC, Messenger wrote: On Tuesday, 26 August 2014 at 23:36:44 UTC, Israel wrote: I wasnt paying any attention to the file size of my binaries when i started using D. My first program is simple and compiles at 486kb, which honestly, is kind of absurd

Re: whats happening to my binary file size?

2014-08-27 Thread Israel via Digitalmars-d-learn
On Wednesday, 27 August 2014 at 09:23:57 UTC, Marc Schütz wrote: On Wednesday, 27 August 2014 at 02:16:37 UTC, Israel wrote: On Wednesday, 27 August 2014 at 01:41:51 UTC, Messenger wrote: Conjecture: your binary has its imports statically linked in, and your linker doesn't remove unused code

Re: sdlang-d can not link after updating to dmd 2.066

2014-08-27 Thread Israel via Digitalmars-d-learn
It looks fine here, OSX 10.9.4 sdlang-d: =0.8.4 Im using DUB RC2 though

Re: D daemon GC?

2014-08-30 Thread Israel via Digitalmars-d-learn
On Saturday, 30 August 2014 at 17:09:41 UTC, JD wrote: Hi all, Or is there a safe D exit()? I always wondered why D doesnt have this. I tried searching google and could not find a definitive answer except interfacing with C...

Re: Programming a Game in D? :D

2014-09-01 Thread Israel via Digitalmars-d-learn
On Monday, 1 September 2014 at 17:24:10 UTC, rcor wrote: Just wanted to point out that there are also D bindings for Allegro5 (https://github.com/SiegeLord/DAllegro5). Allegro is a bit like SDL or SFML, but personally I find it a bit more intuitive. I've been using the D bindings for about a

Re: Basically want to make a macro script

2014-11-12 Thread Israel via Digitalmars-d-learn
On Wednesday, 12 November 2014 at 04:56:40 UTC, Casey wrote: also, you came to the right place. PB is extremely paranoid and even more so about autohokey, so if you program your own native macro, its not very likely it will catch it.

Re: Basically want to make a macro script

2014-11-12 Thread Israel via Digitalmars-d-learn
On Wednesday, 12 November 2014 at 08:02:06 UTC, ketmar via Digitalmars-d-learn wrote: On Wed, 12 Nov 2014 04:56:39 + Casey via Digitalmars-d-learn digitalmars-d-learn@puremagic.com wrote: D has nothing to do with your task, WinAPI does. and you'll need alot of expirience in reverse

Re: Basically want to make a macro script

2014-11-12 Thread Israel via Digitalmars-d-learn
On Wednesday, 12 November 2014 at 19:43:49 UTC, Casey wrote: On Wednesday, 12 November 2014 at 19:29:26 UTC, Israel wrote: On Wednesday, 12 November 2014 at 04:56:40 UTC, Casey wrote: also, you came to the right place. PB is extremely paranoid and even more so about autohokey, so if you

Re: Experience report on installing dmd 2.066.1 on OSX

2014-11-12 Thread Israel via Digitalmars-d-learn
On Wednesday, 12 November 2014 at 23:44:43 UTC, John Colvin wrote: On Wednesday, 12 November 2014 at 22:38:56 UTC, Ali Çehreli wrote: A friend of mine installed dmd on OSX and recorded his experiences: http://cap-lore.com/Languages/D/Install.html I wonder why he had to do manual work like

Re: Basically want to make a macro script

2014-11-12 Thread Israel via Digitalmars-d-learn
On Wednesday, 12 November 2014 at 23:40:09 UTC, Casey wrote: I'll look into that, it seems as it might work. If D would be too hard to get working, what would you recommend? I would assume Ptyhon or C++ would be good choices, any chance you can recommend a forum for these or something?

Re: Basically want to make a macro script

2014-11-12 Thread Israel via Digitalmars-d-learn
On Thursday, 13 November 2014 at 02:00:11 UTC, Rikki Cattermole wrote: On 13/11/2014 2:37 p.m., Casey wrote: On Thursday, 13 November 2014 at 01:35:28 UTC, Israel wrote: On Wednesday, 12 November 2014 at 23:40:09 UTC, Casey wrote: I'll look into that, it seems as it might work. If D would

Re: Basically want to make a macro script

2014-11-13 Thread Israel via Digitalmars-d-learn
On Thursday, 13 November 2014 at 21:56:48 UTC, Casey wrote: On Thursday, 13 November 2014 at 16:04:43 UTC, Adam D. Ruppe wrote: On Thursday, 13 November 2014 at 07:01:08 UTC, Rikki Cattermole wrote: I did find this [0]. I don't know what state its in for compilating/running ext. But it might

Re: Basically want to make a macro script

2014-11-13 Thread Israel via Digitalmars-d-learn
On Thursday, 13 November 2014 at 22:20:58 UTC, Casey wrote: On Thursday, 13 November 2014 at 21:56:48 UTC, Casey wrote: On Thursday, 13 November 2014 at 16:04:43 UTC, Adam D. Ruppe wrote: On Thursday, 13 November 2014 at 07:01:08 UTC, Rikki Cattermole wrote: I did find this [0]. I don't know

Re: Basically want to make a macro script

2014-11-13 Thread Israel via Digitalmars-d-learn
Maybe a screenshot might help? https://ooymza.dm2301.livefilestore.com/y2mt_9Z73WLi-1zso3LEjdCiC1x-GQzpjlaaftIFJ2Q0cHX2jd9vvwmVldHj1qRROER9IjiA1WwTzln5zveB9ZKZMrb1eeYNUgbzWQJlztqFAvQroAYm0k7_M4fuU3-XzAL/DMD.png

Re: Dlang seems like java now,but why not let d more like C# Style?

2015-03-16 Thread Israel via Digitalmars-d-learn
On Saturday, 14 March 2015 at 23:46:28 UTC, Ellery Newcomer wrote: On Saturday, 14 March 2015 at 13:52:13 UTC, Craig Dillabaugh wrote: I don't have any C# experience so I can't compare those languages much, but I've heard people say their are D / C# similarities. Anyway, this isn't a

How to properly Thread.sleep?

2015-03-25 Thread Israel via Digitalmars-d-learn
Ive tried using google but no matter what code i find it either doesnt work, compiler gives me errors or maybe the code is deprecated. What is the proper way of adding sleep time to a program? Ive tried.. import std.stdio; import core.thread; void main() { writeln(Sleep..);

Re: How to properly Thread.sleep?

2015-03-25 Thread Israel via Digitalmars-d-learn
On Wednesday, 25 March 2015 at 17:25:50 UTC, Sad panda wrote: Thread.sleep(200.msecs); Thread.sleep(12.seconds); Thread.sleep(1.minutes); There we go, thank you so much.

Re: How to make Application bundle from Executable? (Mac)

2015-02-20 Thread Israel via Digitalmars-d-learn
On Friday, 20 February 2015 at 06:19:29 UTC, Gan wrote: On Friday, 20 February 2015 at 06:10:51 UTC, Nicholas Wilson wrote: On Friday, 20 February 2015 at 03:26:47 UTC, Gan wrote: Also I can't get my application to load images that I place in the Resources folder(or any folder in the bundle

How to change text while running in console?

2015-04-26 Thread Israel via Digitalmars-d-learn
I remember doing this in C++ and it worked but is this possible in D? Its basically updating information in the console window without constantly printing new lines. http://stackoverflow.com/questions/14043148/how-to-change-text-while-running-the-console

Re: How to change text while running in console?

2015-04-26 Thread Israel via Digitalmars-d-learn
On Monday, 27 April 2015 at 02:30:36 UTC, Vladimir Panteleev wrote: On Monday, 27 April 2015 at 02:26:01 UTC, Israel wrote: I remember doing this in C++ and it worked but is this possible in D? Its basically updating information in the console window without constantly printing new lines.

Re: Why does this not work?

2016-01-01 Thread israel via Digitalmars-d-learn
On Friday, 1 January 2016 at 14:00:41 UTC, TheDGuy wrote: writeln("Which number should i guess?"); string input = readln(); int i = to!int(input); You fell for the C# syntax like me... According to Ahli. You have to use the old C way of doing it with readf.

Re: Can't debug my solution

2015-12-19 Thread Israel via Digitalmars-d-learn
On Saturday, 19 December 2015 at 20:52:41 UTC, Matheus Reis wrote: Hello, people! I'm Matheus, a 20 y/o game developer who wants to get started with D. It has really caught my attention, and I've been playing with it for some hours now. I've got it all working (without some "phobos.lib", is

Re: D programming video tutorial

2015-12-18 Thread Israel via Digitalmars-d-learn
On Friday, 18 December 2015 at 22:35:45 UTC, Jakob Jenkov wrote: On Sunday, 13 December 2015 at 20:29:47 UTC, Pederator wrote: I have been thinking about writing about D too. Maybe make a few videos. But I don't know... I don't know how big the interest is in total. Well considering