Re: LDC 1.7.0-beta1

2017-12-11 Thread John via Digitalmars-d-announce

On Sunday, 10 December 2017 at 18:11:46 UTC, Suliman wrote:

On Sunday, 10 December 2017 at 17:33:34 UTC, kinke wrote:

Hi everyone,

on behalf of the LDC team, I'm glad to announce the first beta 
for LDC 1.7. The highlights of this version in a nutshell:


* Based on D 2.077.1.
* Catching C++ exceptions supported on Linux and Windows.

Full release log and downloads: 
https://github.com/ldc-developers/ldc/releases/tag/v1.7.0-beta1


Thanks to all contributors!


Is it's possible to produce x64 binaries on Windows x64 without 
installing Visual Studio? DMD do not have linker for x64.


You can install just the C++ build tools from VS.


Re: LDC 1.7.0-beta1

2017-12-11 Thread Meta via Digitalmars-d-announce

On Sunday, 10 December 2017 at 17:33:34 UTC, kinke wrote:

Hi everyone,

on behalf of the LDC team, I'm glad to announce the first beta 
for LDC 1.7. The highlights of this version in a nutshell:


* Based on D 2.077.1.
* Catching C++ exceptions supported on Linux and Windows.

Full release log and downloads: 
https://github.com/ldc-developers/ldc/releases/tag/v1.7.0-beta1


Thanks to all contributors!


Very impressive. I'm curious, is the work done to catch C++ 
exceptions separate from Walter's previous efforts with dmd, or 
does it build on his work in some way?


Re: d-apt update

2017-12-11 Thread Manu via Digitalmars-d-announce
I would strongly suggest the rdmd be included in dmd-bin rather than
dmd-tools.


On 8 December 2017 at 07:53, Jordi Sayol via Digitalmars-d-announce <
digitalmars-d-announce@puremagic.com> wrote:

> d-apt  release dmd v2.077.1
>
> In this release, d-apt splits "dmd-bin" deb package into "dmd-compiler"
> (the command line compiler) and "dmd-tools" (includes: dumpobj, obj2asm,
> rdmd, ddemangle and dustmite).
>
> Best regards,
> Jordi.
>


Re: d-apt update

2017-12-11 Thread TooHuman via Digitalmars-d-announce

On Saturday, 9 December 2017 at 14:57:17 UTC, Jordi Sayol wrote:
El 09/12/17 a les 14:32, jmh530 via Digitalmars-d-announce ha 
escrit:
I consider rdmd to be part of the compiler in a way that I 
don't consider the other dmd-tools...


You're right. I'll fix on next dmd release.

Jordi


Yes, please. I was really confused when I realised rdmd had been 
removed despite having dmd installed.


Re: GSoC 2018 - Your project ideas

2017-12-11 Thread Iain Buclaw via Digitalmars-d-announce
On 11 December 2017 at 21:15, Basile B. via Digitalmars-d-announce
 wrote:
> ## Linux debugger
>
> I think it's a bad idea.
>
> 1. because of the 3 months. Would it be usable despite of being an
> interesting for the student ?
> 2. what will it do better than GDB ?
> 3. I.Buclaw is the official maintainer for the D support in GDB, so why not
> doing something in GDB instead (yeah but what... )
>

There are still things that GDB supports, but DMD doesn't generate
proper debug info in order to leverage it.


Re: GSoC 2018 - Your project ideas

2017-12-11 Thread Basile B. via Digitalmars-d-announce

On Tuesday, 5 December 2017 at 18:20:40 UTC, Seb wrote:

Hi all,

Google Summer of Code (GSoC) 2018 is about to start soon [1] 
[...]
I am looking forward to hearing (1) what you think can be done 
in three months by a student and (2) will have a huge impact on 
the D ecosystem.


Cheers,

Seb

[1] https://developers.google.com/open-source/gsoc/timeline
[2] https://wiki.dlang.org/GSOC_2018_Ideas


My two cents:

## Lowerer

1. I think that this project is too abstract, there's no concrete 
application.
2. Issue 5051 is mentioned but i think that many features listed 
in this project are actually **already** done when the switch 
"-vcg-ast" is used (scope lowering(), foreach() lowering, ...)


## Phobos: D Standard Library

- std.units: no there are user libs for that, particularly one by 
klickverbot and one of its fork that is more maintained IIRC.
- std.serialization: yes, this is the idea i like the more, 
although we can regret that std.xml2 would have been good to be 
there as supported file format.
- std.container: skeptical, changes are announced for the 
allocators, Big(O) notation was planned in another container 
project that should have been made by Alexandrescu (although this 
was announced something like 2 years ago already).
- std.decimal: I've seen that J.Stouffler has just started an 
stdx project for this.


## DUB

There are good ideas. A proper plan is needed.

## Linux debugger

I think it's a bad idea.

1. because of the 3 months. Would it be usable despite of being 
an interesting for the student ?

2. what will it do better than GDB ?
3. I.Buclaw is the official maintainer for the D support in GDB, 
so why not doing something in GDB instead (yeah but what... )



So in short, i see only two good projects:
- std.serializer
- DUB

The others, excepted those i find useless or unrealistic or 
existing, are just "meh", but it's a personal point of view. It's 
a problem of balance: it must be interesting and motivating for 
the student but also useful for the community.


Re: remake of remake of Konami's Knightmare

2017-12-11 Thread ketmar via Digitalmars-d-announce

major update: entity logic is completely driven by external scripts now! ;-)

most of "monsters.d" code moved to MES scripts. also, entity (actor in the 
terms of the engine) management was completely rewritten, so it mostly 
doesn't allocate in game loop.


"what is MES?", one may ask. ok, MES is a scripting engine, writen 
specifically for scripting simple games. it has only one object type 
(Actor), but it is statically typed, supports UFCS and function pointers 
(and some syntactic sugar), so it may look like procedural or OOP language 
(at your choice). it is compiled to virtual machine code (3-operand 
instructions). compiler doesn't use AST, but does one extra pass over a 
source to collect functions/globals/fields definitions, so there is no need 
to write any forward declarations.


so why i did it, and why it is better than old D code? the answer is very 
simple: because i can! ;-)


you're welcome to study MES compiler implementation if you like. it is 
contained in one file (mesengine.d), and is not that hard to follow.


Re: D User Survey

2017-12-11 Thread Russel Winder via Digitalmars-d-announce
On Sun, 2017-12-10 at 04:02 -0500, Nick Sabalausky (Abscissa) via
Digitalmars-d-announce wrote:
> On 12/09/2017 07:58 AM, wobbles wrote:
> > On Thursday, 7 December 2017 at 14:31:01 UTC, Chris wrote:
> >   I didn't know Ireland was so
> > > unknown, unless, of course, I'm supposed to choose "Great Britain".
> > 
> > I also hated myself for clicking Great Britain :-)
> 
> As an outsider, I'm curious about this. My (perhaps innacurate?) 
> understanding was that "Great Britain" was more a geographical term 
> referring to everything on the islands rather than a political boundary 
> (as opposed to "UK" which is purely a political concept and includes 
> some, but not all, of the countries on the same islands). Is that not 
> enitrely correct? Or is that exactly the the part that's uncomfortable - 
> that it's a "Country" field which lacks the actual country name and only 
> offers a geographic collection in its place?

The UK is the United Kingdom of Great Britain and Northern Ireland. Well for
now, let's see what happens come 2019-03-30.

Great Britiain is technically the geographical thing, the island and
surrounding islands that are politically Scotland, Wales, and England. Wales
was effectively annexed by England long ago. Scotland joined with England
via the Act of Union 1707.

Northern Ireland is the result of the termination of the English occupation
of Ireland. The 1921 separation of Ireland that allowed the Irish Free State
to form in 1922. Basically it separated the unionists and the republicans so
the republicans could get on with life as a self determining political
entity.

Many international organisations have confused everyone about the labels,
UK, Great Britain, GB, GBR, especially in Internet circles and in sport.

Wikipedia is mostly not entirely wrong on this stuff.

-- 
Russel.
=
Dr Russel Winder t:+44 20 7585 2200   voip:sip:
russel.win...@ekiga.net
41 Buckmaster Road   m:+44 7770 465 077   xmpp:rus...@winder.org.uk
London SW11 1EN, UK  w: www.russel.org.uk skype:russel_winder

signature.asc
Description: This is a digitally signed message part


Re: GSoC 2018 - Your project ideas

2017-12-11 Thread Craig Dillabaugh via Digitalmars-d-announce
On Monday, 11 December 2017 at 09:14:29 UTC, Martin Tschierschke 
wrote:
On Friday, 8 December 2017 at 06:43:22 UTC, Dmitry Olshansky 
wrote:
On Thursday, 7 December 2017 at 22:26:08 UTC, Bastiaan Veelo 
wrote:

On Tuesday, 5 December 2017 at 18:20:40 UTC, Seb wrote:
I am looking forward to hearing (1) what you think can be 
done in three months by a student and (2) will have a huge 
impact on the D ecosystem.


[2] https://wiki.dlang.org/GSOC_2018_Ideas


I see there is a dub section in [2]. Maybe another issue that 
has been brought up repeatedly fits in that category, namely 
extending code.dlang.org in various ways?


+

Indeed enhancing user experience of code.dlang.org such as 
showing github stars and e.g. downloads per month would be way 
more important then build tool itself.


+10^^4

I recommend to add a "donate for button", and to evaluate and 
visualize how many people are donating, for a certain package. 
This might give strong evidence where to invest more time - man 
power.
In the first step the D Foundation should get all money and 
should try to use it to support the most often selected 
packages, to avoid loosing focus.


Martin, I am replying to your post specifically, but this reply 
is targeted at the 'code.dlang.org' discussion in general.


Improvements to code.dlang.org are going to be borderline 
ineligible for a GSoC project.  Any such project would have to be 
carefully crafted so that it is a development project and not a 
website maintenance/upgrading project. In any case this work can 
likely be made into something valid, but the project would need 
involve a cohesive development effort and not a series of minor 
improvements (even if they mostly involved coding).


Re: [OT] Re: D User Survey

2017-12-11 Thread Chris via Digitalmars-d-announce
On Sunday, 10 December 2017 at 13:06:34 UTC, Jonathan M Davis 
wrote:


Well, the wikipedia entry for Great Britain takes the clear 
stance that it's the island that's Great Britain, and that when 
Great Britain is referred to politically, it's the 3 countries 
on the island and does not include any part of Ireland. It also 
lists the full name of the UK as being the United Kingdom of 
Great Britain and Northern Ireland.


https://en.wikipedia.org/wiki/Great_britain 
https://en.wikipedia.org/wiki/United_Kingdom


So, technically, Ireland is not part of Great Britain at all, 
but sometimes, folks do end up including Northern Ireland in 
what they mean when they use the term - and plenty of folks 
outside of the UK probably get it wrong all the time.


- Jonathan M Davis


There are two political entities in Ireland, the Republic of 
Ireland (which is a member of the European Union) and Northern 
Ireland (which, being part of the UK, will leave the EU after 
Brexit). Thus, to use only "Ireland" would be wrong (it has to be 
Republic of Ireland), but how the ROI could be left out is a 
mystery to me.


Anyway, I know that people in the Americas (including Latin 
America) are usually faster to pick up on things like Facebook, 
Twitter, WhatsApp etc. But these are backend technologies, if you 
wish. It seems to me that at the moment companies and programmers 
in the USA are much more reluctant to adopt or explore new paths 
as regards the front end (the programming language in this case). 
I don't think it is to do with political / social conservatism, 
as this didn't stop engineers in the US to explore new 
technologies in the past either, and the Nazis were big into 
technology too. There is not necessarily a link between political 
/ social conservatism and lack of technological progress (there 
can be).


Maybe it is a certain laziness / complacency, since the USA no 
longer feel the pressure of having to be "the best" as they did 
during the cold war. Maybe this sort of complacency also has to 
do with the fact the for decades the US would make sure that 
their allies would only buy their technologies, so there was no 
real competition, no real challenge there (which partly explains 
the success of Microsoft). But now with China and other big 
players having entered the pitch, there is more pressure again, 
and if anything, a more "conservative"* approach that tries to 
relocate companies within the national borders might actually 
give innovation a boost.


*It's not so much being "conservative" as an understandable 
reaction to globalization gone out of hand.


Re: GSoC 2018 - Your project ideas

2017-12-11 Thread rjframe via Digitalmars-d-announce
On Mon, 11 Dec 2017 09:14:29 +, Martin Tschierschke wrote:

> I recommend to add a "donate for button", and to evaluate and visualize
> how many people are donating, for a certain package. This might give
> strong evidence where to invest more time - man power.
> In the first step the D Foundation should get all money and should try
> to use it to support the most often selected packages,
> to avoid loosing focus.

If something looks like donating money is going to support the development 
of a project, then any many received needs to actually support that 
project. A home page with a "support the D Foundation" link is fine; the 
foundation receiving the money from a donate button on vibe-d's project 
page is not, unless the vibe-d maintainer(s) make that decision.


Re: parallel copy directory, faster than robocopy

2017-12-11 Thread jackreacher via Digitalmars-d-announce

On Tuesday, 6 March 2012 at 00:29:01 UTC, Jay Norwood wrote:
So here is the output of a batch file I just ran on the ssd 
drive for the 1.5GB copy.  Robocopy displays that it took 
around 14 secs, while the release build of the D commandline 
cpd utility took around 12 secs.  That's a pretty consistent 
result on the ssd drive, which are more sensitive to cpu pr.


06:12 PM

H:\xx8>robocopy /E /NDL /NFL /NC /NS /MT:8 xx8c xx8ca

---
   ROBOCOPY :: Robust File Copy for Windows
---

  Started : Mon Mar 05 18:12:33 2012

   Source : H:\xx8\xx8c\
 Dest : H:\xx8\xx8ca\

Files : *.*

  Options : *.* /NS /NC /NDL /NFL /S /E /COPY:DAT /MT:8 
/R:100 /W:30


--
100%

--

   TotalCopied   Skipped  MismatchFAILED
Extras

Dirs :  2627  2626 1 0 0
   0
   Files : 36969 36969 0 0 0
   0
   Bytes :   1.502 g   1.502 g 0 0 0
   0
   Times :   0:02:05   0:00:12   0:00:00   
0:00:01


   Ended : Mon Mar 05 18:12:47 2012

H:\xx8>time /T
06:12 PM

H:\xx8>rmd xx8ca\*
removing: xx8ca\Cross_Tools
removing: xx8ca\eclipse
removing: xx8ca\gnu
removing: xx8ca\PA
finished! time:17889 ms

H:\xx8>time /T
06:13 PM

H:\xx8>cpd xx8c\* xx8ca
copying: xx8c\Cross_Tools
copying: xx8c\eclipse
copying: xx8c\gnu
copying: xx8c\PA
finished! time: 11681 ms

H:\xx8>time /T
06:13 PM

btw, I just ran robocopy with /mt:1, and it took around 42 
seconds on the same drive, which is about what I see with the 
standard windows copy, including the gui copy.  So, at least 
for these ssd drives the parallel processing results in 
worthwhile speed-ups.


Started : Mon Mar 05 18:24:31 2012
Ended : Mon Mar 05 18:25:13 2012





Re: GSoC 2018 - Your project ideas

2017-12-11 Thread Martin Tschierschke via Digitalmars-d-announce
On Friday, 8 December 2017 at 06:43:22 UTC, Dmitry Olshansky 
wrote:
On Thursday, 7 December 2017 at 22:26:08 UTC, Bastiaan Veelo 
wrote:

On Tuesday, 5 December 2017 at 18:20:40 UTC, Seb wrote:
I am looking forward to hearing (1) what you think can be 
done in three months by a student and (2) will have a huge 
impact on the D ecosystem.


[2] https://wiki.dlang.org/GSOC_2018_Ideas


I see there is a dub section in [2]. Maybe another issue that 
has been brought up repeatedly fits in that category, namely 
extending code.dlang.org in various ways?


+

Indeed enhancing user experience of code.dlang.org such as 
showing github stars and e.g. downloads per month would be way 
more important then build tool itself.


+10^^4

I recommend to add a "donate for button", and to evaluate and 
visualize how many people are donating, for a certain package. 
This might give strong evidence where to invest more time - man 
power.
In the first step the D Foundation should get all money and 
should try to use it to support the most often selected packages, 
to avoid loosing focus.