On Sunday, 16 February 2014 at 02:57:25 UTC, Steven Schveighoffer
wrote:
New is not the issue. The expectation, when I write my class,
that it will be cleaned up by the GC, is the issue.
I remember this little nugget of paradox from the documentation
of classes:
"This means that when the g
On Saturday, 15 February 2014 at 20:28:03 UTC, Alexander Bothe
wrote:
1) On which OS are you working?
Windows 7 64 bit
2) What are your include paths?
I'm using the default install directory:
C:\D\dmd2\src\druntime\import
C:\D\dmd2\src\phobos
3) Are those paths put into the 'default' compi
On Sunday, 16 February 2014 at 05:27:07 UTC, Steven Schveighoffer
wrote:
On Sat, 15 Feb 2014 23:53:19 -0500, Denis Koroskin
<2kor...@gmail.com> wrote:
On Sunday, 16 February 2014 at 02:57:25 UTC, Steven
Schveighoffer wrote:
I think that the best and quickest approach at this time is
to disall
On Sunday, 16 February 2014 at 11:43:22 UTC, Jacob Carlborg wrote:
In D1 Tango added a new method, "dispose", to Object. This
method is called when an object is destroyed either when
calling "delete" or when going out of scope for scope declared
objects.
Forgot to say, other GC objects are s
On Sunday, 16 February 2014 at 11:49:08 UTC, Rene Zwanenburg
wrote:
I can't seem to find where to add include paths in the project
settings..
Since you are using dub, you simply define those in the dub
package:
http://code.dlang.org/package-format
On Sunday, 16 February 2014 at 11:49:08 UTC, Rene Zwanenburg
wrote:
On Saturday, 15 February 2014 at 20:28:03 UTC, Alexander Bothe
5) Could you pastebin me your last log file(s) please? (You
can open the folder via 'Help' menu -> Open Log directory)
Parts of the log file is Dutch (OS languag
On Sunday, 16 February 2014 at 11:49:08 UTC, Rene Zwanenburg
wrote:
5) Could you pastebin me your last log file(s) please? (You
can open the folder via 'Help' menu -> Open Log directory)
Parts of the log file is Dutch (OS language), Xamarin Studio
language is set to English but most of the int
On Thursday, 13 February 2014 at 23:14:20 UTC, 1100110 wrote:
I think it's about time I gave back to this wonderful community.
I'm offering a $50 bounty on this.
(Preferably Bitcoins, but I'll use bountysource if desired.)
rules:
Has to be called -minimal
Has to fulfill Walter's original post.
Am 16.02.2014 17:18, schrieb Elie Morisse:
On Thursday, 13 February 2014 at 23:14:20 UTC, 1100110 wrote:
I think it's about time I gave back to this wonderful community.
I'm offering a $50 bounty on this.
(Preferably Bitcoins, but I'll use bountysource if desired.)
rules:
Has to be called -min
What features does it support? How does it handle:
* Arrays
* Slices
* Pointers
* Reference types
* Support for events
* Custom serialization
* Serialization of third party types
Slices are handled as arrays, because of the fact that they need
to be handled in such a way that many different ty
On 2014-02-16 18:52, Orvid King wrote:
Slices are handled as arrays, because of the fact that they need to be
handled in such a way that many different types of serialization formats
can support them, and be inter-operable with implementations in
languages other than D.
Pointers are not support
I believe it's worth the try to get Python-style serialization
simplicity to D by default. We use Python cpickle at work and its
fantastically simple and fast. It handles just about everthing
you need by default as long as you have imported the modules that
contain the types involved in the ser
On Sun, 16 Feb 2014 06:46:53 -0500, Jacob Carlborg wrote:
On Sunday, 16 February 2014 at 11:43:22 UTC, Jacob Carlborg wrote:
In D1 Tango added a new method, "dispose", to Object. This method is
called when an object is destroyed either when calling "delete" or when
going out of scope for s
On Sun, 16 Feb 2014 11:18:12 -0500, Elie Morisse
wrote:
Isn't this a bit premature?
The idea is controversial, if you read the thread Andrei and Walter
wanted to postpone it:
I convinced Walter of my view on this, so he won't work on it. I trust
that at least between the two of us we c
On 2/16/14, "Nordlöw" wrote:
> I'm however not sure how serialization of base and superclasses
> should be implemented in the most convenient way. Maybe somehow
> has a good suggestion for this.
One way to do it:
https://github.com/msgpack/msgpack-d#use-own-deserialization-routine-for-class-and-s
On 2014-02-16 21:45, "Nordlöw" wrote:
I believe it's worth the try to get Python-style serialization
simplicity to D by default. We use Python cpickle at work and its
fantastically simple and fast. It handles just about everthing you need
by default as long as you have imported the modules that c
I already have all this in Orange [1], which I'm in progress of adapting
to a package for Phobos.
...
This requires registering the subclass in some way. In my implementation
one needs to call:
Serializer.register!(Sub);
For full example see [2].
[1] https://github.com/jacob-carlborg/o
Why not? Think of languages like C and C++, they only support pointers.
Pointers to basic types are not so interesting but pointers to structs
are.
Because, by serializing a pointer, you are implying that mechanism that
will be deserializing the value both exists on the same machine, and li
On Sunday, 16 February 2014 at 22:41:59 UTC, Orvid King wrote:
Why not? Think of languages like C and C++, they only support
pointers. Pointers to basic types are not so interesting but
pointers to structs are.
Because, by serializing a pointer, you are implying that
mechanism that will be de
On 2/16/14, Dicebot wrote:
> No, it should just serialize the pointed value and make the same
> difference upon deserialization - if it is a value, write to it,
> otherwise allocate new instance on heap and assign its address.
Speaking of related things like pointers and cyclic references I have
On 02/14/2014 03:33 PM, Tourist wrote:
I can reproduce it every time. Looks like a bug to me.
How about reporting a bug?
https://github.com/MartinNowak/drepl/issues
On 02/15/2014 12:29 AM, cal wrote:
My target was windows initially, where I guess this won't work
currently. Hopefully the situation there will improve soon.
Yes, we'll improve the Windows DLL support.
At some point shared libraries should work equally well on all platforms.
I also had a skype
On 2/16/14, 10:18, Elie Morisse wrote:
IMHO an approach that would not involve making a binary choice between
"full D" and "minimal D" is to add an option to make the linker strip
druntime and Phobos' shared libraries (or any shared library, and it's
not specific to D btw) to the "lowest common
On Sunday, 16 February 2014 at 16:18:13 UTC, Elie Morisse wrote:
On Thursday, 13 February 2014 at 23:14:20 UTC, 1100110 wrote:
I think it's about time I gave back to this wonderful
community.
I'm offering a $50 bounty on this.
(Preferably Bitcoins, but I'll use bountysource if desired.)
rules
Hello,
Walter and I are hard at work on reviewing DConf 2014 submissions.
We'd like to thank all of you who have submitted. There is not even one
submission that we found sub-par or unacceptable.
That said, the sheer numbers force us to make hard decisions. Although
each and every talk is o
https://github.com/CyberShadow/Digger
This tool can build arbitrary D revisions from git (currently up
to about 2 years ago), and automate git-bisect to find out which
pull request changed/broke something.
This tool is the continuation of my D-dot-git project, and is
meant to be a companion
On Sunday, 16 February 2014 at 22:48:51 UTC, Andrej Mitrovic
wrote:
On 2/16/14, Dicebot wrote:
No, it should just serialize the pointed value and make the
same
difference upon deserialization - if it is a value, write to
it,
otherwise allocate new instance on heap and assign its address.
Sp
A base class reference is: from your example an A which actually contains a
C or B.
Honestly I haven't tried this I would have assumed that D still gives you
the real type when using reflection but have you tried it?
On Mon, Feb 17, 2014 at 12:18 AM, Orvid King wrote:
> Why not? Think of langu
Do you have a JSON driver for Orange yet? Would be interesting to benchmark
Orange against a purpose designed JSON serialization library.
If your design is mostly compile time the experiment would be very
interesting (I think).
On Mon, Feb 17, 2014 at 12:03 AM, Jacob Carlborg wrote:
> On 2014
!! nice tool!
On Mon, Feb 17, 2014 at 7:29 AM, Vladimir Panteleev <
vladi...@thecybershadow.net> wrote:
> https://github.com/CyberShadow/Digger
>
> This tool can build arbitrary D revisions from git (currently up to about
> 2 years ago), and automate git-bisect to find out which pull request
> c
Great news! In a strange way. Perhaps we could encourage the people that
are not accepted to make videos of their submissions by going to local
universities and asking if they can do a talk there?
Would be an interesting way of promoting D and getting more video media
onto the internet about D.
On Sunday, 16 February 2014 at 23:40:58 UTC, 1100110 wrote:
On 2/16/14, 10:18, Elie Morisse wrote:
IMHO an approach that would not involve making a binary choice
between
"full D" and "minimal D" is to add an option to make the
linker strip
druntime and Phobos' shared libraries (or any shared l
On Saturday, 8 February 2014 at 06:03:18 UTC, Steve Teale wrote:
>
I have to take a break from developing it, and write some
documentation now.
OK, I have made some reasonably complete documentation, and that
now replaces the COMPO stuff I had on the web at
http://britseyeview.com/compo/.
On Sunday, 16 February 2014 at 22:33:07 UTC, Orvid King wrote:
The problem with the way your doing it though is that it
requires that the library doing the deserialization is fully
aware of the semantics used in the serialization
implementation, rather than just the syntax and semantics of
th
On Sunday, 16 February 2014 at 22:41:59 UTC, Orvid King wrote:
Because, by serializing a pointer, you are implying that
mechanism that will be deserializing the value both exists on
the same machine, and lies within the same address space,
otherwise it will be referencing incorrect data.
No.
On Monday, 17 February 2014 at 06:09:35 UTC, Rory McGuire wrote:
A base class reference is: from your example an A which
actually contains a
C or B.
Honestly I haven't tried this I would have assumed that D still
gives you
the real type when using reflection but have you tried it?
Unfortun
On Monday, 17 February 2014 at 06:14:51 UTC, Rory McGuire wrote:
Do you have a JSON driver for Orange yet? Would be interesting
to benchmark
Orange against a purpose designed JSON serialization library.
If your design is mostly compile time the experiment would be
very
interesting (I think).
On 2/17/14, Vladimir Panteleev wrote:
> https://github.com/CyberShadow/Digger
Now I understand how you've managed to find offending pull requests
for regressions so fast. Will try the tool as soon as there's a new
regression :p. Thanks!
38 matches
Mail list logo