dpeq - native PSQL extended query protocol client

2017-09-03 Thread Boris-Barboris via Digitalmars-d-announce
Hi! Couple of weeks ago I was approached with a task of writing 
simple microservice, and I decided to give D a chance. The 
problem with performance became apparent very soon, and I started 
to look for the cause. I tried all existing libraries, and noted 
pretty mature dpq2 and ddb (and it's hb-ddb fork) libs. I didn't 
like the first one, because I didn't want to leave vibe-d 
eventloop, and the second one was native (big plus for me), 
supported vibe-d sockets. I forked it, multiplied performance by 
hacking in write buffer, but then the whole philosophy behind 
it's code structure started to bother me, it incapsulated too 
much IMHO. I needed something low-level, with access to message 
nature of the protocol.


So, here's another one, uses native PSQL EQ TCP protocol:
https://github.com/Boris-Barboris/dpeq
https://www.postgresql.org/docs/9.5/static/protocol.html

Barely any type support, barely tested, but my little service 
with it's two tables actually responds to requests. It's 
something.


Maybe something good will happen and it will find it's use, maybe 
someone will come and write good generic ORM\DB tool for D, and 
we'll have a good low-level client to hack into it as an PSQL 
adapter, maybe it will perish. Who knows. It will definetly go, 
if I won't publish it though.


If anyone here has some insight on typical architectural errors 
wich make ORM writer's life hard, please share.


Delta - Bridge to the Delphi ecosystem

2017-09-03 Thread Andre Pany via Digitalmars-d-announce
Delta is a proof of concept to enhance the D Programming Language 
with the

Delphi ecosystem.

There are 2 scenarios Delta tries to achieve:

-   Create your GUI using the Delphi RAD Studio and connect the 
events with your

logic written in D.
The obligatory Hello World sample:

https://github.com/andre2007/delta-fmx-10-2-1/tree/master/examples/gui1


-   Use non visual Delphi components in your D code. There are a 
lot of components

available for almost every purpose. For example you would be
able to use the INDY (Internet Direct) components.

In the sample application, the TTimer component is used. This 
example also
shows how to write a wrapper component in D if the component 
is not already

available.

https://github.com/andre2007/delta-fmx-10-2-1/tree/master/examples/ttimer



More information how to start:
https://github.com/andre2007/delta-core-10-2-1/blob/master/README.md

Notes:
- Although Delta is currently only a proof of concept maybe some 
of you can profit from it.


- The proxy objects on D side (TForm, TTimer, TEdit,...) 
currently are written manually. Maybe in the future there could 
be a Delphi unit parser which automatically creates the Delphi & 
D source proxy objects


- Everytime accessing an Delphi object on D side, a new object is 
created. I am currently not sure whether this concept will stay


- At the moment Delta targets Windows.

- At the moment the packages are not registered at code.dlang.org 
as the project is in an early state.




Re: GitBook about D on embedded ARM Linux

2017-09-03 Thread thinwybk via Digitalmars-d-announce

That's interesting. Might do some DIY robotics in future.


I would like to create a hardware abstraction layer for the 
BeagleBone Black (the board I am playing around with in my spare 
time which is very beginner friendly and flexible w.r.t. to 
hardware interfaces due to a lot of "capes" 
https://beagleboard.org/cape which are available for it) 
comparable with this HAL for embedded boards in Go 
https://github.com/kidoman/embd. This would allow people with 
little "low level" programming experience to play around with D 
on embedded linux as well. In the beginning porting some of the 
C++ classes from 
https://github.com/derekmolloy/exploringBB/tree/master/chp06 
could be a good starting point. Or does someone know another HAL 
implementation which could be more suitable as "template" to 
start with? However as always... motivation is high, time is 
limited. Feel free to join :)


Re: DlangIDE v0.7.60 released

2017-09-03 Thread Martin Tschierschke via Digitalmars-d-announce

On Wednesday, 30 August 2017 at 07:44:54 UTC, Vadim Lopatin wrote:
There are a lot of improvements in DlangIDE since last 
announcement.


DlangIDE is a cross-platform IDE for D programming language.

Project link: https://github.com/buggins/dlangide
Release: https://github.com/buggins/dlangide/releases


Good work!

I think DlangIde should gain support from D foundation, to become 
a future part of the distribution like DUB. So in the end there 
might be one package (with batteries included :-)) to get started 
with D, with just one download.


My suggestion is to place a special D Foundation donate button 
for several highly useful projects to collect money and attract 
more resources to improve them faster.


Regards mt.


Re: Release D 2.076.0

2017-09-03 Thread Joakim via Digitalmars-d-announce

On Friday, 1 September 2017 at 14:03:26 UTC, Martin Nowak wrote:

Glad to announce D 2.076.0.

This release comes with static foreach, many -betterC 
enhancements, various phobos additions, an -mcpu=avx2 switch, 
and lots of bugfixes.


Thanks to everyone involved in this .

http://dlang.org/download.html 
http://dlang.org/changelog/2.076.0.html


- -Martin


Just downloaded it, the linux version reports as v2.076.0-dirty, 
probably want to get rid of the "dirty" tag for an official 
release.