Re: SDLang-D v0.10.4 - Minor maintenance release

2018-07-18 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce

On 07/18/2018 01:57 PM, Anton Pastukhov wrote:

On Monday, 16 July 2018 at 04:14:12 UTC, Nick Sabalausky (Abscissa) wrote:

announce.sdl:
==

[...]


http://sdl.ikayzo.org/ is down, so maybe remove links to it from 
sdlang.org?


Yea, it has been for a looong time :( I keep hoping it'll come back, but 
I guess it doesn't look like that's going to happen.


Re: Symmetry Autumn of Code

2018-07-18 Thread Ecstatic Coder via Digitalmars-d-announce
I've said, that if we get signatures, I'll build the damn thing 
myself.
Signatures give a very lightweight vtable implementation while 
also giving conceptual representation of structs+classes.


Which for an event loop, is a very desirable thing to have. But 
alas, I'm waiting on my named parameter DIP and seeing where 
that goes, before continuing work on signatures.


Thanks for the clear explanations.

Glad to know that you're on this.

I hope the importance of your work for D's "competivity" will be 
truly recognized.


Re: SDLang-D v0.10.4 - Minor maintenance release

2018-07-18 Thread Anton Pastukhov via Digitalmars-d-announce
On Monday, 16 July 2018 at 04:14:12 UTC, Nick Sabalausky 
(Abscissa) wrote:

announce.sdl:
==

[...]


http://sdl.ikayzo.org/ is down, so maybe remove links to it from 
sdlang.org?


Re: Symmetry Autumn of Code

2018-07-18 Thread rikki cattermole via Digitalmars-d-announce

On 18/07/2018 10:53 PM, Ecstatic Coder wrote:

On Wednesday, 18 July 2018 at 03:19:53 UTC, rikki cattermole wrote:

On 18/07/2018 5:36 AM, Ecstatic Coder wrote:

On Saturday, 14 July 2018 at 06:02:37 UTC, Mike Parker wrote:
Thanks to the sponsorship of Symmetry Investments, the D Language 
Foundation is happy to announce the Symmetry Autumn of Code!


We're looking for three university students to hack on D this 
autumn, from September - January. We're also in search of potential 
mentors and ideas for student projects. Head to the Symmetry Autumn 
of Code page for the details.


Spread the word!

https://dlang.org/blog/symmetry-autumn-of-code/


I'd suggest adding the following to SAOC 2018 project proposals :

1/ adding a Go-like http module to the standard library
2/ adding Go-like async IO management to the standard library, i.e. 
fibers communicating through blocking channels


Until we get an event loop in druntime, both of these options are off 
the table.


Sad.

Then I'd suggest to add the event loop implementation to SAOC 2018 too, 
because the absence of a default http module in D's standard library may 
have very good justifications, but I'm still convinced that it doesn't 
help when trying to "sell" it to modern developers, considering that 
nowadays MANY of the applications they will develop in a professional 
facility will have to integrate http code to access or update the 
company's data.


I've said, that if we get signatures, I'll build the damn thing myself.
Signatures give a very lightweight vtable implementation while also 
giving conceptual representation of structs+classes.


Which for an event loop, is a very desirable thing to have. But alas, 
I'm waiting on my named parameter DIP and seeing where that goes, before 
continuing work on signatures.


Re: Symmetry Autumn of Code

2018-07-18 Thread Ecstatic Coder via Digitalmars-d-announce
On Wednesday, 18 July 2018 at 03:19:53 UTC, rikki cattermole 
wrote:

On 18/07/2018 5:36 AM, Ecstatic Coder wrote:

On Saturday, 14 July 2018 at 06:02:37 UTC, Mike Parker wrote:
Thanks to the sponsorship of Symmetry Investments, the D 
Language Foundation is happy to announce the Symmetry Autumn 
of Code!


We're looking for three university students to hack on D this 
autumn, from September - January. We're also in search of 
potential mentors and ideas for student projects. Head to the 
Symmetry Autumn of Code page for the details.


Spread the word!

https://dlang.org/blog/symmetry-autumn-of-code/


I'd suggest adding the following to SAOC 2018 project 
proposals :


1/ adding a Go-like http module to the standard library
2/ adding Go-like async IO management to the standard library, 
i.e. fibers communicating through blocking channels


Until we get an event loop in druntime, both of these options 
are off the table.


Sad.

Then I'd suggest to add the event loop implementation to SAOC 
2018 too, because the absence of a default http module in D's 
standard library may have very good justifications, but I'm still 
convinced that it doesn't help when trying to "sell" it to modern 
developers, considering that nowadays MANY of the applications 
they will develop in a professional facility will have to 
integrate http code to access or update the company's data.


Re: Symmetry Autumn of Code

2018-07-18 Thread jmh530 via Digitalmars-d-announce

On Wednesday, 18 July 2018 at 10:35:04 UTC, Andre Pany wrote:


Proposal: Multi IDE debugger support (for windows)
[snip]


This is a good idea too.


Re: Symmetry Autumn of Code

2018-07-18 Thread Andre Pany via Digitalmars-d-announce

On Saturday, 14 July 2018 at 06:02:37 UTC, Mike Parker wrote:
Thanks to the sponsorship of Symmetry Investments, the D 
Language Foundation is happy to announce the Symmetry Autumn of 
Code!


We're looking for three university students to hack on D this 
autumn, from September - January. We're also in search of 
potential mentors and ideas for student projects. Head to the 
Symmetry Autumn of Code page for the details.


Spread the word!

https://dlang.org/blog/symmetry-autumn-of-code/


Another proposal: Adding D support to gRPC

I started to add D support to gRPC but paused it due to lack of 
knowledge and time.
One solution would be to add a D wrapper to 
https://github.com/grpc/grpc/tree/master/src by making use of the 
C interface of gRPC 
(https://github.com/grpc/grpc/tree/master/include/grpc).


As template e.g. C++ or python could be used 
(https://github.com/grpc/grpc/tree/master/src).


Kind regards
André


Re: Symmetry Autumn of Code

2018-07-18 Thread Andre Pany via Digitalmars-d-announce

On Saturday, 14 July 2018 at 06:02:37 UTC, Mike Parker wrote:
Thanks to the sponsorship of Symmetry Investments, the D 
Language Foundation is happy to announce the Symmetry Autumn of 
Code!


We're looking for three university students to hack on D this 
autumn, from September - January. We're also in search of 
potential mentors and ideas for student projects. Head to the 
Symmetry Autumn of Code page for the details.


Spread the word!

https://dlang.org/blog/symmetry-autumn-of-code/


Proposal: Multi IDE debugger support (for windows)

Mago, the debug engine used in VisualD, has also a tool called 
Mago-MI which
has a GDB compatible interface. Therefore you can use on Windows 
Mago-MI as

replacement for GDB.
Several IDEs uses this feature to enable debugging with 1 code 
line for Windows/Linux/MacOS.
It is used in experimental state in IntelliJ, also there is 
support in Visual Studio Code

and of course DLangIDE for which it was originally built.

There are several issues which could be addressed in Symmetry 
Autumn of Code:


- Mago-MI is written in C++. This makes bug solving hard. 
Rewriting of Mago-MI to D might

make sense.

- While the installation of Mago-MI is easy if you want to debug 
OMF executables it is very hard if you want to debug COFF 
executables. You need another executable from Mago,
you have to register DLLs via regserv and you manually have to 
create a registry entry.

An installation procedure for installing Mago-MI would be great.

- There are some bugs in Mago-MI / and DMD (wrong debug 
information) which makes debugging hard. 
(https://github.com/rainers/mago/issues/21, 
https://github.com/rainers/mago/issues/23). Also Mago-Mi misses 
features (https://github.com/rainers/mago/issues/14). There are 
more bugs but not investigated so far.


- As Visual Studio Code is already is already a topic for DLang 
Foundation, using this as reference user of Mago-MI would make 
sense.



While this proposal seems only windows related, the nature of 
Mago-Mi is to enable IDEs having 1 code line for debugging on 
Windows/Linux/MacOS. Therefore overall investing into this topic 
is good for all platforms.


Kind regards
André







Re: LDC 1.11.0 beta2

2018-07-18 Thread kinke via Digitalmars-d-announce

On Wednesday, 18 July 2018 at 00:47:49 UTC, Dennis wrote:
This is really awesome! I tried the examples, is there any 
other documentation about it currently? I tried passing strings 
instead of numbers to the callback, but it passes the length as 
a number only. I doesn't work with char pointers either, I 
presume that's still WIP. Still, really exciting.


Passing strings seems to be a PITA due to non-shared memory, see 
https://medium.com/@mbebenita/hello-world-in-webassembly-83951757775.
This seems specific to the current wasm browser implementations 
though, or at the very least not specific to D or LDC, so you can 
look up existing Clang/Rust/... wasm tutorials/articles for more 
in-depth infos.


Re: D:YAML 0.7.0

2018-07-18 Thread baz@dlang-community via Digitalmars-d-announce
On Wednesday, 18 July 2018 at 07:28:02 UTC, baz@dlang-community 
wrote:

- major performance gain when reading YAML files.


The little story:

YAML specifies that each associative-array-like data must be 
unique. The uniqueness before 0.7.0 was tested on insertion, 
leading to an obvious complexity issue. The trick used was to 
check only once at the end, i.e after reading a document and to 
throw in case uniqueness is not verified.


The problem was detected by a guy who tried to load a data file 
for the EVE online game. It took 30 minutes (and billions of 
dynamic cast when comparing already loaded content...). Now 
loading the file takes less than 30 secs.


For the win...



D:YAML 0.7.0

2018-07-18 Thread baz@dlang-community via Digitalmars-d-announce
Since latest months a major work has been achieved, mostly by the 
member "Herringway".


# New Features
- completely usable in `@safe` code.
- major performance gain when reading YAML files.
- major performance gain when writing YAML files.
- new outputrange-based document writer
- Node.add now works with valueless nodes
- added examples as subpackages
- added a json conversion example
- benchmark subpackage now prints detailed times

# Removed Features
- removes `dyaml.all`, `yaml` package modules

# Fixes
- fixes BOMs being written for UTF-8 documents


https://github.com/dlang-community/D-YAML/releases/tag/v0.7.0
https://github.com/dlang-community/D-YAML
https://code.dlang.org/packages/dyaml