Re: Is Anything Holding you back?

2015-10-08 Thread Kagamin via Digitalmars-d
On Wednesday, 7 October 2015 at 16:09:37 UTC, Jan Johansson wrote: Yepp, that's the point of SOA :-) We are in agreement. :) Since the contract is known upfront, it can be processed at compile time and D can do it. C# has to do it at run time because it can't do a thing at compile time.

Re: Is Anything Holding you back?

2015-10-07 Thread Kagamin via Digitalmars-d
On Tuesday, 6 October 2015 at 16:38:06 UTC, Jan Johansson wrote: I know about that too, the KnownType is applied to types that the DataContractSerializer (not the XmlSerializer) must be aware of before it can serialize the type (you enlist the type to the serializer). Thanks. For a general

Re: Is Anything Holding you back?

2015-10-07 Thread Jonathan M Davis via Digitalmars-d
On Wednesday, 7 October 2015 at 07:08:39 UTC, extrawurst wrote: Method 1: Adding a static c'tor to every module does not work very long in practice (as experienced first handed) cause you are in "cyclic c'tor hell" very quick... The cyclic dependency checking in druntime makes static

Re: Is Anything Holding you back?

2015-10-07 Thread extrawurst via Digitalmars-d
On Monday, 5 October 2015 at 09:08:56 UTC, Jonas Drewsen wrote: On Monday, 5 October 2015 at 06:18:45 UTC, Manu wrote: [...] [...] The first method is bad because you need to mixin code manually for each module you have. The second method is bad because you need to keep the "registration"

Re: Is Anything Holding you back?

2015-10-07 Thread Johannes Pfau via Digitalmars-d
Am Wed, 07 Oct 2015 08:41:30 + schrieb Jonathan M Davis : > On Wednesday, 7 October 2015 at 07:08:39 UTC, extrawurst wrote: > > Method 1: Adding a static c'tor to every module does not work > > very long in practice (as experienced first handed) cause you > > are in

Re: Is Anything Holding you back?

2015-10-07 Thread Jonathan M Davis via Digitalmars-d
On Wednesday, 7 October 2015 at 10:03:11 UTC, Johannes Pfau wrote: Am Wed, 07 Oct 2015 08:41:30 + schrieb Jonathan M Davis : On Wednesday, 7 October 2015 at 07:08:39 UTC, extrawurst wrote: > Method 1: Adding a static c'tor to every module does not > work very long in

Re: Is Anything Holding you back?

2015-10-07 Thread Johannes Pfau via Digitalmars-d
Am Wed, 07 Oct 2015 10:50:38 + schrieb Jonathan M Davis : > On Wednesday, 7 October 2015 at 10:03:11 UTC, Johannes Pfau wrote: > > Am Wed, 07 Oct 2015 08:41:30 + > > schrieb Jonathan M Davis : > > > >> On Wednesday, 7 October 2015 at 07:08:39 UTC,

Re: Is Anything Holding you back?

2015-10-07 Thread Jonathan M Davis via Digitalmars-d
On Wednesday, 7 October 2015 at 14:59:37 UTC, Johannes Pfau wrote: I think it wouldn't be hard to implement a solution. I guess it's mainly a political discussion :-( It should be fairly easy to implement a solution - especially if it's simply marking the static constructor to say that it

Re: Is Anything Holding you back?

2015-10-07 Thread Jan Johansson via Digitalmars-d
On Wednesday, 7 October 2015 at 08:27:18 UTC, Kagamin wrote: On Tuesday, 6 October 2015 at 16:38:06 UTC, Jan Johansson wrote: I know about that too, the KnownType is applied to types that the DataContractSerializer (not the XmlSerializer) must be aware of before it can serialize the type (you

Re: Is Anything Holding you back?

2015-10-06 Thread Jonathan M Davis via Digitalmars-d
On Tuesday, 6 October 2015 at 13:31:25 UTC, krzaq wrote: For example: you can't rely on Clock.currTime.toString() (or ISO string overloads) to provide a reliable fixed-length representation for logging purposes and the class mysteriously lacks any kind of .format() function that's available

Re: Is Anything Holding you back?

2015-10-06 Thread Kagamin via Digitalmars-d
On Monday, 5 October 2015 at 16:40:06 UTC, Jan Johansson wrote: Yes, I know WCF more than well, doing my own bindings, federated security bindings, you name it. I also know that WCF works with attribute values during runtime, through reflections and extract aspect oriented instructions on how

Re: Is Anything Holding you back?

2015-10-06 Thread krzaq via Digitalmars-d
On Friday, 2 October 2015 at 02:25:21 UTC, Yaser wrote: Are there any critical frameworks or libraries that are holding you back in fully investing in D? Obviously I think D is an awesome language, but some frameworks/libraries hold me back, wish I could do everything in D. Nothing major for

Re: Is Anything Holding you back?

2015-10-06 Thread Jan Johansson via Digitalmars-d
On Tuesday, 6 October 2015 at 14:28:42 UTC, Kagamin wrote: On Monday, 5 October 2015 at 16:40:06 UTC, Jan Johansson wrote: Yes, I know WCF more than well, doing my own bindings, federated security bindings, you name it. I also know that WCF works with attribute values during runtime, through

Re: Is Anything Holding you back?

2015-10-05 Thread Manu via Digitalmars-d
On 5 October 2015 at 14:02, Jan Johansson via Digitalmars-d wrote: > On Sunday, 4 October 2015 at 23:55:42 UTC, Manu wrote: >> >> On 5 October 2015 at 03:44, Jan Johansson via Digitalmars-d >> wrote: >>> >>> On Friday, 2 October 2015 at

Re: Is Anything Holding you back?

2015-10-05 Thread Kagamin via Digitalmars-d
On Monday, 5 October 2015 at 04:02:58 UTC, Jan Johansson wrote: Sure it can, but I want a dynamic behavior, not a static behavior. Attributes are compiler directives. They are not available at runtime according to the specification of D language. Now take the example at:

Re: Is Anything Holding you back?

2015-10-05 Thread Jonas Drewsen via Digitalmars-d
On Monday, 5 October 2015 at 06:18:45 UTC, Manu wrote: You can easily make attributes effectively available at runtime by building lists of attributed things at compile time. I don't understand your problem. Describe the goal? This is all nice but still not as slick as could be. Say a want

Re: Is Anything Holding you back?

2015-10-05 Thread Jonas Drewsen via Digitalmars-d
On Monday, 5 October 2015 at 13:38:43 UTC, Adam D. Ruppe wrote: On Monday, 5 October 2015 at 09:08:56 UTC, Jonas Drewsen wrote: Say a want to have a central place to lookup all classes with the Foo() attribute on it. You can also use the RTInfo hook in druntime's object.d to build that stuff

Re: Is Anything Holding you back?

2015-10-05 Thread Adam D. Ruppe via Digitalmars-d
On Monday, 5 October 2015 at 09:08:56 UTC, Jonas Drewsen wrote: Say a want to have a central place to lookup all classes with the Foo() attribute on it. You can also use the RTInfo hook in druntime's object.d to build that stuff in a central location. Of course, since that's a centralized

Re: Is Anything Holding you back?

2015-10-05 Thread Jan Johansson via Digitalmars-d
On Monday, 5 October 2015 at 08:44:03 UTC, Kagamin wrote: On Monday, 5 October 2015 at 04:02:58 UTC, Jan Johansson wrote: Sure it can, but I want a dynamic behavior, not a static behavior. Attributes are compiler directives. They are not available at runtime according to the specification of D

Re: Is Anything Holding you back?

2015-10-05 Thread Jan Johansson via Digitalmars-d
On Monday, 5 October 2015 at 09:08:56 UTC, Jonas Drewsen wrote: On Monday, 5 October 2015 at 06:18:45 UTC, Manu wrote: [...] This is all nice but still not as slick as could be. Say a want to have a central place to lookup all classes with the Foo() attribute on it. The classes can be in

Re: Is Anything Holding you back?

2015-10-04 Thread Jan Johansson via Digitalmars-d
On Sunday, 4 October 2015 at 23:55:42 UTC, Manu wrote: On 5 October 2015 at 03:44, Jan Johansson via Digitalmars-d wrote: On Friday, 2 October 2015 at 02:25:21 UTC, Yaser wrote: Are there any critical frameworks or libraries that are holding you back in fully

Re: Is Anything Holding you back?

2015-10-04 Thread bitwise via Digitalmars-d
On Friday, 2 October 2015 at 02:25:21 UTC, Yaser wrote: Are there any critical frameworks or libraries that are holding you back in fully investing in D? Obviously I think D is an awesome language, but some frameworks/libraries hold me back, wish I could do everything in D. OpenCV would be

Re: Is Anything Holding you back?

2015-10-04 Thread bitwise via Digitalmars-d
On Sunday, 4 October 2015 at 17:39:26 UTC, bitwise wrote: On Friday, 2 October 2015 at 02:25:21 UTC, Yaser wrote: Are there any critical frameworks or libraries that are holding you back in fully investing in D? Obviously I think D is an awesome language, but some frameworks/libraries hold me

Re: Is Anything Holding you back?

2015-10-04 Thread Jan Johansson via Digitalmars-d
On Friday, 2 October 2015 at 02:25:21 UTC, Yaser wrote: Are there any critical frameworks or libraries that are holding you back in fully investing in D? Obviously I think D is an awesome language, but some frameworks/libraries hold me back, wish I could do everything in D. I'd wish for

Re: Is Anything Holding you back?

2015-10-04 Thread Manu via Digitalmars-d
On 5 October 2015 at 03:44, Jan Johansson via Digitalmars-d wrote: > On Friday, 2 October 2015 at 02:25:21 UTC, Yaser wrote: >> >> Are there any critical frameworks or libraries that are holding you back >> in fully investing in D? Obviously I think D is an awesome

Re: Is Anything Holding you back?

2015-10-03 Thread ponce via Digitalmars-d
On Friday, 2 October 2015 at 18:56:32 UTC, deadalnix wrote: On Friday, 2 October 2015 at 02:25:21 UTC, Yaser wrote: Are there any critical frameworks or libraries that are holding you back in fully investing in D? Obviously I think D is an awesome language, but some frameworks/libraries hold

Re: Is Anything Holding you back?

2015-10-03 Thread karabuta via Digitalmars-d
On Friday, 2 October 2015 at 05:28:23 UTC, suliman wrote: On Friday, 2 October 2015 at 05:15:26 UTC, luminousone wrote: On Friday, 2 October 2015 at 02:25:21 UTC, Yaser wrote: Are there any critical frameworks or libraries that are holding you back in fully investing in D? Obviously I think D

Re: Is Anything Holding you back?

2015-10-03 Thread deadalnix via Digitalmars-d
On Saturday, 3 October 2015 at 09:02:52 UTC, ponce wrote: On Friday, 2 October 2015 at 18:56:32 UTC, deadalnix wrote: On Friday, 2 October 2015 at 02:25:21 UTC, Yaser wrote: Are there any critical frameworks or libraries that are holding you back in fully investing in D? Obviously I think D

Re: Is Anything Holding you back?

2015-10-03 Thread Manu via Digitalmars-d
On 2 October 2015 at 12:25, Yaser via Digitalmars-d wrote: > Are there any critical frameworks or libraries that are holding you back in > fully investing in D? Obviously I think D is an awesome language, but some > frameworks/libraries hold me back, wish I could do

Re: Is Anything Holding you back?

2015-10-02 Thread crimaniak via Digitalmars-d
Full-featured PDF library (with JBIG2 and Jpeg2000 support and so on...)

Re: Is Anything Holding you back?

2015-10-02 Thread Jonathan M Davis via Digitalmars-d
On Friday, 2 October 2015 at 13:24:10 UTC, Andrei Alexandrescu wrote: On 10/02/2015 09:11 AM, Dmitry Olshansky wrote: On 02-Oct-2015 05:25, Yaser wrote: Are there any critical frameworks or libraries that are holding you back in fully investing in D? Obviously I think D is an awesome

Re: Is Anything Holding you back?

2015-10-02 Thread Dmitry Olshansky via Digitalmars-d
On 02-Oct-2015 05:25, Yaser wrote: Are there any critical frameworks or libraries that are holding you back in fully investing in D? Obviously I think D is an awesome language, but some frameworks/libraries hold me back, wish I could do everything in D. My personal favorite (8+ years old OMG):

Re: Is Anything Holding you back?

2015-10-02 Thread Chris via Digitalmars-d
On Friday, 2 October 2015 at 03:34:18 UTC, Adam D. Ruppe wrote: Moreover, and this is really important, D can already interact the majority of existing software out there. This is a very important point that is often forgotten. What has been done in C is also available to D. To work with D

Re: Is Anything Holding you back?

2015-10-02 Thread Jack Stouffer via Digitalmars-d
On Friday, 2 October 2015 at 02:25:21 UTC, Yaser wrote: Are there any critical frameworks or libraries that are holding you back in fully investing in D? Obviously I think D is an awesome language, but some frameworks/libraries hold me back, wish I could do everything in D. Yes:

Re: Is Anything Holding you back?

2015-10-02 Thread Andrei Alexandrescu via Digitalmars-d
On 10/02/2015 09:11 AM, Dmitry Olshansky wrote: On 02-Oct-2015 05:25, Yaser wrote: Are there any critical frameworks or libraries that are holding you back in fully investing in D? Obviously I think D is an awesome language, but some frameworks/libraries hold me back, wish I could do everything

Re: Is Anything Holding you back?

2015-10-02 Thread Andrei Alexandrescu via Digitalmars-d
On 10/02/2015 08:54 AM, Jack Stouffer wrote: On Friday, 2 October 2015 at 02:25:21 UTC, Yaser wrote: Are there any critical frameworks or libraries that are holding you back in fully investing in D? Obviously I think D is an awesome language, but some frameworks/libraries hold me back, wish I

Re: Is Anything Holding you back?

2015-10-02 Thread Sönke Ludwig via Digitalmars-d
Am 02.10.2015 um 10:15 schrieb Kagamin: On Friday, 2 October 2015 at 08:03:03 UTC, Dmitry Olshansky wrote: On 02-Oct-2015 10:49, Kagamin wrote: On Friday, 2 October 2015 at 05:15:26 UTC, luminousone wrote: vibe.d compatible sqlite, postgresql, and oracle sql drivers. An ODBC driver would be

Re: Is Anything Holding you back?

2015-10-02 Thread Kagamin via Digitalmars-d
On Friday, 2 October 2015 at 08:23:56 UTC, Sönke Ludwig wrote: http://code.dlang.org/?sort=name=library.database Unfortunately not everybody is using sqlite and postgresql.

Re: Is Anything Holding you back?

2015-10-02 Thread ponce via Digitalmars-d
On Friday, 2 October 2015 at 02:25:21 UTC, Yaser wrote: Are there any critical frameworks or libraries that are holding you back in fully investing in D? Obviously I think D is an awesome language, but some frameworks/libraries hold me back, wish I could do everything in D. I'd say kickass

Re: Is Anything Holding you back?

2015-10-02 Thread Kagamin via Digitalmars-d
On Friday, 2 October 2015 at 08:03:03 UTC, Dmitry Olshansky wrote: On 02-Oct-2015 10:49, Kagamin wrote: On Friday, 2 October 2015 at 05:15:26 UTC, luminousone wrote: vibe.d compatible sqlite, postgresql, and oracle sql drivers. An ODBC driver would be fine too, anything that can connect to

Re: Is Anything Holding you back?

2015-10-02 Thread Atila Neves via Digitalmars-d
On Friday, 2 October 2015 at 02:25:21 UTC, Yaser wrote: Are there any critical frameworks or libraries that are holding you back in fully investing in D? Obviously I think D is an awesome language, but some frameworks/libraries hold me back, wish I could do everything in D. Sadly, the

Re: Is Anything Holding you back?

2015-10-02 Thread Márcio Martins via Digitalmars-d
On Friday, 2 October 2015 at 09:44:00 UTC, ponce wrote: On Friday, 2 October 2015 at 02:25:21 UTC, Yaser wrote: Are there any critical frameworks or libraries that are holding you back in fully investing in D? Obviously I think D is an awesome language, but some frameworks/libraries hold me

Re: Is Anything Holding you back?

2015-10-02 Thread deadalnix via Digitalmars-d
On Friday, 2 October 2015 at 12:54:30 UTC, Jack Stouffer wrote: On Friday, 2 October 2015 at 02:25:21 UTC, Yaser wrote: Are there any critical frameworks or libraries that are holding you back in fully investing in D? Obviously I think D is an awesome language, but some frameworks/libraries

Re: Is Anything Holding you back?

2015-10-02 Thread luminousone via Digitalmars-d
On Friday, 2 October 2015 at 08:23:56 UTC, Sönke Ludwig wrote: Am 02.10.2015 um 10:15 schrieb Kagamin: On Friday, 2 October 2015 at 08:03:03 UTC, Dmitry Olshansky wrote: On 02-Oct-2015 10:49, Kagamin wrote: On Friday, 2 October 2015 at 05:15:26 UTC, luminousone wrote: vibe.d compatible

Re: Is Anything Holding you back?

2015-10-02 Thread Wyatt via Digitalmars-d
On Friday, 2 October 2015 at 17:17:07 UTC, Jonathan M Davis wrote: Now, using D at work is another thing entirely, but that has more to do with there being existing codebases and it being very difficult to talk coworkers into using a new language or technology than there necessarily being

Re: Is Anything Holding you back?

2015-10-02 Thread Jan Johansson via Digitalmars-d
On Friday, 2 October 2015 at 02:25:21 UTC, Yaser wrote: Are there any critical frameworks or libraries that are holding you back in fully investing in D? Obviously I think D is an awesome language, but some frameworks/libraries hold me back, wish I could do everything in D. I want a really

Re: Is Anything Holding you back?

2015-10-02 Thread Jonathan M Davis via Digitalmars-d
On Friday, 2 October 2015 at 02:25:21 UTC, Yaser wrote: Are there any critical frameworks or libraries that are holding you back in fully investing in D? Obviously I think D is an awesome language, but some frameworks/libraries hold me back, wish I could do everything in D. Nothing is

Re: Is Anything Holding you back?

2015-10-02 Thread deadalnix via Digitalmars-d
On Friday, 2 October 2015 at 02:25:21 UTC, Yaser wrote: Are there any critical frameworks or libraries that are holding you back in fully investing in D? Obviously I think D is an awesome language, but some frameworks/libraries hold me back, wish I could do everything in D. 1/ Debug support.

Re: Is Anything Holding you back?

2015-10-02 Thread Timon Gehr via Digitalmars-d
On 10/02/2015 03:24 PM, Andrei Alexandrescu wrote: On 10/02/2015 09:11 AM, Dmitry Olshansky wrote: On 02-Oct-2015 05:25, Yaser wrote: Are there any critical frameworks or libraries that are holding you back in fully investing in D? Obviously I think D is an awesome language, but some

Re: Is Anything Holding you back?

2015-10-02 Thread Adam D. Ruppe via Digitalmars-d
On Friday, 2 October 2015 at 18:56:32 UTC, deadalnix wrote: don't even have line number in the trace that lead to this assert (the dogshit). http://arsdnet.net/this-week-in-d/sep-20.html https://github.com/D-Programming-Language/druntime/pull/1354 works on linux now, already worked on

Re: Is Anything Holding you back?

2015-10-02 Thread Adam D. Ruppe via Digitalmars-d
On Friday, 2 October 2015 at 19:17:24 UTC, deadalnix wrote: Do I need to use specific linker flags to have this work ? --export-dynamic if you want function names (now done by default in dmd.conf anyway) and -g if you want file and line numbers; it pulls the info from the debug information.

Re: Is Anything Holding you back?

2015-10-02 Thread deadalnix via Digitalmars-d
On Friday, 2 October 2015 at 19:12:08 UTC, Adam D. Ruppe wrote: On Friday, 2 October 2015 at 18:56:32 UTC, deadalnix wrote: don't even have line number in the trace that lead to this assert (the dogshit). http://arsdnet.net/this-week-in-d/sep-20.html

Re: Is Anything Holding you back?

2015-10-02 Thread Daniel Kozak via Digitalmars-d
Yaser píše v Pá 02. 10. 2015 v 02:31 +: > On Friday, 2 October 2015 at 02:29:47 UTC, Adam D. Ruppe wrote: > > On Friday, 2 October 2015 at 02:25:21 UTC, Yaser wrote: > > > Are there any critical frameworks or libraries that are > > > holding you back in fully investing in D? > > > > Nope, if

Re: Is Anything Holding you back?

2015-10-02 Thread Kagamin via Digitalmars-d
On Friday, 2 October 2015 at 05:15:26 UTC, luminousone wrote: vibe.d compatible sqlite, postgresql, and oracle sql drivers. An ODBC driver would be fine too, anything that can connect to a database.

Re: Is Anything Holding you back?

2015-10-02 Thread Dmitry Olshansky via Digitalmars-d
On 02-Oct-2015 10:49, Kagamin wrote: On Friday, 2 October 2015 at 05:15:26 UTC, luminousone wrote: vibe.d compatible sqlite, postgresql, and oracle sql drivers. An ODBC driver would be fine too, anything that can connect to a database. http://dlang.org/phobos/etc_c_odbc_sql.html -- Dmitry

Re: Is Anything Holding you back?

2015-10-01 Thread Yaser via Digitalmars-d
On Friday, 2 October 2015 at 02:52:23 UTC, David DeWitt wrote: Im sure he meant if he needs something thats not yet available then he'll just write it. D is a community effort so obviously many ppl need to chip in. I pretty much use the usual Python/JS combo professionally and there are a

Is Anything Holding you back?

2015-10-01 Thread Yaser via Digitalmars-d
Are there any critical frameworks or libraries that are holding you back in fully investing in D? Obviously I think D is an awesome language, but some frameworks/libraries hold me back, wish I could do everything in D.

Re: Is Anything Holding you back?

2015-10-01 Thread Adam D. Ruppe via Digitalmars-d
On Friday, 2 October 2015 at 02:25:21 UTC, Yaser wrote: Are there any critical frameworks or libraries that are holding you back in fully investing in D? Nope, if anything like that comes up, I'll just write it myself!

Re: Is Anything Holding you back?

2015-10-01 Thread David DeWitt via Digitalmars-d
On Friday, 2 October 2015 at 02:31:50 UTC, Yaser wrote: On Friday, 2 October 2015 at 02:29:47 UTC, Adam D. Ruppe wrote: On Friday, 2 October 2015 at 02:25:21 UTC, Yaser wrote: Are there any critical frameworks or libraries that are holding you back in fully investing in D? Nope, if anything

Re: Is Anything Holding you back?

2015-10-01 Thread Yaser via Digitalmars-d
On Friday, 2 October 2015 at 02:29:47 UTC, Adam D. Ruppe wrote: On Friday, 2 October 2015 at 02:25:21 UTC, Yaser wrote: Are there any critical frameworks or libraries that are holding you back in fully investing in D? Nope, if anything like that comes up, I'll just write it myself! That's

Re: Is Anything Holding you back?

2015-10-01 Thread Adam D. Ruppe via Digitalmars-d
On Friday, 2 October 2015 at 02:31:50 UTC, Yaser wrote: That's the attitude, but do you think you can rewrite 10+ years * X man hours of software by yourself It doesn't actually take that long to write useful programs. (and btw, I've been writing D for 8+ years already, including a lot of

Re: Is Anything Holding you back?

2015-10-01 Thread suliman via Digitalmars-d
On Friday, 2 October 2015 at 05:15:26 UTC, luminousone wrote: On Friday, 2 October 2015 at 02:25:21 UTC, Yaser wrote: Are there any critical frameworks or libraries that are holding you back in fully investing in D? Obviously I think D is an awesome language, but some frameworks/libraries hold

Re: Is Anything Holding you back?

2015-10-01 Thread luminousone via Digitalmars-d
On Friday, 2 October 2015 at 02:25:21 UTC, Yaser wrote: Are there any critical frameworks or libraries that are holding you back in fully investing in D? Obviously I think D is an awesome language, but some frameworks/libraries hold me back, wish I could do everything in D. vibe.d compatible