mysql-native v0.1.7

2016-10-20 Thread Nick Sabalausky via Digitalmars-d-announce
Minor update to mysql-native: A client driver for MySQL/MariaDB written 
natively in D from scratch via the published protocol specs, with no 
dependency on the C MySQL client library. Supports either Phobos or 
Vide.d sockets (works with or without Vibe.d).


https://github.com/mysql-d/mysql-native
DUB: http://code.dlang.org/packages/mysql-native

In v0.1.7:
- New: Test suite automatically tests with both Vibe and Phobos sockets, 
not just Phobos. (@Abscissa)
- Change: Drop support for DMDFE 2.066.1 and below. Compiles on DMDFE 
2.067.1 through 2.072.0.

- Fixed: Fix an import deprecation message for DMD 2.071. (@Abscissa)
- Fixed: #57: Added support for passing null parameters in prepared 
statements by using Variant(null) (@machindertech)

- Fixed: #63/#69: Add escape module to package import (@Marenz)
- Fixed: #68: Update alias syntax (@Marenz)

Full changelog:
https://github.com/mysql-d/mysql-native/blob/master/CHANGELOG.md

I know I've said docs and examples are a top priority for mysql-native, 
but it's become clear that the API is in serious need of a refresh, so 
for the most part, I've held off on the docs this time to avoid wasted 
effort documenting to-be-deprecated interfaces.


Unless any pressing issues appear, expect the next release to be an 
experimental branch showcasing a beta of a new API. If possible, I'd 
like to have at least one release where the old API is still functional, 
but deprecated.




Re: Comparing compilation time of random code in C++, D, Go, Pascal and Rust

2016-10-20 Thread Walter Bright via Digitalmars-d-announce

On 10/20/2016 9:20 AM, eugene wrote:

could you give facts that on linux it is ok?


You can find out by writing a program to generate 100,000 functions and compile 
the result on linux.


Re: d.godbolt.org compiler explorer now has LDC too

2016-10-20 Thread ZombineDev via Digitalmars-d-announce

On Thursday, 20 October 2016 at 08:23:33 UTC, Johan Engelen wrote:

https://twitter.com/mattgodbolt/status/788890061949509632

The compiler explorer at https://d.godbolt.org now also 
features LDC!


Now you can view the assembly output of GDC and LDC 
side-by-side, for example:

https://godbolt.org/g/y24RGI

cheers,
  Johan


Nice work, Johan!


Re: Comparing compilation time of random code in C++, D, Go, Pascal and Rust

2016-10-20 Thread eugene via Digitalmars-d-announce

On Thursday, 20 October 2016 at 08:19:21 UTC, Walter Bright wrote:

could you give facts that on linux it is ok?


Re: Please say hello to our third team member: Razvan Nitu

2016-10-20 Thread Mark via Digitalmars-d-announce

Welcome, Razvan!

On Tuesday, 18 October 2016 at 18:21:31 UTC, Andrei Alexandrescu 
wrote:

Hi everyone,


Please join me in welcoming Razvan Nitu to our fledgling team 
of Romanian graduate students.


Razvan has already some solid industrial experience and has a 
broad area of interests such as low-level kernel-level 
development, networking, distributed filesystems, and more. 
We're sure he'll find something to pique his interest :o).


We are setting up the team in an office at University 
"Politehnica" Bucharest, close to their academic advisors. For 
now they're in bootcamp getting familiar with our toolchain. 
Please help me in getting everyone up to speed.



Welcome, Razvan!

Andrei


Wow, the foundation is expanding much faster than I imagined. :o

Do you plan to have the team work on something specific (after 
they get familiar with D)?


Re: d.godbolt.org compiler explorer now has LDC too

2016-10-20 Thread Johan Engelen via Digitalmars-d-announce

On Thursday, 20 October 2016 at 08:23:33 UTC, Johan Engelen wrote:


The compiler explorer at https://d.godbolt.org now also 
features LDC!


By the way, adding DMD should be doable. It looks like the code 
already supports objdump'ing a generated binary if assembly 
output is not available.
Matt is super friendly, so for anyone interested: go submit PRs 
for DMD support!


cheers,
  Johan



Re: d.godbolt.org compiler explorer now has LDC too

2016-10-20 Thread Martin Tschierschke via Digitalmars-d-announce

On Thursday, 20 October 2016 at 08:23:33 UTC, Johan Engelen wrote:

https://twitter.com/mattgodbolt/status/788890061949509632

The compiler explorer at https://d.godbolt.org now also 
features LDC!


Now you can view the assembly output of GDC and LDC 
side-by-side, for example:

https://godbolt.org/g/y24RGI

cheers,
  Johan


Cool tool! :-)


Re: Please say hello to our third team member: Razvan Nitu

2016-10-20 Thread Jacob Carlborg via Digitalmars-d-announce

On 2016-10-18 20:21, Andrei Alexandrescu wrote:


Razvan has already some solid industrial experience and has a broad area
of interests such as low-level kernel-level development, networking,


Perhaps a task that is too big, but how about a new network 
package/module that does not depend on external libraries like curl?


--
/Jacob Carlborg


d.godbolt.org compiler explorer now has LDC too

2016-10-20 Thread Johan Engelen via Digitalmars-d-announce

https://twitter.com/mattgodbolt/status/788890061949509632

The compiler explorer at https://d.godbolt.org now also features 
LDC!


Now you can view the assembly output of GDC and LDC side-by-side, 
for example:

https://godbolt.org/g/y24RGI

cheers,
  Johan




Re: Comparing compilation time of random code in C++, D, Go, Pascal and Rust

2016-10-20 Thread Walter Bright via Digitalmars-d-announce

On 10/19/2016 10:05 AM, Gary Willoughby wrote:

D was doing well but in the larger examples the D compiler crashed: "Error: more
than 32767 symbols in object file".


The article didn't say it crashed.

That message only occurs for Win32 object files - it's a limitation of the OMF 
file format. We could change the object file format, but:


1. that means changing optlink, too, which is a more formidable task

2. the source file was a machine generated contrived one with 100,000 functions 
it in - not terribly likely to happen in a real case


3. I don't think Win32 has much of a future and is unlikely to be worth the 
investment