Thread overview | ||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
October 09, 2014 D2 (Debian) + MSSQL | ||||
---|---|---|---|---|
| ||||
I use d for some time for the job. And it is good. And I want to use it consistently for the production, but as soon as I started with the simplest - the connection to the database, I realized that the language is not yet ready for it. Or suggest the use of crutches on the forum. So, there are plans to create a native library for connecting to databases to begin with? Thanks in advance Regards, Sergey. |
October 09, 2014 Re: D2 (Debian) + MSSQL | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sergey Attachments: | On Thu, 09 Oct 2014 07:25:19 +0000
Sergey via Digitalmars-d <digitalmars-d@puremagic.com> wrote:
> So, there are plans to create a native library for connecting to databases to begin with?
have you tried to read the forums before posting?
|
October 09, 2014 Re: D2 (Debian) + MSSQL | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sergey Attachments: | On Thu, 09 Oct 2014 07:25:19 +0000 Sergey via Digitalmars-d <digitalmars-d@puremagic.com> wrote: sorry for being rude, i mean that we have mysql-native, for the start. and we can easily use any C library. i.e. working on "native" libraries at least started, and connecting to DB servers is possible. |
October 09, 2014 Re: D2 (Debian) + MSSQL | ||||
---|---|---|---|---|
| ||||
Posted in reply to ketmar | On Thursday, 9 October 2014 at 07:51:23 UTC, ketmar via Digitalmars-d wrote: > On Thu, 09 Oct 2014 07:25:19 +0000 > Sergey via Digitalmars-d <digitalmars-d@puremagic.com> wrote: > > sorry for being rude, i mean that we have mysql-native, for the start. > and we can easily use any C library. i.e. working on "native" libraries > at least started, and connecting to DB servers is possible. I found this (and similar topics): http://forum.dlang.org/thread/l403bf$139g$1@digitalmars.com?page=1 But there is no good solution for the production, which need reliability. |
October 09, 2014 Re: D2 (Debian) + MSSQL | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sergey | I tried this: http://forum.dlang.org/thread/l403bf$139g$1@digitalmars.com#post-l4089g:241723:241:40digitalmars.com but does not work. |
October 09, 2014 Re: D2 (Debian) + MSSQL | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sergey Attachments: | On Thu, 09 Oct 2014 07:58:24 +0000
Sergey via Digitalmars-d <digitalmars-d@puremagic.com> wrote:
> But there is no good solution for the production, which need reliability.
mssql is not a database of choise. ;-) i.e. there aren't alot of people writing DB frontends in D, and those who writing web apps using mysql. so i don't think that you'll find something better that what we have now. virtually nobody is using mssql with GNU/Linux.
|
October 09, 2014 Re: D2 (Debian) + MSSQL | ||||
---|---|---|---|---|
| ||||
Attachments: | On 09/10/14 09:08, ketmar via Digitalmars-d wrote: > On Thu, 09 Oct 2014 07:58:24 +0000 Sergey via Digitalmars-d <digitalmars-d@puremagic.com> wrote: > >> But there is no good solution for the production, which need reliability. > mssql is not a database of choise. ;-) i.e. there aren't alot of people writing DB frontends in D, and those who writing web apps using mysql. so i don't think that you'll find something better that what we have now. virtually nobody is using mssql with GNU/Linux. > And most people are now using MariaDB! - -- Russel. ============================================================================= Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder@ekiga.net 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel@winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder |
October 09, 2014 Re: D2 (Debian) + MSSQL | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sergey | On Thursday, 9 October 2014 at 07:25:21 UTC, Sergey wrote:
> So, there are plans to create a native library for connecting to databases to begin with?
To put it shortly - very unlikely. Well, unless you do it yourself, of course, and contribute to the community :) It has a very small application domain and is not a blocker in a sense that C bindings can still be used. I'd consider it a very low priority issues on its own.
|
October 09, 2014 Re: D2 (Debian) + MSSQL | ||||
---|---|---|---|---|
| ||||
Posted in reply to Dicebot | If there is a C library for MSSQL you should be able to use that from your D code. If you do, it would be handy for others if you could publish any bindings you create as a dub package (code.dlang.org). |
October 09, 2014 Re: D2 (Debian) + MSSQL | ||||
---|---|---|---|---|
| ||||
Posted in reply to Russel Winder | Am 09.10.2014 um 10:24 schrieb Russel Winder via Digitalmars-d:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 09/10/14 09:08, ketmar via Digitalmars-d wrote:
>> On Thu, 09 Oct 2014 07:58:24 +0000 Sergey via Digitalmars-d
>> <digitalmars-d@puremagic.com> wrote:
>>
>>> But there is no good solution for the production, which need
>>> reliability.
>> mssql is not a database of choise. ;-) i.e. there aren't alot of
>> people writing DB frontends in D, and those who writing web apps
>> using mysql. so i don't think that you'll find something better
>> that what we have now. virtually nobody is using mssql with
>> GNU/Linux.
>>
>
> And most people are now using MariaDB!
>
Really? I am yet to do any project with it instead of MySQL.
--
Paulo
|
Copyright © 1999-2021 by the D Language Foundation