On Thu, Dec 9, 2010 at 12:01 AM, Russel Winder wrote:
> On Wed, 2010-12-08 at 17:29 -0800, Walter Bright wrote:
> > Walter Bright wrote:
> > > Andrei Alexandrescu wrote:
> > >> This seems pretty urgent. Walter?
> > >
> > > I asked Jordi, who prepares the .deb files.
> >
> > Should the binaries be
On Thu, 2010-12-09 at 07:43 -0600, Seth Hoenig wrote:
> Ah but you can!
>
>
> sudo aptitude install gcc-multilib libc6-i386 lib6-dev-i386
> sudo aptitude install ia32-libs
> sudo dpkg -i --force-architecture [dmdpackage]
I tried that many, many moons ago. If I remember correctly it all
faile
On 08/12/10 00:47, Steven Schveighoffer wrote:
On Tue, 07 Dec 2010 06:55:53 -0500, Json
wrote:
I am drunk again. I just want to say that I hate you all because I love
Rosemary so much and she is a lot better than any of us. I miss her so
much. No, I have missed her so much. So merry christmas
Russel Winder Wrote:
>I tried that many, many moons ago. If I remember correctly it all
>failed to work due to some double indirection in the dynamic linking
>ending up trying to link 32-bit code with 64-bit libraries even with all
>the multilib and ia32-lib stuff in place.
I don't even know wh
hi community,
How convince my teacher to go in D ?
After talk with my teacher, i do not think D is good because after 10 years is
not become the big one. she is very skeptical about D. If i could convince my
teacher it will be great maybe i will teach to his
students :)
best regards
"Ddev" wrote in message
news:idr024$280...@digitalmars.com...
> hi community,
> How convince my teacher to go in D ?
> After talk with my teacher, i do not think D is good because after 10
> years is not become the big one. she is very skeptical about D. If i could
> convince my teacher it will
On 08/12/2010 15:02, Brüno Mediocre wrote:
Bruno Medeiros Wrote:
Why are people still replying to nameless trolls? There has been several
cases of that in recent threads. :/
Trololol. Maybe they're a bit dumb, my brother. If they some day become
smarter, they'll stop using D. They see how mu
Bruno Medeiros schrieb:
On 08/12/2010 15:02, Brüno Mediocre wrote:
Bruno Medeiros Wrote:
Why are people still replying to nameless trolls? There has been several
cases of that in recent threads. :/
Trololol. Maybe they're a bit dumb, my brother. If they some day
become smarter, they'll stop
On 29/11/2010 21:13, Steven Schveighoffer wrote:
On Mon, 29 Nov 2010 15:55:10 -0500, Kagamin wrote:
Steven Schveighoffer Wrote:
My favorite in recent times is:
@tail const(C) tailconst;
Tail const is a type constructor, but I don't think that annotations
should evolve that far.
What I l
On 29/11/2010 22:53, Walter Bright wrote:
Steven Schveighoffer wrote:
Because we tried hard and failed != it's impossible.
The source to DMD is there. Feel free to try! I spent months trying to
make it work, and I learned my lesson.
Even without knowing anything about DMD internals, I would
On Thu, 09 Dec 2010 07:48:10 -0800
Andrei Alexandrescu wrote:
> http://stackoverflow.com/questions/4397058/go-vs-d-programming-language
>
> Andrei
One problem is we can hardly say "beeing 10 years older, D is a more stable
language".
Denis
-- -- -- -- -- -- --
vit esse estrany ☣
spir.wikidot
spir schrieb:
On Thu, 09 Dec 2010 07:48:10 -0800
Andrei Alexandrescu wrote:
http://stackoverflow.com/questions/4397058/go-vs-d-programming-language
Andrei
One problem is we can hardly say "beeing 10 years older, D is a more stable
language".
Denis
-- -- -- -- -- -- --
vit esse estrany ☣
On Thu, 09 Dec 2010 12:01:47 -0500, Bruno Medeiros
wrote:
On 29/11/2010 21:13, Steven Schveighoffer wrote:
On Mon, 29 Nov 2010 15:55:10 -0500, Kagamin wrote:
Steven Schveighoffer Wrote:
My favorite in recent times is:
@tail const(C) tailconst;
Tail const is a type constructor, but I
On Thu, 09 Dec 2010 12:07:28 -0500, Bruno Medeiros
wrote:
On 29/11/2010 22:53, Walter Bright wrote:
Steven Schveighoffer wrote:
Because we tried hard and failed != it's impossible.
The source to DMD is there. Feel free to try! I spent months trying to
make it work, and I learned my lesson
(2010/12/07 20:02), Max Samukha wrote:
On 12/06/2010 10:47 PM, Mike Parker wrote:
On 12/7/2010 2:10 AM, Haruki Shigemori wrote:
(2010/12/06 16:59), Denis Koroskin wrote:
Because D runtime doesn't know about the newly created thread, and
static constructors weren't called. Try calling the follo
Hello!
In D, it is much harder to say something is impossible to implement
comparing to other languages.
If you are coming from C/C++ land, you should know that if you want to
script your program,
you are going to fall back to another language, possibly a "scripting"
language.
But why? why
A DLL gets notified in its entrypoint DllMain about new threads. When it
receives such a notification, it mainly does the following:
if( !thread_findByAddr( GetCurrentThreadId() ) )
thread_attachThis();
if( !_moduleinfo_tlsdtors_i ) // avoid duplicate ca
so wrote:
Hello!
In D, it is much harder to say something is impossible to implement
comparing to other languages.
If you are coming from C/C++ land, you should know that if you want to
script your program,
you are going to fall back to another language, possibly a "scripting"
language.
Ddev Wrote:
> hi community,
> How convince my teacher to go in D ?
> After talk with my teacher, i do not think D is good because after 10 years
> is not become the big one. she is very skeptical about D. If i could convince
> my teacher it will be great maybe i will teach to his
> students :)
>
(2010/12/10 5:14), Rainer Schuetze wrote:
A DLL gets notified in its entrypoint DllMain about new threads. When it
receives such a notification, it mainly does the following:
if( !thread_findByAddr( GetCurrentThreadId() ) )
thread_attachThis();
if( !_moduleinfo_tlsdtors_i ) // avoid duplicate c
so Wrote:
> Hello!
>
> All i can see right now is the lack of compile(file, module dependencies,
> ...).
> Is it just technical limitations or is this is another religious issue?
>
> Thanks!
You add a scripting language to your program for two reasons. You want to make
your program expendable
This is the only reason i can think of too.
The trouble with this as far as i can see is that when you have this
feature (compile),
you actually dictate that a D implementation must be free(?).
Thinking about this, this is not something wrong. A compiler is not an
ordinary program.
As an OS p
I'm of the opinion that languages like Lua/MiniD are great ways to
achieve these goals as they are small efficient languages and were made
specifically for embedding. I'm considering the idea of using Lua
scripts as configuration files, but haven't yet put into practice to
judge if it is be
On 08.12.2010 23:45, Jonathan M Davis wrote:
On Wednesday, December 08, 2010 14:14:57 Simon Buerger wrote:
For Every lib its a design descision if containers should be value- or
reference-types. In C++ STL they are value-types (i.e. the
copy-constructor does a real copy), while in tango and phob
so Wrote:
> // define here
> class A {
> ...
> }
>
> // and export somewhere
> export(A);
> export(A.method);
> ...
> export(that);
> export(whatever);
> ...
>
> You see how stupid is this? How ugly it can get? For actually zero gain?
How is this different from using dynamic libraries? Surely y
How is this different from using dynamic libraries?
For dynamic libraries it is different, everything lies at the definition,
there is nothing annoying there.
---
export function() {
...
}
---
That is it! All you need is here.
Surely you don't think plug-ins are a zero gain?
I guess
Simon Buerger Wrote:
> vector!int row = [1,2,3];
> auto vec = Vector!(Vector!int)(5, row);
>
> then vec should be 5 rows, and not 5 times the same row.
Why? You put row in there and said there was 5 of them.
vec[] = row.dup;
I believe that would be the correct syntax if you wanted to store 5 d
Jesse Phillips Wrote:
> Ddev Wrote:
>
> > hi community,
> > How convince my teacher to go in D ?
> > After talk with my teacher, i do not think D is good because after 10 years
> > is not become the big one. she is very skeptical about D. If i could
> > convince my teacher it will be great mayb
In our school Microsoft donates good developer tools (C#, ASP, Web
framework, Ajax, SQL server, Visual Studio) and provides operating
system (Xp or 7). Also quest lectures from Microsoft or partners, but
only about Microsoft technology stack. Is more a vocational college. We
study tools at
Doesn't this work??
import std.file;
import std.script;
Script s = new Script(cast(ubyte[]) read("script1.d"));
s.compile();
s.execute();
What is this supposed to mean?
--
Using Opera's revolutionary email client: http://www.opera.com/mail/
== Quote from so (s...@so.do)'s article
> Hello!
> In D, it is much harder to say something is impossible to implement
> comparing to other languages.
> If you are coming from C/C++ land, you should know that if you want to
> script your program,
> you are going to fall back to another language, po
On 12/9/10 12:25 PM, Simen kjaeraas wrote:
so wrote:
Hello!
In D, it is much harder to say something is impossible to implement
comparing to other languages.
If you are coming from C/C++ land, you should know that if you want to
script your program,
you are going to fall back to another langu
On 09.12.2010 23:39, Jesse Phillips wrote:
Simon Buerger Wrote:
vector!int row = [1,2,3];
auto vec = Vector!(Vector!int)(5, row);
then vec should be 5 rows, and not 5 times the same row.
Why? You put row in there and said there was 5 of them.
vec[] = row.dup;
I believe that would be the cor
so Wrote:
> > In our school Microsoft donates good developer tools (C#, ASP, Web
> > framework, Ajax, SQL server, Visual Studio) and provides operating
> > system (Xp or 7). Also quest lectures from Microsoft or partners, but
> > only about Microsoft technology stack. Is more a vocational co
A system() call should work as well. A larger problem is dynamically
executing functions that have just been compiled.
For that to work, host needs a language environment installed.
Or maybe you mean distributing compiler with the project?
--
Using Opera's revolutionary email client: http://ww
On Fri, 10 Dec 2010 01:10:02 +0200, Jean Crystof wrote:
so Wrote:
> In our school Microsoft donates good developer tools (C#, ASP, Web
> framework, Ajax, SQL server, Visual Studio) and provides operating
> system (Xp or 7). Also quest lectures from Microsoft or partners, but
> only about Micr
so Wrote:
> > How is this different from using dynamic libraries?
> For dynamic libraries it is different, everything lies at the definition,
> there is nothing annoying there.
> ---
> export function() {
> ...
> }
> ---
Ok, but then you also have
external function();
In the DLL, I thin
== Quote from so (s...@so.do)'s article
> > Doesn't this work??
> >
> > import std.file;
> > import std.script;
> >
> > Script s = new Script(cast(ubyte[]) read("script1.d"));
> > s.compile();
> > s.execute();
> What is this supposed to mean?
This should be a bit more clear (untested code).
--scr
%u schrieb:
== Quote from so (s...@so.do)'s article
Doesn't this work??
import std.file;
import std.script;
Script s = new Script(cast(ubyte[]) read("script1.d"));
s.compile();
s.execute();
What is this supposed to mean?
This should be a bit more clear (untested code).
--scrip1.d
import st
This should be a bit more clear (untested code).
--scrip1.d
import std.stdio;
writefln(i);
--main.d
import std.file;
import std.script;
void main(){
Script s = new Script(cast(ubyte[]) read("script1.d"));
assert(!s.validate);
int i = 1;
assert(s.validate);
s.compile();
s.execut
== Quote from Daniel Gibson (metalcae...@gmail.com)'s article
> %u schrieb:
> > == Quote from so (s...@so.do)'s article
> >>> Doesn't this work??
> >>>
> >>> import std.file;
> >>> import std.script;
> >>>
> >>> Script s = new Script(cast(ubyte[]) read("script1.d"));
> >>> s.compile();
> >>> s.exec
== Quote from so (s...@so.do)'s article
> > This should be a bit more clear (untested code).
> >
> > --scrip1.d
> > import std.stdio;
> > writefln(i);
> >
> >
> > --main.d
> > import std.file;
> > import std.script;
> >
> > void main(){
> > Script s = new Script(cast(ubyte[]) read("script1.d
%u schrieb:
== Quote from Daniel Gibson (metalcae...@gmail.com)'s article
%u schrieb:
== Quote from so (s...@so.do)'s article
Doesn't this work??
import std.file;
import std.script;
Script s = new Script(cast(ubyte[]) read("script1.d"));
s.compile();
s.execute();
What is this supposed to me
== Quote from Daniel Gibson (metalcae...@gmail.com)'s article
> I guess something like that is possible.
> I'd prefer something like
> s.call("main", i);
> and also
> s.call("foo", 42, x);
> though - so you can define multiple functions in a script and call them.
Of course, I was thinking that if
Daniel Gibson wrote:
> Or maybe, with more magic and support within the D compiler
> s.main(i);
> s.foo(42,x);
We can do that today - write an opDispatch that forwards
to an associative array.
It's actually pretty trivial.
Adam Ruppe schrieb:
Daniel Gibson wrote:
Or maybe, with more magic and support within the D compiler
s.main(i);
s.foo(42,x);
We can do that today - write an opDispatch that forwards
to an associative array.
It's actually pretty trivial.
Cool.
I should get familiar with D2 one day ;-)
I guess something like that is possible.
I'd prefer something like
s.call("main", i);
and also
s.call("foo", 42, x);
though - so you can define multiple functions in a script and call them.
Or maybe, with more magic and support within the D compiler
s.main(i);
s.foo(42,x);
But that means that th
so schrieb:
I guess something like that is possible.
I'd prefer something like
s.call("main", i);
and also
s.call("foo", 42, x);
though - so you can define multiple functions in a script and call them.
Or maybe, with more magic and support within the D compiler
s.main(i);
s.foo(42,x);
But that
I think for a proper general purpose scripting solution (like one would
expect in std.script) both ways are needed.
Oh you are right, supporting one side is a dead end.
class ScriptBinary {
void run() {..}
void call(...) {...}
void opDispatch(...) {... call(); } // As A
Jonathan M. Davis has diligently worked on his std.datetime proposal,
and it has been through a few review cycles in this newsgroup.
It's time to vote. Please vote for or against inclusion of datetime into
Phobos, along with your reasons.
Thank you,
Andrei
On 09.12.2010 17:27, Ddev wrote:
hi community,
How convince my teacher to go in D ?
After talk with my teacher, i do not think D is good because after 10 years is
not become the big one. she is very skeptical about D. If i could convince my
teacher it will be great maybe i will teach to his
stu
On Thursday 09 December 2010 16:26:13 Andrei Alexandrescu wrote:
> Jonathan M. Davis has diligently worked on his std.datetime proposal,
> and it has been through a few review cycles in this newsgroup.
>
> It's time to vote. Please vote for or against inclusion of datetime into
> Phobos, along wit
+1 for inclusion, including the unittests just the way they are.
Why? Because I've been waiting for a decent datetime module for a while and
this looks like one. There's no good reason not to include the unittests.
Yes, there is an abundance of them. But there's _huge_ potential for small,
off-by-
On Thursday 09 December 2010 18:53:24 Seth Hoenig wrote:
> +1 for inclusion, including the unittests just the way they are.
:)
> Why? Because I've been waiting for a decent datetime module for a while and
> this looks like one. There's no good reason not to include the unittests.
> Yes, there is
On Thu, 09 Dec 2010 18:26:13 -0600, Andrei Alexandrescu
wrote:
Jonathan M. Davis has diligently worked on his std.datetime proposal,
and it has been through a few review cycles in this newsgroup.
It's time to vote. Please vote for or against inclusion of datetime into
Phobos, along with
On 12/9/10 6:40 PM, Jonathan M Davis wrote:
On Thursday 09 December 2010 16:26:13 Andrei Alexandrescu wrote:
Jonathan M. Davis has diligently worked on his std.datetime proposal,
and it has been through a few review cycles in this newsgroup.
It's time to vote. Please vote for or against inclusi
On Thursday 09 December 2010 19:04:05 Andrei Alexandrescu wrote:
> On 12/9/10 6:40 PM, Jonathan M Davis wrote:
> > On Thursday 09 December 2010 16:26:13 Andrei Alexandrescu wrote:
> >> Jonathan M. Davis has diligently worked on his std.datetime proposal,
> >> and it has been through a few review cy
The D website is 404'ing for the library page:
http://d-programming-language.org/phobos/phobos.html
And I've had an idea to make the documentation website a little easier to
navigate. Here's what the docs look like with their old design:
http://imgur.com/8Vdrj.jpg
Now, that's quite a mess to l
Andrei Alexandrescu Wrote:
> Jonathan M. Davis has diligently worked on his std.datetime proposal,
> and it has been through a few review cycles in this newsgroup.
>
> It's time to vote. Please vote for or against inclusion of datetime into
> Phobos, along with your reasons.
>
>
> Thank you,
I vote yes.
Why? Because Phobos has needed a solid module for working with dates and
time for a long time, and neither std.date or std.gregorian filled that
need -- std.date is buggy beyond repair, and std.gregorian's API doesn't
make my normal tasks easy. std.datetime's API is fairly intuitive
"Andrej Mitrovic" wrote in message
news:ids8s6$21g...@digitalmars.com...
>
> And I've had an idea to make the documentation website a little easier to
> navigate. Here's what the docs look like with their old design:
>
> http://imgur.com/8Vdrj.jpg
>
> Now, that's quite a mess to look at. The tex
Bernard Helyer Wrote:
> I vote yes.
>
> Why? Because Phobos has needed a solid module for working with dates and
> time for a long time, and neither std.date or std.gregorian filled that
> need -- std.date is buggy beyond repair, and std.gregorian's API doesn't
> make my normal tasks easy. std
Add this to the section of the website:
#quickindex b:first-child {
display: block;
}
#quickindex a {
display: inline-block;
min-width: 160px;
border: solid 1px #cc;
margin-top: 4px;
On 12/9/10 8:11 PM, Jesse Phillips wrote:
Andrei Alexandrescu Wrote:
Jonathan M. Davis has diligently worked on his std.datetime proposal,
and it has been through a few review cycles in this newsgroup.
It's time to vote. Please vote for or against inclusion of datetime into
Phobos, along with
On 12/9/10 8:04 PM, Andrej Mitrovic wrote:
The D website is 404'ing for the library page:
http://d-programming-language.org/phobos/phobos.html
And I've had an idea to make the documentation website a little easier to
navigate. Here's what the docs look like with their old design:
http://imgur
On Thursday 09 December 2010 20:13:49 Bernard Helyer wrote:
> I vote yes.
>
> Why? Because Phobos has needed a solid module for working with dates and
> time for a long time, and neither std.date or std.gregorian filled that
> need -- std.date is buggy beyond repair, and std.gregorian's API doesn'
I don't usually see a library with that many unittests. It looks
pretty big, and if all these unittests pass that's great!
I like this little convenient function:
assert(DateTime.fromSimpleString("1998-Dec-25 02:15:00") ==
DateTime(Date(1998, 12, 25), TimeOfDay(2, 15, 0)));
If my vote counts, I v
On Thursday 09 December 2010 20:04:22 Andrej Mitrovic wrote:
> The D website is 404'ing for the library page:
>
> http://d-programming-language.org/phobos/phobos.html
>
> And I've had an idea to make the documentation website a little easier to
> navigate. Here's what the docs look like with thei
On 12/10/10, Jonathan M Davis wrote:
> What you show seems reasonable (aside from the fact that most of what you
> list
> as functions are types, but I assume that that's because it's a mock up),
Haha, yeah I made one table and then got lazy and copy-pasted the rest. Guilty.
> would be a collaps
On Thursday 09 December 2010 21:03:53 Andrej Mitrovic wrote:
> On 12/10/10, Jonathan M Davis wrote:
> > What you show seems reasonable (aside from the fact that most of what you
> > list
> > as functions are types, but I assume that that's because it's a mock up),
>
> Haha, yeah I made one table
Why does std.unittests.getExcMsg use Exc? assertExThrown,
assertExNotThrown and std.exception.enforceEx use Ex.
On Thursday 09 December 2010 21:27:14 duckett wrote:
> Why does std.unittests.getExcMsg use Exc? assertExThrown,
> assertExNotThrown and std.exception.enforceEx use Ex.
That would be an error on my part. It should be getExMsg(). They were all Exc
before, and I changed them when it was pointed out
On Thursday 09 December 2010 19:04:54 Yao G. wrote:
> On Thu, 09 Dec 2010 18:26:13 -0600, Andrei Alexandrescu
>
> wrote:
> > Jonathan M. Davis has diligently worked on his std.datetime proposal,
> > and it has been through a few review cycles in this newsgroup.
> >
> > It's time to vote. Please
Jonathan M Davis Wrote:
>
> I would point out though, that as it stands, including std.datetime would
> require including my time module as core.time (which has been discussed to
> some
> extent with Sean, since it was pretty much his idea in the first place that
> some
> level of integration
On Thursday 09 December 2010 22:39:39 Sean Kelly wrote:
> Jonathan M Davis Wrote:
> > I would point out though, that as it stands, including std.datetime would
> > require including my time module as core.time (which has been discussed
> > to some extent with Sean, since it was pretty much his idea
Andrei Alexandrescu wrote:
> Jonathan M. Davis has diligently worked on his std.datetime proposal,
> and it has been through a few review cycles in this newsgroup.
>
> It's time to vote. Please vote for or against inclusion of datetime into
> Phobos, along with your reasons.
>
>
> Thank you,
>
76 matches
Mail list logo