10.04.2013 2:20, Walter Bright пишет:
On 4/9/2013 2:41 PM, Denis Shelomovskij wrote:
But I have to say I see the only one reason for it here. It is Wow,
that nasty
person who used to insult everybody just did something useful. Lets
say Thanks
hoping he will like it and begin being useful
08.04.2013 23:33, Nick Sabalausky пишет:
Regarding the blocker Unexpected OPTLINK Termination at EIP=00428DA3:
http://d.puremagic.com/issues/show_bug.cgi?id=6144
I'm hitting on that issue now too, and it's a royal PITA since I can't
even get stack traces, there's no obvious way to de-trigger
to help
out, or is everything needed already known and merely awaiting a fix
from anyone who knows much more about optlink than I do?
Denis Shelomovskij has a pull request for optlink on it:
https://github.com/DigitalMars/optlink/pull/8
You can give that a try. My main difficulty with it is it's
08.04.2013 23:33, Nick Sabalausky пишет:
Regarding the blocker Unexpected OPTLINK Termination at EIP=00428DA3:
http://d.puremagic.com/issues/show_bug.cgi?id=6144
I'm hitting on that issue now too, and it's a royal PITA since I can't
even get stack traces, there's no obvious way to de-trigger
09.04.2013 17:52, Maksim Zholudev пишет:
Hello!
It looks like SciD [1] is obsolete and work on its reincarnation [2]
have not been started yet.
Here is yet another linear algebra library for D:
https://github.com/MaksimZh/linalg/wiki
It was inspired by proposal [2] but has some differences:
10.04.2013 0:44, Walter Bright пишет:
On 4/9/2013 4:10 AM, Denis Shelomovskij wrote:
If you are not interesting in developing OPTLINK but want to live
without Issue
6144, email me (on this address or without .reg suffix) and I'll
send you
fixed OPTLINK.
Denis, I have neglected to thank you
02.04.2013 18:37, Nick Sabalausky пишет:
On Tue, 02 Apr 2013 11:20:26 +0400
Denis Shelomovskij verylonglogin@gmail.com wrote:
P.S.
Also, Nick, if you have time, could you show me, how do you suggest
to use D reliably in non toy Windows projects as you never said
anything against
03.04.2013 21:35, Andrei Alexandrescu пишет:
On 4/2/13 4:45 AM, Denis Shelomovskij wrote:
I'm worrying about newbies who can start using the language as there is
no warning on the main site about some shortcomings everybody have to be
informed about. Damn, `std.stdio.File` is positioned
04.04.2013 0:54, Andrei Alexandrescu пишет:
On 4/3/13 3:40 PM, Denis Shelomovskij wrote:
This is Issue 7648 - std.stdio expects file names to be encoded in
CP_ACP on Windows instead of UTF-8 [1]. I also opened a pull with
cautionary note [2].
[1] http://d.puremagic.com/issues/show_bug.cgi?id
01.04.2013 20:19, Nick Sabalausky пишет:
On Mon, 01 Apr 2013 11:50:22 -0400
Andrei Alexandrescu seewebsiteforem...@erdani.org wrote:
On 4/1/13 11:21 AM, Denis Shelomovskij wrote:
01.04.2013 0:02, monarch_dodra пишет:
This is a two part post.
The reason I'm worried about this bug
01.04.2013 19:50, Andrei Alexandrescu пишет:
On 4/1/13 11:21 AM, Denis Shelomovskij wrote:
01.04.2013 0:02, monarch_dodra пишет:
Bitch please!
[snip]
Denis, the above (as well as most of the message that follows) is
entirely inappropriate.
Can't agree. I think the complaining is reasonable
01.04.2013 15:08, Lars T. Kyllingstad пишет:
It's time to clean up this mess.
http://wiki.dlang.org/DIP33
Personally I like current Error = die approach because of
opportunities it gives for `nothrow` in release build.
About `FormatError`: I'd like make formatting an error but... There is
01.04.2013 0:02, monarch_dodra пишет:
This is a two part post.
The reason I'm worried about this bug is that the only condition that
seems to trigger it passing an object that has a destructor. I find this
is very bothersome, because it can happen with perfectly safe code, and
its observable
I get this message instead of some sites content:
Access to site You requested denied by Federal Law
E.g. see this IT blog by Felipe Contreras:
http://felipec.wordpress.com/
From Google cache:
23.03.2013 16:59, Michael пишет:
Тема есть на Хабрахабре. Дело в Роскомнадзоре или как-то. Блокируют айпи
адреса кусками. Прокси в помощь.
Сам сайт открывается отлично.
Каким макаром Роскомнадзор обидел нерусский блоггер? Причём блога нет в
реестре http://zapret-info.gov.ru/
--
Денис В.
22.03.2013 1:13, bearophile пишет:
And in foreach:
foreach ((c, ref e); loa)
D already have undocumented[1] front tuple expansion in foreach over range:
---
import std.algorithm;
import std.stdio;
void main() {
enum s = this is an example for huffman encodingd;
foreach (c, n;
19.03.2013 2:34, Denis Shelomovskij пишет:
1. DM C++ compiler source is required to build Optlink.
2. C++ compiler is not open-source.
3. You can not build Optlink.
4. Walter isn't going to change anything
It works now! Thanks be to God!
Optlink Issue 7139 now looks like this (with Optlink
19.03.2013 22:31, Walter Bright пишет:
On 3/19/2013 7:00 AM, Denis Shelomovskij wrote:
LINK.def(0) : Error 2: File Not Found LINK.def
It's there now.
Dear Walter Bright,
could you please test Optlink to be buildable not only with your machine
configuration?
If dummy (empty) file isn't
20.03.2013 13:34, Andrej Mitrovic пишет:
On 3/20/13, Denis Shelomovskij verylonglogin@gmail.com wrote:
Dear Walter Bright,
could you please test Optlink to be buildable not only with your machine
configuration?
This[1] should have taken care of that. Although it still needed DMC
source
20.03.2013 21:12, Denis Shelomovskij пишет:
20.03.2013 13:34, Andrej Mitrovic пишет:
On 3/20/13, Denis Shelomovskij verylonglogin@gmail.com wrote:
Dear Walter Bright,
could you please test Optlink to be buildable not only with your machine
configuration?
This[1] should have taken care
20.03.2013 12:42, Walter Bright пишет:
On 3/20/2013 12:40 AM, Denis Shelomovskij wrote:
19.03.2013 22:31, Walter Bright пишет:
On 3/19/2013 7:00 AM, Denis Shelomovskij wrote:
LINK.def(0) : Error 2: File Not Found LINK.def
It's there now.
Dear Walter Bright,
could you please test Optlink
20.03.2013 21:12, Denis Shelomovskij пишет:
20.03.2013 13:34, Andrej Mitrovic пишет:
On 3/20/13, Denis Shelomovskij verylonglogin@gmail.com wrote:
Dear Walter Bright,
could you please test Optlink to be buildable not only with your machine
configuration?
This[1] should have taken care
19.03.2013 17:40, Denis Shelomovskij пишет:
So, everything works now!
No, it's a joke. )))
Optlink is surely propected from being compiled by dmc's ICE:
---
dmc -c newlibc -NTPASS1_TEXT -I..\common -r -N_ -o -o.\OBJNT\newlibc.obj
Internal error: cgcod.c 750
---
The ICE is disappeared
Sorry, accidentally Ctrl+Enter sent the main post malformed. The last
link is a proof of statement #4.
--
Денис В. Шеломовский
Denis V. Shelomovskij
07.03.2013 14:28, Jacob Carlborg пишет:
On 2013-03-07 11:12, Moritz Maxeiner wrote:
Sorry if this has been answered before/is common knowledge, but is
porting functions at a time to C wanted for optlink in general, or only
for finding segfaults? (e.g. are pull-requests for that welcome)
Yes,
17.02.2013 10:28, Ary Borenszweig пишет:
Hello everyone :-)
...
(you might remember me: I'm the author of Descent)
A Hero is here! Let me kowtow to you, a Descent Creator!
... Let's save this world's energy.
It's pleasantly to see this point of view at efficiency.
But... do we really
04.02.2013 20:54, bearophile пишет:
Steven Schveighoffer:
Wow, this is something I didn't know was possible. Very useful!
It's it cute when you use a language almost daily for few years,
and then you see a new way to allocate built-in arrays? :-)
Just a small obvious note that this trick
06.02.2013 19:40, bioinfornatics пишет:
On Wednesday, 6 February 2013 at 13:20:58 UTC, bioinfornatics wrote:
I agree the spec format is really bad but it is heavily used in biology
so i would like a fast parser to develop some D application instead to
use C++.
Yes, lets also create 1 GiB XML
12.12.2012 5:36, Ellery Newcomer пишет:
Edit dmd with OllyDbg
cf
http://forum.dlang.org/thread/k1954u$lsq$1...@digitalmars.com#post-k1lkbv:2421n7:241:40digitalmars.com
for the calls you're looking for
Thanks, it helped. I managed to reduce (in 1 day, 1 hour, 44 minutes,
43 secs, and 125
11.12.2012 3:01, Walter Bright пишет:
On 12/10/2012 8:28 AM, Denis Shelomovskij wrote:
This was the result of DustMite-ing my sources:
http://d.puremagic.com/issues/show_bug.cgi?id=6296
Currently the bug state is a bit confusing. It is a regression (but I
didn't
mark it that way, only write
11.12.2012 12:25, Walter Bright пишет:
On 12/11/2012 12:08 AM, Denis Shelomovskij wrote:
How can I suppress DMD abnormal program termination pop-up when
launched with
dmd ... 21?
DustMite's code:
https://github.com/CyberShadow/DustMite/wiki/Suppressing-DMD-crashes
fails in this call
10.12.2012 4:29, Walter Bright пишет:
Is now pointing to the new media wiki setup.
Great news! Wiki matters!
--
Денис В. Шеломовский
Denis V. Shelomovskij
10.12.2012 6:10, Ellery Newcomer пишет:
Is anyone else noticing e.g. std.datetime taking upwards of 30 seconds
to render the blob of links at the top? It's freakin freezing my entire
browser.
Personally I disable JavaScript for dlang.org a long time ago and happy
now. At least because the
10.12.2012 4:33, Walter Bright пишет:
It's time to do a release; to that end we should be working on tidying
up the regressions.
This will be the last official D1 release.
Sorry, but I have never understand how can anybody call D stable and why
are you doing all this support.
Let me
06.12.2012 22:40, Alex Rønne Petersen пишет:
Hi,
I decided to take a stab at reviving the new std.process written by Lars
T. Kyllingstad and Steven Schveighoffer.
The result is here:
https://github.com/alexrp/phobos/tree/new-std-process-update
I decided to extract the work into new commits
10.12.2012 15:11, Walter Bright пишет:
On 12/10/2012 12:56 AM, Denis Shelomovskij wrote:
A long time ago I wrote one (not open source) application in D1+Tango.
I'm still supporting it. The last D1 compiler I can use is 1.066 as
then a fatal
regression was introduced and templates became
10.12.2012 20:58, Alex Rønne Petersen пишет:
On 10-12-2012 10:04, Denis Shelomovskij wrote:
06.12.2012 22:40, Alex Rønne Petersen пишет:
Hi,
I decided to take a stab at reviving the new std.process written by Lars
T. Kyllingstad and Steven Schveighoffer.
The result is here:
https
11.12.2012 3:01, Walter Bright пишет:
On 12/10/2012 8:28 AM, Denis Shelomovskij wrote:
This was the result of DustMite-ing my sources:
http://d.puremagic.com/issues/show_bug.cgi?id=6296
Currently the bug state is a bit confusing. It is a regression (but I
didn't
mark it that way, only write
29.11.2012 15:59, John Colvin пишет:
On Tuesday, 25 October 2011 at 10:53:16 UTC, Denis Shelomovskij wrote:
Sources will be at GitHub as soon as I am asked for it.
I'm asking :)
Sorry for the delay.
You are welcome! And it is already there. You need
unstd.multidimensionalarray from
26.11.2012 17:13, Alex Rønne Petersen пишет:
See: https://github.com/kyllingstad/phobos/tree/new-std-process
Yes, I know about it. That's one of the reasons my code doesn't contain
any stream redirection as I hope we may join work.
--
Денис В. Шеломовский
Denis V. Shelomovskij
26.11.2012 21:11, Manu пишет:
Ummm, immediate problem. That interferes with my argument list, inhibits
consecutive parameters. You'll notice my template had 'A' on the end...
it would make for a horrible API if the second arg were to come first in
this case... is that the only option?
Yes it
26.11.2012 20:36, Manu пишет:
template isThing( alias symbol, A )
{
enum isThing = false;
}
This template works in most contexts:
int x;
struct S {}
pragma(msg, isThing!x);
pragma(msg, isThing!S);
But this fails:
pragma(msg, isThing!int);
Why does it fail on a basic type (int), but not a
I'd like to see in D something like .Net's `System.Diagnostics.Process`
and friends. Reasons:
* probably, lots of D users was previously on C#
* .Net's API looks really good and user friendly
Consider these processes manipulation modules:
14.11.2012 19:27, Denis Shelomovskij пишет:
P.S.
Looks like Github's owners doesn't care at all about current users, only
abut needless features and GUI glance to involve new ones because
otherwise I have no explanation of this sad situation.
OK, probably Github isn't that bad as it helps some
16.11.2012 17:18, monarch_dodra пишет:
As you can see, when operating on UTF strings, the (expected) result of
countUntil is not the same as that of indexOf.
countUntil is currently bugged, in the sense that it will return the
index in the string (as opposed to the count of popFront's).
Current Github diff is very primitive and is almost like unified diff
format which isn't for humans at all. This complicates and slows down
code revision simultaneously reducing its quality.
Something must be done about it to stop wasting people time without any
real reason.
Possible
14.11.2012 22:16, Andrej Mitrovic пишет:
On 11/14/12, David Nadlinger s...@klickverbot.at wrote:
On Wednesday, 14 November 2012 at 15:27:36 UTC, Denis
Shelomovskij wrote:
* Instruct reviewers to install SmartGit, KDiff3 or something
with human readable diff and fetch from repos of pull request
08.11.2012 15:57, Regan Heath пишет:
On Wed, 07 Nov 2012 21:20:59 -, Denis Shelomovskij
verylonglogin@gmail.com wrote:
IMHO we have a huge design problem with `object.destroy`.
Please, carefully read Now the worst thing with `object.destroy`
section of the pull 344 about it:
https
IMHO we have a huge design problem with `object.destroy`.
Please, carefully read Now the worst thing with `object.destroy`
section of the pull 344 about it:
https://github.com/D-Programming-Language/druntime/pull/344
--
Денис В. Шеломовский
Denis V. Shelomovskij
08.11.2012 1:20, Denis Shelomovskij пишет:
IMHO we have a huge design problem with `object.destroy`.
Please, carefully read Now the worst thing with `object.destroy`
section of the pull 344 about it:
https://github.com/D-Programming-Language/druntime/pull/344
Just my own post:
The first time
28.10.2012 23:52, Artie пишет:
I have a DLL with a C++ class and a factory function that creates it.
The aim is to load the DLL, get an instance of the class and use it.
The interface of the DLL is as follows:
-
class IBank
{
public:
virtual const char* APIENTRY
29.10.2012 16:40, Jakob Ovrum пишет:
On Monday, 29 October 2012 at 12:11:11 UTC, Denis Shelomovskij wrote:
const char* getLastError();
const char* getDetail(char* detail);
These return values should be const(char)* and the method shouldn't be
const.
Sorry, my bad.
--
Денис В
21.10.2012 1:52, David Nadlinger пишет:
On Saturday, 20 October 2012 at 18:56:01 UTC, Alex Rønne Petersen wrote:
Oh, and could somebody please post a link to the latest version of the
new std.process draft? I will probably add cross-platform support for
constraining execution time and resource
18.10.2012 12:58, foobar пишет:
IMO, this is a redundant feature that complicates the language for no
benefit and should be deprecated.
strings already have an escape sequence for specifying code-points \u
and for ubyte arrays you can simply use:
immutable(ubyte)[] data2 = [0xA1 0xB2 0xC3 0xD4];
10.10.2012 14:50, Jakob Ovrum пишет:
On Tuesday, 9 October 2012 at 17:45:07 UTC, Denis Shelomovskij wrote:
In your `bugdist.rar` bug.dll is fully in this {c|t}rap:
http://d.puremagic.com/issues/show_bug.cgi?id=8130
And I have already mentioned it, but you answered I am using a .def
file
09.10.2012 0:51, Rainer Schuetze пишет:
On 10/8/2012 8:13 PM, Denis Shelomovskij wrote:
08.10.2012 21:47, Rainer Schuetze пишет:
Implicite TLS for dynamically loaded DLLs is
not supported by XP or Sever 2003, so druntime contains a fix to
simulate it. (The workaround has the drawback
09.10.2012 12:29, Jakob Ovrum пишет:
On Tuesday, 9 October 2012 at 08:41:46 UTC, Jakob Ovrum wrote:
On Monday, 8 October 2012 at 19:19:58 UTC, Denis Shelomovskij wrote:
As I said, give us a runnable failing test suite.
Here's a reduced plugin with VisualD project files and all dependencies
08.10.2012 15:26, Jakob Ovrum пишет:
I have a bug in one of my programs that I find particularly hard to reduce.
I am writing a Windows DLL plugin for the IRC chat client HexChat (aka
XChat). Problem is, all TLS variables, regardless of type, appear to be
initialized to complete rubbish values.
08.10.2012 21:47, Rainer Schuetze пишет:
Implicite TLS for dynamically loaded DLLs is
not supported by XP or Sever 2003, so druntime contains a fix to
simulate it. (The workaround has the drawback that the DLL cannot be
unloaded anymore.)
I'm just speculating, maybe something goes wrong with
08.10.2012 22:35, Jakob Ovrum пишет:
On Monday, 8 October 2012 at 18:05:31 UTC, Rainer Schuetze wrote:
What OS are you running? Implicite TLS for dynamically loaded DLLs is
not supported by XP or Sever 2003, so druntime contains a fix to
simulate it. (The workaround has the drawback that the
08.10.2012 23:06, Jakob Ovrum пишет:
On Monday, 8 October 2012 at 19:19:58 UTC, Denis Shelomovskij wrote:
As I said, give us a runnable failing test suite.
I am working on it, but as I said, it's proving very difficult to
replicate outside the XChat environment. I'll try to produce a reduced
06.10.2012 23:50, Era Scarecrow пишет:
On Wednesday, 26 September 2012 at 19:11:37 UTC, bearophile wrote:
I think it's a good idea to have a well written EnumFlags data
structure in Phobos. In C# this feature is even built-in. So issue
6946 is not closing, unless Andrei or Walter decide it's a
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
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
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 `flagEnum
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:
.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 idea how to fix it:
`AB.init |= AB.a` and
25.09.2012 22:03, bearophile пишет:
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?
See also:
http://d.puremagic.com/issues/show_bug.cgi?id=6946
Bye
18.09.2012 1:56, bearophile пишет:
Denis Shelomovskij:
Just want to mention about existent (and more flexible than this
syntax) library solution.
Search for `Bind` here:
https://bitbucket.org/denis_sh/misc/src/tip/stdd/typetuple.d
Its ddocs show this:
import std.traits;
static assert
20.09.2012 15:35, monarch_dodra пишет:
On Thursday, 20 September 2012 at 09:31:45 UTC, Denis Shelomovskij wrote:
20.09.2012 13:27, Denis Shelomovskij пишет:
Is there any guaranties that `ScopeTemp` will not be destroyed before
`f` call because it isn't used?
---
...
f(ScopeTemp(...).value
20.09.2012 13:27, Denis Shelomovskij пишет:
Is there any guaranties that `ScopeTemp` will not be destroyed before
`f` call because it isn't used?
---
struct ScopeTemp
{
...
// allocates value
this(...) { ... }
@property void* value() { ... }
// destroys value
17.09.2012 17:53, bearophile пишет:
From this long Reddit post:
http://www.reddit.com/r/haskell/comments/zxcks/haskell_vs_f_vs_scala_a_highlevel_language/c68ybn1
I have seen this linked page:
https://github.com/non/kind-projector
Where it introduces a (fragile) Scala syntax like:
Tuple3[Int,
15.09.2012 16:03, Jacob Carlborg пишет:
On 2012-09-14 20:53, alex wrote:
The primary injection routine and how it works is not the problem - I
can successfully insert a MSVC++ Dll without any problems into a D
program. (I've used this https://github.com/jeffora/extemory library btw
- it's for
11.09.2012 22:48, Ali Çehreli пишет:
return to!(ReturnType!(typeof(foo)))(42);
typeof(return)
See http://dlang.org/declaration.html#typeof
Anyway don't use it as a type of the first return. You will get:
---
Error: cannot use typeof(return) inside function foo with inferred
return
24.08.2012 16:16, monarch_dodra пишет:
On Friday, 24 August 2012 at 11:18:55 UTC, Dmitry Olshansky wrote:
On Thursday, 23 August 2012 at 11:33:19 UTC, monarch_dodra wrote:
I've traced the root issue to formattedRead's signature, which is:
uint formattedRead(R, Char, S...)(ref R r,
Who have to close the issue? Is it issue reporter, pull sender or pull
committer? More and more issues are now fixed but not closed.
I have asked it here
https://github.com/D-Programming-Language/druntime/pull/286#issuecomment-7650357
and here
10.08.2012 19:26, David Nadlinger пишет:
Just use the compiler tuple inside an array literal, like this:
[integers]. It will auto-expand, just when passing it to a method.
And if it's impossible/undesirable to create an array, you can do this:
---
foreach(i, t; your_tuple)
if(i == idx)
09.08.2012 12:36, Roberto Delfiore пишет:
Thank you for your analysis, it's a very strange behavior. I
still can not figure out if there is something I don't know or if
it's is simply a bug.
Good answer: Shouldn't destroy() work on an interface?
Filled an issue:
The question about module names.
Is it supposed that e.g. std.hash.crc module will contain many CRC
implementations, not only one CRC-32? If not, it will be better to call
it std.hash.crc32 because other CRC variants are also in use. Or even
std.hash.crc.crc32.
Same with std.hash.sha and
05.08.2012 7:33, F i L пишет:
...I'm guessing because of boxing?...
There is no boxing in D language itself. One should use library
solutions for such functionality.
--
Денис В. Шеломовский
Denis V. Shelomovskij
01.08.2012 1:20, Jonathan M Davis пишет:
On Tuesday, July 31, 2012 23:10:37 Philippe Sigaud wrote:
Having std.lexer in Phobos would be quite good. With a pre-compiled lexer
for D.
I'm actually quite far along with one now - one which is specifically written
and optimized for lexing D. I'll
That's why current `std.algorithm` string lambdas looks good and by
design. I'm happy pull 707 is reverted.
--
Денис В. Шеломовский
Denis V. Shelomovskij
07.07.2012 17:11, Kevin Cox пишет:
On Jul 7, 2012 8:45 AM, Gary Willoughby d...@kalekold.net
mailto:d...@kalekold.net wrote:
What was the reason for not including 'std.net.curl' in the Windows
phobos library?
IIRC it is licencing issues, they can't include curl in the distribution
without
06.07.2012 17:43, akaz пишет:
Hi,
Reading about the C++11, I stumbled upon this:
http://www2.research.att.com/~bs/C++0xFAQ.html#gc-abi
Specifically (quote):
int* p = new int;
p+=10;
// ... collector may run here ...
p-=10;
*p = 10;// can we be sure that
05.07.2012 9:54, lijie пишет:
Hi,
My test code:
import std.stdio;
void main() {
void delegate()[] functions;
foreach (i; 0 .. 5) {
functions ~= {
printf(%d\n, i);
};
}
foreach (func; functions) {
There are more and more projects requiring parsing D code (IDE plugins,
DCT and dfmt now).
We definitely need a _standard_ fast D parser (suitable as tokenizer).
We already have a good one at least in Visual D. Maybe dmd's parser is
faster. If so, it can be (easily?) rewritten in D. We also
05.07.2012 16:30, Roman D. Boiko пишет:
Forgot to add DDMD, which also has been forked and redesigned recently
by someone (thus two more different compiler frontends).
But overall I doubt that any project could become standard very soon.
Why? Even were they all almost equal we can select any
05.07.2012 20:14, Jacob Carlborg пишет:
On 2012-07-05 18:04, Roman D. Boiko wrote:
Well, we did something like that for DCT... but I doubt that it would
fit general needs.
Why wouldn't it.
If we had, why haven't they been analyzed, classified, discussed, etc.?
Or have they?
I don't know.
05.07.2012 20:28, Jonathan M Davis пишет:
It's all too common for someone to suggest that we should
do something or implement something without ever attempting to do it
themselves, and in general, stuff around here gets done because someone really
wants it done, takes the time to do it, and sees
05.07.2012 8:37, dnewbie пишет:
I'm writing a Winamp plugin in D. Winamp loads my plugin and everything
is fine until I close Winamp. At this point, Winamp calls the Quit()
function of my plugin and *after* that, Winamp crashes.
Here is the code.
D source
http://dpaste.dzfl.pl/e2b2f886
05.07.2012 18:13, dnewbie пишет:
On Thursday, 5 July 2012 at 08:55:33 UTC, Denis Shelomovskij wrote:
What's your OS? If Windows XP, than D DLL can't be unloaded because of
non-perfect TLS fixing technique (I created a perfect one but I
never managed to prepare such projects for release so
Since issue 8185 has been closed, I'm still very confused. I just
understood that endless discussion doesn't result in anything.
See example from http://d.puremagic.com/issues/show_bug.cgi?id=8185#c40
---
int f(size_t p) pure
{
return *cast(int*) p;
}
void g(size_t p, ref size_t) pure
{
01.07.2012 0:06, Vidar Wahlberg пишет:
On Saturday, 30 June 2012 at 19:35:33 UTC, Denis Shelomovskij wrote:
Thanks for the tip, that is interesting (I'm surprised I didn't come
across this post when searching for this issue earlier). Although it
seems to me that you still end up with matrix[x, y
01.07.2012 16:02, Vidar Wahlberg пишет:
On Sunday, 1 July 2012 at 09:46:52 UTC, Denis Shelomovskij wrote:
I'm curious why do you need such syntax? `matrix[x][y][z]` expression
means that `matrix[x]` is also a valid expression but it shouldn't.
It's not a syntax I need, it's a syntax I desire
30.06.2012 22:21, Vidar Wahlberg пишет:
I know multidimensional arrays has been brought up many times, although
I was not able to find a clear answer to my question. My knowledge of
what's going on behind the curtains is somewhat lacking, please correct
me if my assumptions are incorrect.
16.06.2012 20:11, Walter Bright пишет:
On 6/16/2012 8:26 AM, Guillaume Chatelet wrote:
And then we wonder why software is
notorious for being delivered late and full of bugs, while other
engineers routinely deliver finished bridges, automobiles, electrical
appliances, etc., on time and with
Here
http://dlang.org/interface.html#COM-Interfaces
we have a link to Lionello Lunesu's article
http://lunesu.com/uploads/ModernCOMProgramminginD.pdf
Is it correct that he hasn't managed to convince Microsoft to release
his sources and one of us has to rewrite his library if we want to use it?
Just want to mention again that Issue 7965 is a really nasty wrong-code
bug that is difficult to find unless you know about it.
I face this Issue in almost every my D program with non-trivial
std.algorithm usage and I suppose I'm not alone.
If there is no plans to fix it in near future this
13.06.2012 17:03, Zhenya пишет:
When I wanted to use native opengl binding
...
DMD wrote:opengl32.lib
Error 43: Not a Valid Library File
But why can't dmd link it?
http://dlang.org/faq.html#omf
--
Денис В. Шеломовский
Denis V. Shelomovskij
09.06.2012 19:06, bearophile пишет:
In the paper Segmented Iterators and Hierarchical Algorithms Matthew
H. Austern offers a solution to regain the lost efficiency:
...
http://lafstern.org/matt/segmented.pdf
Wow, didn't know there is an article about this. Looks like we all think
about same
101 - 200 of 335 matches
Mail list logo