Re: Shared Libraries [was Re: D 1.076 and 2.061 release]

2013-01-10 Thread Jacob Carlborg

On 2013-01-11 05:22, deadalnix wrote:


I have to concurs with Walter here. Knowing assembly language is a great
way to improve you knowledge of programming in general. This is way
easier than what most dev think.

I personally know assembly for ARM and x86, and it is clearly helpful.


I have no doubt that it can be useful and helpful. The time to learn it 
just competes with so much else.


--
/Jacob Carlborg


Re: Shared Libraries [was Re: D 1.076 and 2.061 release]

2013-01-10 Thread Jacob Carlborg

On 2013-01-10 21:13, Walter Bright wrote:


No. But a reasonable way is to just get the instruction set reference
from Intel, and single step some D code in assembler mode in the
debugger and go instruction by instruction.


I see, thanks.


I think you'll be pleasantly surprised at how knowing assembler will
improve your high level coding abilities.


Yeah, that's one thing I've learned by reading the newsgroups here.

--
/Jacob Carlborg


Re: Announcement: "preapproved" tag added to bugzilla

2013-01-10 Thread Andrei Alexandrescu

On 1/10/13 2:16 PM, Andrej Mitrovic wrote:

On 1/9/13, Andrei Alexandrescu  wrote:

As part of our continued efforts to improve the process, we have added
the "preapproved" tag to bugzilla.


So where can we ask for some issues be inspected for preapproving?


Here.

Andrei


Re: Shared Libraries [was Re: D 1.076 and 2.061 release]

2013-01-10 Thread Walter Bright

On 1/10/2013 8:22 PM, deadalnix wrote:

I have to concurs with Walter here.


I know that must be hard for you, and I admire your sacrifice!

:-)


Re: D 1.076 and 2.061 release

2013-01-10 Thread Jonathan M Davis
On Thursday, January 10, 2013 23:37:29 Pierre Rouleau wrote:
> Why not create a link to a second page that would contain that
> javascript so that people can decide to use it or not?  Just adding a
> link to this on the version number for example. Getting the list that
> was available in previous releases would just be one more click away.

People who don't want javascript, disable it, and it's my understanding that 
you can set up a page to provide alternate content if javascript is disabled, 
so if we want to use javascript but are worried about people like Nick 
freaking out about it, that's how I'd expect that we'd deal with it.

- Jonathan M Davis


Re: Announcement: "preapproved" tag added to bugzilla

2013-01-10 Thread Jonathan M Davis
On Thursday, January 10, 2013 00:20:18 Pierre Rouleau wrote:
> Therefore all questions on the development process should be sent here?

No. This list is for announcements. Digitalmars.D is for general D discussion. 
Digitalmars.D.Learn is for questions about how to use the language and general 
newbie stuff. For stuff specific to Phobos and general development discussions 
for D and its standard library, there's the Phobos list, and DMD.Internals and 
D-Runtime are for dmd and druntime respectively.

In general, if you don't know where to post something, post it to 
Digitalmars.D. For development process stuff, I guess that you could ask on 
either the Phobos list or in the main newsgroup, but you'll get more 
visibility in the main newsgroup, and the Phobos list is pretty quiet these 
days.

- Jonathan M Davis


Re: D 1.076 and 2.061 release

2013-01-10 Thread Pierre Rouleau

On 13-01-10 12:13 AM, Walter Bright wrote:

On 1/4/2013 12:10 PM, r_m_r wrote:

I was wondering if it is possible to integrate some javascript in the
changelog
page to automatically generate the list of fixed issues as suggested
by Jonathan
(As an example, please see the attached file: jq.html).



Thanks for doing this. It's an interesting idea. Some people hate
javascript solutions, though :-)


Why not create a link to a second page that would contain that 
javascript so that people can decide to use it or not?  Just adding a 
link to this on the version number for example. Getting the list that 
was available in previous releases would just be one more click away.


I would also be possible to add a count of entries on each of those 
javascript-generated lists for quickly identifying if something has 
changed since last looking at them.

--
/Pierre Rouleau


Re: Shared Libraries [was Re: D 1.076 and 2.061 release]

2013-01-10 Thread deadalnix
On Thursday, 10 January 2013 at 18:30:10 UTC, Jacob Carlborg 
wrote:

On 2013-01-10 06:18, Walter Bright wrote:

On 1/9/2013 11:02 AM, Jacob Carlborg wrote:

As I said, I don't know assembly but here's the output:


Good time to learn it!


Do you have any good books to recommend for this?

I will most likely not have time to learn assembly now. I'm 
busy with other things and I think I could spend my time better 
by contributing with other D related things.




I have to concurs with Walter here. Knowing assembly language is 
a great way to improve you knowledge of programming in general. 
This is way easier than what most dev think.


I personally know assembly for ARM and x86, and it is clearly 
helpful.


Build Script in D

2013-01-10 Thread David
I wrote a build script, mainly for my own project, the last days I
rewrote it be as flexible as possible (It makes make obsolete, at least
in my case):

https://github.com/Dav1dde/BraLa/blob/master/build_brala.d

usage:
rdmd build_brala.d # you can rename it of course!
-j --jobs # like -j for makefiles
-c --cache # path to a cache file, default is .build_cache
--no-cache # disables the build cache
-o --override-cache # doesn't load the cache file, but writes the newer
version

How to actually use the fancy classes:
https://github.com/Dav1dde/BraLa/blob/master/build_brala.d#L303

The Builder class takes 4 arguments, the cache (MD5Cache and NoCache are
implemented), the linker (only dmd implemented), the D-compiler (only
dmd implemented) and the C-Compiler (gcc and dmc implemented)

The rest should get clear when reading main()

TODO:
 * documentation
 * other compilers (only a few lines for each compiler + a few to
implement Linker functionality)
 * provide helpers for the taskpool (maybe)
 * add logging options, currently every command is printed to stdout

Any input welcome!


Re: Announcement: "preapproved" tag added to bugzilla

2013-01-10 Thread Andrej Mitrovic
On 1/9/13, Andrei Alexandrescu  wrote:
> As part of our continued efforts to improve the process, we have added
> the "preapproved" tag to bugzilla.

So where can we ask for some issues be inspected for preapproving?


Re: Shared Libraries [was Re: D 1.076 and 2.061 release]

2013-01-10 Thread Walter Bright

On 1/10/2013 10:30 AM, Jacob Carlborg wrote:

On 2013-01-10 06:18, Walter Bright wrote:

On 1/9/2013 11:02 AM, Jacob Carlborg wrote:

As I said, I don't know assembly but here's the output:


Good time to learn it!


Do you have any good books to recommend for this?


No. But a reasonable way is to just get the instruction set reference from 
Intel, and single step some D code in assembler mode in the debugger and go 
instruction by instruction.



I will most likely not have time to learn assembly now. I'm busy with other
things and I think I could spend my time better by contributing with other D
related things.


I think you'll be pleasantly surprised at how knowing assembler will improve 
your high level coding abilities.




Also you said:

"No prob. I'll be happy to make compiler mods as necessary, once the exact
problems are identified."

http://forum.dlang.org/thread/kbvsgo$1po3$1...@digitalmars.com?page=26#post-kcdvjh:242a1f:241:40digitalmars.com


Yes, I did. And I know that the compiler will have to be modified to match with 
Apple's new scheme.




Re: Shared Libraries [was Re: D 1.076 and 2.061 release]

2013-01-10 Thread Jacob Carlborg

On 2013-01-10 06:18, Walter Bright wrote:

On 1/9/2013 11:02 AM, Jacob Carlborg wrote:

As I said, I don't know assembly but here's the output:


Good time to learn it!


Do you have any good books to recommend for this?

I will most likely not have time to learn assembly now. I'm busy with 
other things and I think I could spend my time better by contributing 
with other D related things.


Also you said:

"No prob. I'll be happy to make compiler mods as necessary, once the 
exact problems are identified."


http://forum.dlang.org/thread/kbvsgo$1po3$1...@digitalmars.com?page=26#post-kcdvjh:242a1f:241:40digitalmars.com

--
/Jacob Carlborg