Mike Wey wrote in message news:k2isv4$2r67$1...@digitalmars.com...
GtkD is a D binding and OO wrapper of Gtk+ and is released on the LGPL
license.
With 2.0 GtkD will wrap Gtk+ version 3, if you need Gtk+ 2 you can use the
latest version from the Gtk2 branch, version 1.6.
GtkD 2.0 and 1.6 are
On Tue, Sep 25, 2012 at 09:42:26PM -0400, Andrei Alexandrescu wrote:
On 9/25/12 7:24 PM, H. S. Teoh wrote:
Me too. My wife has FB, and that's good enough for me.
Sad to say, though, I got suckered into signing up for Google+.
No Facebook but Google+? That's it. You're out. Use Go.
[...]
On 2012-09-26 00:10, Andrei Alexandrescu wrote:
Hello all,
There's quite a few changes that we're very excited about, that I'd love
to share to the extent possible.
First, we have decided to extend commit rights to Daniel Murphy and
Martin Nowak, two heavyweight dmd contributors better known
On 2012-09-25 22:07, Jonathan M Davis wrote:
I'd argue that the fact that prototypes are part of the language is
a sign of a deficiency in the language (especially if they're necessary).
They're necessary for linking with C functions. But except from that I
agree with you.
--
/Jacob
On 9/25/2012 12:24 PM, bearophile wrote:
a common source of bugs. So...
Out of curiosity, what's your working definition of 'common' here? It seems to
be something not far from I've seen a
report of it happening in more than one code base which is overly broad, imho.
I'm all for identifying
On Tuesday, 25 September 2012 at 23:39:39 UTC, Walter Bright
wrote:
On 9/25/2012 3:58 PM, Iain Buclaw wrote:
The problem here is that the array operation A[] = B[] + C[]
gets transformed
into an extern(C) call. And because there's no strict rules
in place over the
order of which it's
This bug report:
http://d.puremagic.com/issues/show_bug.cgi?id=7979
... made me think about the following scenario:
struct MyStruct
{
int_intValue;
string _strValue;
alias _intValue this;
alias _strValue this;
}
void main()
{
auto ms = MyStruct(1, two);
switch
On Wednesday, September 26, 2012 09:54:02 Tommi wrote:
This bug report:
http://d.puremagic.com/issues/show_bug.cgi?id=7979
... made me think about the following scenario:
struct MyStruct
{
int_intValue;
string _strValue;
alias _intValue this;
alias _strValue
On 9/26/2012 12:36 AM, Iain Buclaw wrote:
On Tuesday, 25 September 2012 at 23:39:39 UTC, Walter Bright wrote:
On 9/25/2012 3:58 PM, Iain Buclaw wrote:
The problem here is that the array operation A[] = B[] + C[] gets transformed
into an extern(C) call. And because there's no strict rules in
On 26 September 2012 02:35, Timon Gehr timon.g...@gmx.ch wrote:
On 09/26/2012 01:29 AM, Timon Gehr wrote:
On 09/25/2012 01:53 PM, Manu wrote:
So I have this recurring pattern, it's really starting to annoy me.
It stems from the fact that a function prototype and the definition can
not
On Wednesday, September 26, 2012 10:10:47 Peter Alexander wrote:
On Wednesday, 26 September 2012 at 08:02:24 UTC, Jonathan M Davis
wrote:
I would expect it to give errors on those case statements,
because they're not
actually ints or strings.
On Tue, 25 Sep 2012 23:00:41 -0700
H. S. Teoh hst...@quickfur.ath.cx wrote:
On Tue, Sep 25, 2012 at 10:29:54PM -0400, Nick Sabalausky wrote:
With what I'm talking about, all of the back/forward/etc buttons and
everything are completely gone. Think Scintilla, but for HTML/CSS
instead of
On Wednesday, 26 September 2012 at 06:28:00 UTC, Jacob Carlborg
wrote:
On 2012-09-26 00:10, Andrei Alexandrescu wrote:
By my estimates the community size is in the five digits now.
So how do you estimate these numbers ?
Nick B
On 25/09/12 21:30, Bernard Helyer wrote:
I tried to post this last night, but the NG wasn't having any of it.
I found myself writing a bug that looked like this
match(ts, TokenType.Is);
match(ts, TokenType.OpenParen);
isExp.type == parseType(ts);
The bug being of course, that a
On Wednesday, 26 September 2012 at 08:37:33 UTC, Jonathan M Davis
wrote:
Then it sounds like this example would probably have to give an
error due to
ambiguity (once you can have multiple alias thises anyway),
because the only
reason that it can be used in the switch statement and cases is
Le 25/09/2012 22:43, Steven Schveighoffer a écrit :
But I think what Manu is trying to do is not exactly just repeat the
signature, he is using the signature of the original to generate the
signature of the auto-generated function. Essentially, it's not
duplicated code on either the source or
Le 26/09/2012 10:14, Manu a écrit :
On 26 September 2012 02:35, Timon Gehr timon.g...@gmx.ch
mailto:timon.g...@gmx.ch wrote:
On 09/26/2012 01:29 AM, Timon Gehr wrote:
On 09/25/2012 01:53 PM, Manu wrote:
So I have this recurring pattern, it's really starting to
Le 26/09/2012 08:43, Brad Roberts a écrit :
On 9/25/2012 12:24 PM, bearophile wrote:
a common source of bugs. So...
Out of curiosity, what's your working definition of 'common' here? It seems to be
something not far from I've seen a
report of it happening in more than one code base which is
On 26/09/12 01:31, H. S. Teoh wrote:
On Wed, Sep 26, 2012 at 01:10:00AM +0200, Timon Gehr wrote:
On 09/26/2012 12:58 AM, Iain Buclaw wrote:
[...]
string abc;
float[] A()
{
abc ~= A;
return [];
}
float[] B()
{
abc ~= B;
return [];
}
float[] C()
{
abc ~= C;
On 26 September 2012 13:09, deadalnix deadal...@gmail.com wrote:
Le 26/09/2012 10:14, Manu a écrit :
On 26 September 2012 02:35, Timon Gehr timon.g...@gmx.ch
mailto:timon.g...@gmx.ch wrote:
On 09/26/2012 01:29 AM, Timon Gehr wrote:
On 09/25/2012 01:53 PM, Manu wrote:
Le 25/09/2012 22:55, Nick Sabalausky a écrit :
On Tue, 25 Sep 2012 12:07:33 +0200
deadalnixdeadal...@gmail.com wrote:
Le 25/09/2012 09:11, Jacob Carlborg a écrit :
On 2012-09-25 00:28, bearophile wrote:
(||)
(|1|)
(|1, 2|)
(|1, 2, 3|)
What about:
||
|1|
|1, 2|
Yeah and why not þ1, 2þ
Le 25/09/2012 23:34, ixid a écrit :
You've shown it's clearly incompatible with the current language
and would break lots of code. What would it break if assignment
required explicit tuple brackets?
(int a, b) = foo(); // A tuple assignment, 'a' and 'b' will be
filled in order by the multiple
On Wednesday, 26 September 2012 at 10:09:14 UTC, deadalnix wrote:
In other terms, supporting such a feature add complexity to the
compiler, and it should come with a sufficient benefice to make
sense to implement.
It seems to be just opposite: creating ambiguity between function
body and its
Brad Roberts:
Out of curiosity, what's your working definition of 'common'
here? It seems to be something not far from I've seen a
report of it happening in more than one code base which is
overly broad, imho.
Regarding (!x y) I have seen studies (done by the Coccinelle
devs) that shows
On 2012-09-26 12:19, Manu wrote:
I can't imagine why the example above is hell, but I know nothing about
the compiler.
I have no idea how the existing bug was implemented, but it needs to be
fixed one way or another.
It sounds fairly trivial to me to promote a prototype to a definition if
a
On 9/26/12 5:37 AM, Nick B wrote:
On Wednesday, 26 September 2012 at 06:28:00 UTC, Jacob Carlborg wrote:
On 2012-09-26 00:10, Andrei Alexandrescu wrote:
By my estimates the community size is in the five digits now.
So how do you estimate these numbers ?
Nick B
Downloads, website visits,
On Tuesday, 25 September 2012 at 22:09:37 UTC, Andrei
Alexandrescu wrote:
Hello all,
[SNIP]
We want to move dmd forward faster, and we're encouraging
committers to be more aggressive about reviewing and merging
patches. Language changes will still have to get through Scylla
and Charybdis
On Wednesday, 26 September 2012 at 08:12:16 UTC, Walter Bright
wrote:
On 9/26/2012 12:36 AM, Iain Buclaw wrote:
On Tuesday, 25 September 2012 at 23:39:39 UTC, Walter Bright
wrote:
On 9/25/2012 3:58 PM, Iain Buclaw wrote:
The problem here is that the array operation A[] = B[] + C[]
gets
On 09/26/2012 12:13 PM, Don Clugston wrote:
On 26/09/12 01:31, H. S. Teoh wrote:
On Wed, Sep 26, 2012 at 01:10:00AM +0200, Timon Gehr wrote:
On 09/26/2012 12:58 AM, Iain Buclaw wrote:
[...]
string abc;
float[] A()
{
abc ~= A;
return [];
}
float[] B()
{
abc ~= B;
return
Apparently a good way to get public eye attention to a
programming language is to write malware in it. :^)
http://www.theregister.co.uk/2012/09/24/google_go_trojan/
On 09/26/2012 10:11 AM, Walter Bright wrote:
On 9/26/2012 12:36 AM, Iain Buclaw wrote:
On Tuesday, 25 September 2012 at 23:39:39 UTC, Walter Bright wrote:
On 9/25/2012 3:58 PM, Iain Buclaw wrote:
The problem here is that the array operation A[] = B[] + C[] gets
transformed
into an extern(C)
On Tuesday, 25 September 2012 at 22:58:11 UTC, Iain Buclaw wrote:
Pop quiz!
Without cheating, I invite people to have a good guess what
'abc' is equal to, but just to narrow it down.
1) It isn't ABC.
2) On x86/x86_64, it isn't ACB.
3) On everything else, it's the reverse of what you'd
On 09/26/2012 11:45 AM, Don Clugston wrote:
On 25/09/12 21:30, Bernard Helyer wrote:
I tried to post this last night, but the NG wasn't having any of it.
I found myself writing a bug that looked like this
match(ts, TokenType.Is);
match(ts, TokenType.OpenParen);
isExp.type ==
On Wednesday, 26 September 2012 at 02:29:09 UTC, Nick Sabalausky
wrote:
Ie, imagine you make a trivial HTML page that's nothing but a
purple background and no content. Now load it in a web browser.
The purple part (and maybe the scroll bars?) is the *only* part
that's included.
I think that's
On 25-Sep-12 23:29, kenji hara wrote:
My suggestion is very simple.
1. Change all words built-in tuple in the documentation to built-in
sequence. Then, in the D language world, we can have clarify name for
the built-in one.
2. Introduce new templates, Seq, TypeSeq, and ExpSeq.
template
On 26 September 2012 13:07, monarch_dodra monarchdo...@gmail.com wrote:
On Tuesday, 25 September 2012 at 22:58:11 UTC, Iain Buclaw wrote:
Pop quiz!
Without cheating, I invite people to have a good guess what 'abc' is equal
to, but just to narrow it down.
1) It isn't ABC.
2) On
On 09/26/2012 02:07 PM, monarch_dodra wrote:
On Tuesday, 25 September 2012 at 22:58:11 UTC, Iain Buclaw wrote:
Pop quiz!
Without cheating, I invite people to have a good guess what 'abc' is
equal to, but just to narrow it down.
1) It isn't ABC.
2) On x86/x86_64, it isn't ACB.
3) On
On 26/09/12 14:19, Timon Gehr wrote:
On 09/26/2012 11:45 AM, Don Clugston wrote:
On 25/09/12 21:30, Bernard Helyer wrote:
I tried to post this last night, but the NG wasn't having any of it.
I found myself writing a bug that looked like this
match(ts, TokenType.Is);
match(ts,
Timon Gehr:
In generic code, it is possible and likely (as pure is inferred
for lambdas and template functions) that a pure function ends
up being called for potential side effects.
Already tried that :-(
Bye,
bearophile
On Wednesday, 26 September 2012 at 12:48:19 UTC, Timon Gehr wrote:
On 09/26/2012 02:07 PM, monarch_dodra wrote:
On Tuesday, 25 September 2012 at 22:58:11 UTC, Iain Buclaw
wrote:
Pop quiz!
Without cheating, I invite people to have a good guess what
'abc' is
equal to, but just to narrow it
On Wednesday, 26 September 2012 at 12:02:42 UTC, Iain Buclaw
wrote:
Apparently a good way to get public eye attention to a
programming language is to write malware in it. :^)
http://www.theregister.co.uk/2012/09/24/google_go_trojan/
I noticed that as well.
In Go's case, it might be enough
On 26-Sep-12 02:10, Andrei Alexandrescu wrote:
First, we have decided to extend commit rights to Daniel Murphy and
Martin Nowak, two heavyweight dmd contributors better known under their
noms de plume: yebblies and dawgfoto, respectively. Please join me in
congratulating them for this token of
On Tue, 25 Sep 2012 18:59:55 -0400, Nick Sabalausky
seewebsitetocontac...@semitwist.com wrote:
I don't think the photos are meant to be browsed that way. See this
thread here https://discussions.apple.com/message/16514340#16514340
I think explorer must not be using the rotation field
On 26 September 2012 14:21, Jacob Carlborg d...@me.com wrote:
On 2012-09-26 12:19, Manu wrote:
I can't imagine why the example above is hell, but I know nothing about
the compiler.
I have no idea how the existing bug was implemented, but it needs to be
fixed one way or another.
It sounds
Hi,
After a recent Windows update cycle the Visual D projects now fail to
build - it can't find the D source files - the output from compiler is
below.
===
OPTLINK (R) for Win32 Release 8.00.12
Copyright (C)
Hi,
After a recent Windows update cycle the Visual D projects now fail to
build - it can't find the D source files - the output from compiler is
below.
===
OPTLINK (R) for Win32 Release 8.00.12
Copyright (C)
The frexp test fails on ARM. I think the mask in line 1491 is
wrong:
https://github.com/D-Programming-Language/phobos/blob/master/std/math.d#L1491
For doubles, the 63 bit is sign, 62-52 are exponent and 51-0 are
mantissa.
The mask manipulates the bits 63-48 (ushort, 16bit)
0x8000 is
On 9/26/12 10:23 AM, Paulo Pinto wrote:
On Wednesday, 26 September 2012 at 12:02:42 UTC, Iain Buclaw wrote:
Apparently a good way to get public eye attention to a programming
language is to write malware in it. :^)
http://www.theregister.co.uk/2012/09/24/google_go_trojan/
I noticed that as
On 26-09-2012 13:45, Iain Buclaw wrote:
On Wednesday, 26 September 2012 at 08:12:16 UTC, Walter Bright wrote:
On 9/26/2012 12:36 AM, Iain Buclaw wrote:
On Tuesday, 25 September 2012 at 23:39:39 UTC, Walter Bright wrote:
On 9/25/2012 3:58 PM, Iain Buclaw wrote:
The problem here is that the
On 26-09-2012 15:34, monarch_dodra wrote:
On Wednesday, 26 September 2012 at 12:48:19 UTC, Timon Gehr wrote:
On 09/26/2012 02:07 PM, monarch_dodra wrote:
On Tuesday, 25 September 2012 at 22:58:11 UTC, Iain Buclaw wrote:
Pop quiz!
Without cheating, I invite people to have a good guess what
On 26-09-2012 14:04, Timon Gehr wrote:
On 09/26/2012 10:11 AM, Walter Bright wrote:
On 9/26/2012 12:36 AM, Iain Buclaw wrote:
On Tuesday, 25 September 2012 at 23:39:39 UTC, Walter Bright wrote:
On 9/25/2012 3:58 PM, Iain Buclaw wrote:
The problem here is that the array operation A[] = B[] +
On 26-09-2012 13:47, monarch_dodra wrote:
On Tuesday, 25 September 2012 at 22:09:37 UTC, Andrei Alexandrescu wrote:
Hello all,
[SNIP]
We want to move dmd forward faster, and we're encouraging committers
to be more aggressive about reviewing and merging patches. Language
changes will still
On Wednesday, 26 September 2012 at 12:29:38 UTC, Iain Buclaw
wrote:
On 26 September 2012 13:07, monarch_dodra
monarchdo...@gmail.com wrote:
I don't see how the extern(C) is involved here, since it is
the D compiler
that first evaluates A(), B() and C() before passing the
making the C
function
On Wednesday, 26 September 2012 at 15:12:05 UTC, Alex Rønne
Petersen wrote:
On 26-09-2012 15:34, monarch_dodra wrote:
[SNIP]
No it isn't. There's a perfectly sensible, sane, and intuitive
fix for this: always evaluate arguments left-to-right. No
exceptions.
It's not that complicated.
On 26/09/12 17:13, Johannes Pfau wrote:
The frexp test fails on ARM. I think the mask in line 1491 is
wrong:
https://github.com/D-Programming-Language/phobos/blob/master/std/math.d#L1491
For doubles, the 63 bit is sign, 62-52 are exponent and 51-0 are
mantissa.
The mask manipulates the bits
On Friday, 21 September 2012 at 19:59:36 UTC, Joseph Rushton
Wakeling wrote:
I'd add here that you're talking about by far the most widely
used distro.
[…]
Isn't it worth someone from the LDC team discussing with the
Ubuntu people concerned (e.g. the person who decided to
blacklist the
...on the 'Downloads Tools' page, it might be nice to list the
install command for Arch Linux as well. Although I doubt any Arch
users won't first try a pacman command, it's very well supported
on Arch Linux official repos and it might be nice to advertise
that fact. LDC on Arch is up-to-date
Come on people, lets get on it then.
First order of business:
0-day exploits. Who has them?
On Wed, 26 Sep 2012 07:03:25 -0500, Iain Buclaw ibuc...@ubuntu.com wrote:
Apparently a good way to get public eye attention to a programming
language is to write malware in it. :^)
On Sep 25, 2012, at 11:11 PM, H. S. Teoh hst...@quickfur.ath.cx wrote:
On Tue, Sep 25, 2012 at 09:42:26PM -0400, Andrei Alexandrescu wrote:
On 9/25/12 7:24 PM, H. S. Teoh wrote:
Me too. My wife has FB, and that's good enough for me.
Sad to say, though, I got suckered into signing up for
On Sep 26, 2012, at 7:44 AM, Steven Schveighoffer schvei...@yahoo.com wrote:
On Tue, 25 Sep 2012 18:59:55 -0400, Nick Sabalausky
seewebsitetocontac...@semitwist.com wrote:
Ugh, yea, exactly. I can't do a normal file copy? I can't email them?
The way apple handled photo orientation is
On 26 September 2012 16:46, David Nadlinger s...@klickverbot.at wrote:
On Friday, 21 September 2012 at 19:59:36 UTC, Joseph Rushton Wakeling wrote:
I'd add here that you're talking about by far the most widely used distro.
[…]
Isn't it worth someone from the LDC team discussing with the
On 26 September 2012 16:25, David Nadlinger s...@klickverbot.at wrote:
On Wednesday, 26 September 2012 at 12:29:38 UTC, Iain Buclaw wrote:
On 26 September 2012 13:07, monarch_dodra monarchdo...@gmail.com wrote:
I don't see how the extern(C) is involved here, since it is the D
compiler
that
On 26 September 2012 16:10, Alex Rønne Petersen a...@lycus.org wrote:
On 26-09-2012 13:45, Iain Buclaw wrote:
On Wednesday, 26 September 2012 at 08:12:16 UTC, Walter Bright wrote:
On 9/26/2012 12:36 AM, Iain Buclaw wrote:
On Tuesday, 25 September 2012 at 23:39:39 UTC, Walter Bright wrote:
On Wednesday, September 26, 2012 17:12:49 Alex Rønne Petersen wrote:
On 26-09-2012 15:34, monarch_dodra wrote:
IMO: useful behavior would be if it was explicitly illegal to modify (or
modify + read) the same value twice in the same expression. I'd rather
expressions such as:
A()[] = B()[]
On 25.09.2012 13:53, Manu wrote: So I have this recurring pattern, it's
really starting to annoy me.
It stems from the fact that a function prototype and the definition can
not appear in the same file in D (as it can in C/C++)
Eg,
[...]
I also have numerous more advanced cases of the same
On Wed, Sep 26, 2012 at 05:19:16AM -0400, Nick Sabalausky wrote:
[...]
Most GUIs are made of common re-usable widgets, right? The button
widget, the checkbox or radio box widgets, the menu bar widget,
the text box widget, image, list, grid, treeview, etc. So
then you make a GUI by plopping
25.09.2012 21:14, Denis Shelomovskij пишет:
.NET has FlagsAttribute, Java has EnumSet. Looks like we need this too.
How about to add a library solution to Phobos?
My variant is here (search for `flagEnum`):
https://bitbucket.org/denis_sh/misc/src/tip/stdd/typecons.d
It has a bug and I have no
On Wed, Sep 26, 2012 at 09:30:43AM -0700, Sean Kelly wrote:
On Sep 25, 2012, at 11:11 PM, H. S. Teoh hst...@quickfur.ath.cx wrote:
On Tue, Sep 25, 2012 at 09:42:26PM -0400, Andrei Alexandrescu wrote:
On 9/25/12 7:24 PM, H. S. Teoh wrote:
Me too. My wife has FB, and that's good enough for
On Wed, Sep 26, 2012 at 06:11:08PM +0100, Iain Buclaw wrote:
On 26 September 2012 16:46, David Nadlinger s...@klickverbot.at wrote:
[...]
Joseph, Russel, you seem to be both personally interested in D/LDC
and quite knowledgeable about Debian-style packaging. Might I
suggest that you think
On 26-Sep-12 21:39, Denis Shelomovskij wrote:
25.09.2012 21:14, Denis Shelomovskij пишет:
.NET has FlagsAttribute, Java has EnumSet. Looks like we need this too.
How about to add a library solution to Phobos?
My variant is here (search for `flagEnum`):
On 9/26/12 11:19 AM, Alex Rønne Petersen wrote:
On 26-09-2012 13:47, monarch_dodra wrote:
Any chance we could see some sort of dedicated hand holders for the
newer contributors? That or semi-trusted validators: They wouldn't
have the power to merge themselves, but could still tag pulls as
Haven't done any dynamic linking with D and I need to. I'm using dmd
2.058/Linux at work to build and use dynamic libraries. Here's my attempt:
*** Makefile
all: main lib.so
main: main.d
dmd main
lib.so: lib.d
dmd -fPIC -shared lib.d -of./lib.so
*** lib.d
extern(C) int
On 26.09.2012 16:57, Mike James wrote:
Hi,
After a recent Windows update cycle the Visual D projects now fail to
build - it can't find the D source files - the output from compiler is
below.
===
OPTLINK (R) for
26.09.2012 21:52, Dmitry Olshansky пишет:
On 26-Sep-12 21:39, Denis Shelomovskij wrote:
25.09.2012 21:14, Denis Shelomovskij пишет:
.NET has FlagsAttribute, Java has EnumSet. Looks like we need this too.
How about to add a library solution to Phobos?
My variant is here (search for
Rainer Schuetze wrote in message news:k3vfh2$1g0$1...@digitalmars.com...
On 26.09.2012 16:57, Mike James wrote:
Hi,
After a recent Windows update cycle the Visual D projects now fail to
build - it can't find the D source files - the output from compiler is
below.
26.09.2012 21:58, Andrei Alexandrescu пишет:
Haven't done any dynamic linking with D and I need to. I'm using dmd
2.058/Linux at work to build and use dynamic libraries.
Sorry for the OT (as you are a Linux user), but if you will ever do it
on Windows, be aware of this nasty trap:
On 26-Sep-12 22:17, Denis Shelomovskij wrote:
Please give me usage examples (unittests), and I will implement the
functionality. Now I don't understand what are n-state flags and what is
the difference with std.bitmanip.bitfields.
Well thinking more of it, bitfields indeed will do for a
On Wednesday, 26 September 2012 at 17:57:29 UTC, Andrei
Alexandrescu wrote:
Haven't done any dynamic linking with D and I need to. I'm
using dmd 2.058/Linux at work to build and use dynamic
libraries. Here's my attempt:
Maybe it will help you
D:
Denis Shelomovskij:
OK. Looks like such functionality isn't needed and I don't have
to do a pull request. What about to close
http://d.puremagic.com/issues/show_bug.cgi?id=6946
with WONTFIX?
I think it's a good idea to have a well written EnumFlags data
structure in Phobos. In C# this
Also, I want to add that type declarations should be changed
from statements to expressions so that we could do:
auto tup = (3, hello);
(int num, string s) = tup; // num == 3, s == hello
+1.
or
int num;
string s;
auto tup = (3, hello);
(num, s) = tup;
or like x++ containers
On 2012-09-26 19:58, Andrei Alexandrescu wrote:
Haven't done any dynamic linking with D and I need to. I'm using dmd
2.058/Linux at work to build and use dynamic libraries. Here's my attempt:
Running make prints:
dmd -fPIC -shared lib.d -of./lib.so
/usr/bin/ld:
On 9/26/12 2:25 PM, Denis Shelomovskij wrote:
26.09.2012 21:58, Andrei Alexandrescu пишет:
Haven't done any dynamic linking with D and I need to. I'm using dmd
2.058/Linux at work to build and use dynamic libraries.
Sorry for the OT (as you are a Linux user), but if you will ever do it
on
On 9/26/12 2:59 PM, Michael wrote:
On Wednesday, 26 September 2012 at 17:57:29 UTC, Andrei
Alexandrescu wrote:
Haven't done any dynamic linking with D and I need to. I'm using dmd
2.058/Linux at work to build and use dynamic libraries. Here's my
attempt:
Maybe it will help you
D:
On 9/26/12 3:18 PM, Jacob Carlborg wrote:
Martin Nowak has a branch for this:
https://github.com/dawgfoto/druntime/tree/SharedRuntime
Thanks, I'll follow up with him.
Andrei
On Tuesday, 25 September 2012 at 17:13:44 UTC, Denis Shelomovskij
wrote:
.NET has FlagsAttribute, Java has EnumSet. Looks like we need
this too. How about to add a library solution to Phobos?
+1.
Also I'm not sure:
* Should we support converting from a number to a flag enum?
+1.
* If so,
On Tuesday, 25 September 2012 at 21:02:49 UTC, Andrei
Alexandrescu wrote:
I agree. That's why I want to take the minimum amount of steps
to make library tuples work. That minimum amount may be 1, i.e.
just implement deconstruction.
Andrei
Library tuples have broken semantics.
Tuples
On Tuesday, 25 September 2012 at 22:09:37 UTC, Andrei
Alexandrescu wrote:
Hello all,
There's quite a few changes that we're very excited about, that
I'd love to share to the extent possible.
First, we have decided to extend commit rights to Daniel Murphy
and Martin Nowak, two heavyweight
Thanks. The loading part is very useful, but I'm still lost
when it comes to build the shared library itself.
Andrei
Program loads dll at runtime using loader which is configured to
load concrete dll file(s). Like in gtkD
http://www.dsource.org/projects/gtkd/browser/trunk/src/gtkc/Loader.d
On Wednesday, 26 September 2012 at 20:10:47 UTC, Michael wrote:
Thanks. The loading part is very useful, but I'm still lost
when it comes to build the shared library itself.
Andrei
Program loads dll at runtime using loader which is configured
to load concrete dll file(s). Like in gtkD
On Wednesday, 26 September 2012 at 18:16:54 UTC, Denis
Shelomovskij wrote:
Thanks for the answer, but still there are only few guys here
interesting in it to be included in Phobos, so WONTFIX-ing the
issue looks reasonable. I can just support this struct in my
library for you.
There are few
On Wednesday, September 26, 2012 21:54:44 foobar wrote:
Library tuples have broken semantics.
Tuples supposed to have _structural_ typing which AFAIK can only
be correctly implemented in language.
import std.typecons.TypeTuple;
struct MyTuple(T...)() {}
auto libTup = tuple(123, hello);
Loading Shared lib isn't big issues here.
The bigger one is building Shared library (written in D) and
running it in host application without issues (EH, shared GC
etc).
Andrei, if you find out how to make those things work, please
share your findings. I'm also in need of using shared
On Wed, 26 Sep 2012 10:44:34 -0400
Steven Schveighoffer schvei...@yahoo.com wrote:
On Tue, 25 Sep 2012 18:59:55 -0400, Nick Sabalausky
I miss words. I didn't mind non-word toolbar buttons on the desktop,
because then you have the concept of hover which will trigger the
words until you
On Wed, 26 Sep 2012 10:40:13 -0700
H. S. Teoh hst...@quickfur.ath.cx wrote:
On Wed, Sep 26, 2012 at 09:30:43AM -0700, Sean Kelly wrote:
Google+ is an opt-out service rather than an opt-in service if you
have a gmail account, so that you have G+ isn't surprising.
I don't have a gmail
Jonathan M Davis:
So, this really makes no sense to me at all.
I agree that foobar examples aren't so good. But it's true that
Tuple() gives some troubles regarding missed structural typing:
import std.stdio, std.typecons;
alias Tuple!(float, float) T1;
alias Tuple!(float,x, float,y) T2;
On Thursday, September 27, 2012 00:05:41 bearophile wrote:
Jonathan M Davis:
So, this really makes no sense to me at all.
I agree that foobar examples aren't so good. But it's true that
Tuple() gives some troubles regarding missed structural typing:
import std.stdio, std.typecons;
On Tuesday, 25 September 2012 at 22:09:37 UTC, Andrei Alexandrescu wrote:
Hello all,
There's quite a few changes that we're very excited about, that I'd love
to share to the extent possible.
First, we have decided to extend commit rights to Daniel Murphy and Martin
Nowak, two heavyweight
On Thursday, September 27, 2012 00:16:41 Philippe Sigaud wrote:
On Tuesday, 25 September 2012 at 22:09:37 UTC, Andrei Alexandrescu wrote:
Hello all,
There's quite a few changes that we're very excited about, that I'd love
to share to the extent possible.
First, we have decided to
On 26/09/2012 10:45, Don Clugston wrote:
On 25/09/12 21:30, Bernard Helyer wrote:
I tried to post this last night, but the NG wasn't having any of it.
I found myself writing a bug that looked like this
match(ts, TokenType.Is);
match(ts, TokenType.OpenParen);
isExp.type ==
On Wed, 26 Sep 2012 10:37:10 -0700
H. S. Teoh hst...@quickfur.ath.cx wrote:
I have one objection to your list though: although _for the most part_
AA's can work with any kind of key, there are a lot of bugs in that
area. The language itself, of course, in theory supports any kind of
key, but
1 - 100 of 155 matches
Mail list logo