09.06.2012 14:43, bearophile пишет:
The introduction of UFCS in D offers new ways to format D code,
especially when your code uses many high order functions.
I have to mention that one shouldn't write range-intensive D code for
now. It's too risky to use high level functions in D because it
08.06.2012 7:31, Andrej Mitrovic написал:
On 6/8/12, Bernard Helyerb.hel...@gmail.com wrote:
Well that doesn't seem to work.
Try this:
version(Win64) {
align(8):
} else {
align(4):
}
This will not work as you expect. Just like
---
version(v1) { class }
else { struct }
S { int i; }
---
06.06.2012 21:23, Tim Krimm написал:
DMD runs, but the programs generated no longer worked.
I think it was the run time and/or phobos library, and I am OK with that.
I just wanted to make sure that DMD was not also creating dependencies
on XP+.
All information here:
Is anyone working on Issue 3702 - Replace __traits and is(typeof())
with a 'magic namespace'?
Why Shin Fujishiro's meta still isn't used? Is he against? Where is he?
Is he OK? I hope he is OK and just have to time for D.
And add links with your own meta implementation to Issue 3702 please.
it's time to make a decision. Original comment:
https://github.com/D-Programming-Language/druntime/pull/212#issuecomment-5827106
So what we will do with Windows 2000? Personally I don't like this pull
request (druntime pull 212). It makes not-very-good-looking druntime
uglier. I'd like voting
04.06.2012 13:46, Dmitry Olshansky написал:
enum keywords = [
abstract,
alias,
align,
//... all of them, except @ ones
__traits
];
A nitpick: constant arrays should be defined as `immutable` instead of
`enum`. `enum` means
04.06.2012 17:58, Mehrdad написал:
(@Andrej Mitrovic, mainly)
So I was using your library :) and this happened:
http://stackoverflow.com/questions/10878586
Any ideas?
Answer posted to stackoverflow.
--
Денис В. Шеломовский
Denis V. Shelomovskij
04.06.2012 21:57, John Chapman написал:
On Monday, 4 June 2012 at 17:52:10 UTC, Mehrdad wrote:
On Monday, 4 June 2012 at 16:37:45 UTC, Kagamin wrote:
On Monday, 4 June 2012 at 13:58:22 UTC, Mehrdad wrote:
(@Andrej Mitrovic, mainly)
So I was using your library :) and this happened:
01.06.2012 21:43, Walter Bright написал:
On 6/1/2012 1:48 AM, Dmitry Olshansky wrote:
Or better - save game and then crash gracefully.
That can result in saving a corrupted game state, which then will not
load, or worse, load and then cause another crash.
I would suggest instead implementing
02.06.2012 9:53, Jonathan M Davis написал:
No. It simply means that all of the letters of an acronym are always the same
case.
Good!
--
Денис В. Шеломовский
Denis V. Shelomovskij
30.05.2012 22:53, Alex Rønne Petersen написал:
We're moving towards using ASCII rather than Ascii as the naming style
for abbreviations.
(The style rule about joining words only concerns itself with whole
words, not abbreviations.)
Does it mean that we loose our first latter rule
According to http://dlang.org/dstyle.html
Names formed by joining multiple words should have each word other than
the first capitalized.
So I thought that this is right:
core.cpuid.fp16c /// Is FP16C supported
core.cpuid.amdMmx /// Are AMD extensions to MMX supported?
But in Phobos we
30.05.2012 22:53, Alex Rønne Petersen написал:
We're moving towards using ASCII rather than Ascii as the naming style
for abbreviations.
(The style rule about joining words only concerns itself with whole
words, not abbreviations.)
Could someone with good English state it in dstyle.html?
--
27.05.2012 23:45, bearophile написал:
In some code I have created a small bug that can be reduced to something
like this, that the D compiler has not caught at compile-time:
enum E1 { A, B }
enum E2 { C, D }
void main() {
E1[2] a;
with (E2)
assert(a[0] == D);
}
Why isn't D able to statically
27.05.2012 15:40, Pieter De Bruyne написал:
This would mean that all that data is in memory at runtime i guess ? ...
And if so is there a way to avoid this...
I frequently use a audiovisual slideshow program called mobjects. It
can compile your slideshow to an executable (often larger thn
27.05.2012 15:40, Pieter De Bruyne написал:
This would mean that all that data is in memory at runtime i guess ? ...
And if so is there a way to avoid this...
It can compile your slideshow to an executable (often larger thn 1GiB)
By the way, dmd takes 14 s with full load of one CPU core to
28.05.2012 0:19, Walter Bright написал:
On 5/27/2012 9:56 AM, Denis Shelomovskij wrote:
By the way, dmd takes 14 s with full load of one CPU core to include
40 MiB file
as a string import on my PC so you will have to wait a lot if you wish to
include ~1 GiB.
This should be a bug report
23.05.2012 0:41, Walter Bright написал:
Secondly, as a matter of principle, we are not going to fix, improve,
refactor, or re-engineer the Windows API, nor any other operating system
API, nor the C Standard Library, no matter how tempting that may be. The
job of the D interface modules is to
23.05.2012 10:21, Jacob Carlborg написал:
On 2012-05-22 23:01, Steven Schveighoffer wrote:
It looks like code that is not called on Windows. Which doesn't make
sense. It would seem that you must initialize a critical section in
order to use it.
I can't find any reference to STI_monitor in
21.05.2012 23:48, Andrew Wiley написал:
On Mon, May 21, 2012 at 10:18 AM, Denis Shelomovskij
verylonglogin@gmail.com mailto:verylonglogin@gmail.com wrote:
21.05.2012 2:01, Andrei Alexandrescu написал:
As you may recall, we have three GSoC 2012 projects for which
21.05.2012 23:56, Nick Sabalausky написал:
Nick Sabalauskyseewebsitetocontac...@semitwist.com wrote in message
news:jpe4ru$13e8$1...@digitalmars.com...
David Nadlingers...@klickverbot.at wrote in message
news:lvpmnrfdyinxvkzus...@forum.dlang.org...
GitHub have just released their Windows GUI
22.05.2012 18:04, Roman D. Boiko написал:
http://d-coding.com/2012/05/22/dct-use-cases.html
Please, please, try to rape dmd to do what you want first because
otherwise you (like every other existing parsers in IDE) will fail with
templates which are used everywhere in D (I mean
Since Win9x isn't supported any more why do we have ASCII WinAPI
functions in druntime's core.sys.windows.windows (and, possibly, other
places)?
Reasons against *A functions:
* using of every such function is unsafe (with really seldom exceptions
like LoadLibraryA(ntdll)) because inability to
22.05.2012 22:52, bearophile написал:
How is the development of the D SIMD ops going? Are those efforts (maybe
with the help of another higher level Phobos lib) going to avoid the
silly problems shown in that article?
So the question is: do we need `aligned(T)(T)` function? It can work
like
LPTSTR issue (it aliases char*) is already filled by Martin Nowak:
Issue 8132 - LPTSTR always aliases to LPSTR
http://d.puremagic.com/issues/show_bug.cgi?id=8132
--
Денис В. Шеломовский
Denis V. Shelomovskij
21.05.2012 2:13, Alex Rønne Petersen написал:
On 20-05-2012 22:13, Jacob Carlborg wrote:
On 2012-05-20 18:25, Alex Rønne Petersen wrote:
Seems like I misunderstood what you were saying. Right, the C runtime on
*Windows* is closed source. But, I don't know why you think that
function is called
21.05.2012 2:01, Andrei Alexandrescu написал:
As you may recall, we have three GSoC 2012 projects for which full-bore
coding starts tomorrow:
1. Extended Unicode Support by Dmitry Olshansky
2. Mono-D by Alex Bothe
Yes, lets accept D failure in writing anything as complicated as IDE and
16.05.2012 8:26, Alex Rønne Petersen написал:
On 16-05-2012 06:18, Katayama Hirofumi MZ wrote:
On Wednesday, 16 May 2012 at 04:12:04 UTC, Alex Rønne Petersen wrote:
I really do not understand why you want to use Shift-JIS. Unicode has
long superseded all these magical encodings used all over
18.05.2012 11:58, Lars T. Kyllingstad написал:
I remember back when we were considering whether to move DMD, Phobos and
druntime from SVN on DSource to Git on GitHub, there were some concerns
about using Git on Windows. People claimed that Git was a very
Linux-centric tool, and that Windows
15.05.2012 20:16, Gor Gyolchanyan написал:
On Tue, May 15, 2012 at 8:07 PM, Kagamin s...@here.lot
mailto:s...@here.lot wrote:
Manifests are extensible resources, they are used for various things
which require storing metadata in executable modules, for example
they're used to load
15.05.2012 22:08, Gor Gyolchanyan написал:
Thanks!
It doesn't compile. After I fixed the path to the Windows SDK, I got the
error: C:\Program Files (x86)\Microsoft
SDKs\Windows\v7.0A\Include\SpecStrings.h(11) : fatal error RC1015:
cannot open include file 'sal.h'
Looks like you didn't change
08.05.2012 3:50, Walter Bright написал:
http://www.reddit.com/r/cpp/comments/tbouj/zerobugs_modular_debugger_for_ccd_including_gui/
Poor ZeroBUGS developer... Looks like he failed to sell his great
debugger and decided to make it free.
Proof: http://www.zero-bugs.com/2.0/download.html
--
07.05.2012 11:39, kenji hara написал:
In prev thread, I have posted a proposal, but it didn't posted to
newsgroup, I don't know why.
I re-post my proposal.
If the leading compound format specifier has a '-' flag, like %-( ...
%), it disables auto-escaping for the elements formatting.
IMHO this should compile:
---
mixin template T() { final void f() { } }
class A { mixin T ta; }
class B : A { mixin T tb; }
---
these asserts should pass:
---
mixin template T(string s) {
string f() { return s; }
}
class A {
mixin T!T1 ta1;
mixin T!T2 ta2;
mixin T!T;
}
class
This idea is too obvious and I suppose I'm the only one not knowing it,
but I have never seen it's implementation. Why?
The idea:
1. `Object` class has hidden `isAlive` field which is true since
construction and up to finalization.
2. Every method asserts that the object is alive first.
3.
On Tuesday, 24 April 2012 at 04:55:34 UTC, kenji hara wrote:
My concern is that the proposal is much complicated and less
useful
for general use cases.
You can emulate such formatting like follows:
IMHO addition of %!+s and %!-s alone and removing %c's magic will
only simplify formatting for
One day I'll finish my OpenGL wrapper for D. It will give you
better abilities in creating OpenGL 3 contexts than most C++
frameworks (SDL, GLFW etc.) and, I hope, will get rid of passing
pointers to functions.
It will be done soon after I'll finish Scintilla wrapper for D.
And it will be
I've never used new excellent range formatting syntax by Kenji Hara
until now. And I've met with difficulties, because %(%(%c%), %) is the
most common format for string array for me and it neither obvious nor
elegant. It occurs that %c disables character escaping. What the hell?
Why? Not
23.04.2012 18:54, kenji hara написал:
Please give us use cases. I cannot imagine why you want to
change/remove quotations but keep escaped contents.
Sorry, I should mention that !' and ! are optional and aren't commonly
used, and all !?* are very optional and are here just for completeness
23.04.2012 21:15, kenji hara написал:
2012年4月24日1:14 Denis Shelomovskijverylonglogin@gmail.com:
23.04.2012 18:54, kenji hara написал:
Please give us use cases. I cannot imagine why you want to
change/remove quotations but keep escaped contents.
Sorry, I should mention that !' and ! are
23.04.2012 21:49, Denis Shelomovskij написал:
23.04.2012 21:15, kenji hara написал:
2012年4月24日1:14 Denis Shelomovskijverylonglogin@gmail.com:
23.04.2012 18:54, kenji hara написал:
Please give us use cases. I cannot imagine why you want to
change/remove quotations but keep escaped
19.04.2012 4:11, Andrej Mitrovic написал:
On 4/18/12, SomeDudelovelyd...@mailmetrash.com wrote:
On Tuesday, 17 April 2012 at 08:00:36 UTC, Denis Shelomovskij
wrote:
It's pity that a video is read-only and it isn't easy to fix
slips of the tongue like this one. Maybe some notes can be
added
D already has a history with heroes and great projects... Unfortunately,
lots of dead great projects. IMHO, a monument to them should be set up.
Reasons:
1. If a project failed because of some design issues (e.g. Descent) new
developers should be informed about a danger of this approach and
20.04.2012 8:06, H. S. Teoh написал:
I'm writing some code that does some very simplistic parsing, and I'm
just totally geeking out on how awesome D is for writing such code:
import std.conv;
import std.regex;
import std.stdio;
struct Data {
11.04.2012 20:23, Andrei Alexandrescu написал:
http://www.infoq.com/presentations/Generic-Programming-Galore-Using-D
Andrei
27:17
It's valid to pass an empty list. Compilation will fail when T.length =
1 for 'x[1]'.
Andrei is really looking embarrassed telling this like if he knows it's
a
15.04.2012 0:31, Xan написал:
On Saturday, 14 April 2012 at 19:40:06 UTC, Aleksandar Ružičić wrote:
On Saturday, 14 April 2012 at 19:17:52 UTC, Xan wrote:
Hi,
I try to translate a script I wrote in Fantom [www.fantom.org]. In my
script, I have a type Tag defined as a triple of:
- String (the
10.04.2012 15:17, Dmitry Olshansky написал:
On 03.04.2012 4:09, Denis Shelomovskij wrote:
02.04.2012 21:21, Oleg Kuporosov пишет:
There is good news for Russian D Developers, translated Andrey's
TDPL is available for pre-orders at some online stores
http://www.books.ru/books/yazyk
12.04.2012 6:21, Reid Levenick написал:
Firstly, I had no idea where suggestions should go, and I saw a few
others here and thus here I am.
I was writing some code that depended heavily on my own eponymous
templates, and decided to change the names of some of them to make them
more
09.04.2012 17:26, Andrei Alexandrescu пишет:
On 4/9/12 2:06 AM, Denis Shelomovskij wrote:
Why will recording the average produce so much noise?
As I explained, the average takes noise and outliers (some very large,
e.g. milliseconds in a benchmark that takes microseconds) into account
08.04.2012 21:31, Andrei Alexandrescu пишет:
On 4/8/12 11:59 AM, Denis Shelomovskij wrote:
Very good but minimum isn't a best guess. Personally I (and there will
be a lot of such maniacs I suppose) will think that this (minimum) time
can be significantly smaller than average time.
I've
MS Windows is shipped with Windows Script Host (WSH), for every single
malware developer to be able to do everything once he finally forced you
to double-click on a small text file.
Now WSH works for D developer too by providing easy (but not very fast)
access to system information (yes, and
Very good but minimum isn't a best guess. Personally I (and there will
be a lot of such maniacs I suppose) will think that this (minimum) time
can be significantly smaller than average time.
So a parameter (probably with a default value) should be added.
Something like enum of flags telling
06.04.2012 1:04, Nick Sabalausky пишет:
Denis Shelomovskijverylonglogin@gmail.com wrote in message
news:jlkubn$k4f$1...@digitalmars.com...
I think it will be great to have a single place for all D related projects
so a developer can easily find what is already done
(for an example of I
06.04.2012 12:49, Gour пишет:
On Fri, 06 Apr 2012 12:34:09 +0400
Denis Shelomovskijverylonglogin@gmail.com wrote:
Because I believes HTML should die with all present web browsers and
JS. And XML because of its frighten overuse. And all slow and buggy
web apps.
And adobe Flash of course
I think it will be great to have a single place for all D related
projects so a developer can easily find what is already done
(for an example of I didn't now about you project see, e.g. Modern
COM Programming in D thread), what is *planned* and what great projects
have already failed (and,
02.04.2012 21:21, Oleg Kuporosov пишет:
There is good news for Russian D Developers, translated Andrey's
TDPL is available for pre-orders at some online stores
http://www.books.ru/books/yazyk-programmirovaniya-d-827252/
Hope it will definetelly increase Russian speaking community, so
far we
08.03.2012 14:00, Alex Rønne Petersen пишет:
On 08-03-2012 10:42, Denis Shelomovskij wrote:
1. Is there any guaranties that no code will be added between sequential
inline assembler blocks, e.g.:
---
void f()
{
static if(x)
asm { mov EBX, 3; }
else
asm { mov EBX, 7; }
asm { mov EAX, EBX
1. Is there any guaranties that no code will be added between sequential
inline assembler blocks, e.g.:
---
void f()
{
static if(x)
asm { mov EBX, 3; }
else
asm { mov EBX, 7; }
asm { mov EAX, EBX; } // Is EBX value defined here?
}
---
Is it documented?
2. Such
05.03.2012 22:06, bioinfornatics пишет:
opDispaytch is not really easy to use for this. my first code do this in
1 line and it is easy to understand hat it do. In 1 line i forward 3
method to a member. This save time, code and bug.
So what's the problem with opDispatch?
By the way, don't do
Even `memcpy` is claimed dangerous at http://dlang.org/garbage.html
(because of possibility of moving GC, I suppose) but it just creates
false positives for GC. `memmove` can even temporary destroy pointers in
some overlapping cases like Google answer on Lucky `memmove source
code` request
Do you remember this: http://d.puremagic.com/issues/show_bug.cgi?id=7033
It should be solved and I'm volunteer to do it. But I need to know:
1. `_setmode` is only defined in version(DIGITAL_MARS_STDIO) which is
defined in version(DigitalMars)version(Windows) but used in
version(Windows) in
02.03.2012 19:29, Alex Rønne Petersen пишет:
On 02-03-2012 16:25, Robert Jacques wrote:
On Fri, 02 Mar 2012 08:13:00 -0600, Denis Shelomovskij
verylonglogin@gmail.com wrote:
Even `memcpy` is claimed dangerous at http://dlang.org/garbage.html
(because of possibility of moving GC, I suppose
20.02.2012 19:34, Gour пишет:
On Mon, 20 Feb 2012 18:02:49 +0400
Denis Shelomovskijverylonglogin@gmail.com wrote:
Hello Denis,
D has complete (IMHO) compiler support for calling C functions (using
extern(C)). But there is a lack of library support.
I'm glad you're working on (another)
22.02.2012 13:41, Gour пишет:
That would be nice and make the whole job of binding C functions and
providing customized D API easier...and let's not forget about extra
points for coordinating work. ;)
I'm open for emails about using/changing/fixing CWrap.
D has complete (IMHO) compiler support for calling C functions (using
extern(C)). But there is a lack of library support. Microsoft .NET
Framework has such support, but it's poor (see previous thread about
CWrap in digitalmars.D NG).
Once original function is properly described in IDL, CWrap
18.02.2012 0:33, Joshua Niehus пишет:
Not as fancy as the other submits, but it might be worthy of the front
page:
import std.stdio, std.traits;
void main(string[] args) {
auto foo(T)(T n) {
return delegate(T i) {
static if (isSomeString!(T))
auto m =
08.02.2012 7:55, Mr. Anonymous пишет:
Why does GTK suck (I read that a couple of times).
GtkD (+OpenGL) worked stable in my rather big D1+Tango project 2 years
ago (and do it now). Looks like it has lots of memory leaks (in almost
every function call) but it didn't lead to crash after few
30.01.2012 0:49, Walter Bright пишет:
On 1/29/2012 6:04 AM, Denis Shelomovskij wrote:
Why does Phobos use 4-space indentation?
Because it works, changing it would be a vast waste of time for a
non-existent benefit, and it would become a nuisance to do diffs of
source code that cross the re
30.01.2012 4:42, Timon Gehr пишет:
I suppose the unary + before the second 'num' is required to
disambiguate from which array length 'num' will be deduced? Shouldn't
this restriction be lifted? (Obviously, if the lengths have to match,
both are fine.)
Yes, this restriction isn't necessary. I
30.01.2012 8:59, Kagamin пишет:
static assert(__traits(compiles, HANDLE.init is null));
hmm... What declaration of HANDLE do you use?
Wrapper knows nothing about non-standard types, but in `CreateFileW` the
last argument is `__(in?) HANDLE hTemplateFile`, so it is an optional
parameter (can
It was originally posted to D.learn but there was no reply. So:
Is there a strict aliasing rule in D?
I just saw https://bitbucket.org/goshawk/gdc/changeset/b44331053062
29.01.2012 15:21, Alex Rønne Petersen пишет:
On 29-01-2012 10:15, Gour wrote:
Hello!
It was mentioned in #D that gdc will probably adapt its code to GNU code
style and I wonder, seeing no recemmendation in
http://www.d-programming-language.org/dstyle.html in regard to
indent-style, can someone
29.01.2012 20:48, bearophile пишет:
Stewart Gordon:
What do you mean by the D2 front-end?
It was one of my first attempts at humor :-)
Bye and sorry,
bearophile
Thanks for explicitly defining that! You just saved a lot of my time. )
29.01.2012 22:07, Stewart Gordon пишет:
It is. But mishmashing tab and space indentation causes far worse conflict.
Iain - I take it you meant that mishmashing, combined with users having
different tab size settings, causes a problem. Correct?
Stewart.
Looks the reason against tabs is: mixed
29.01.2012 21:29, Russel Winder пишет:
On Sun, 2012-01-29 at 14:09 +, Iain Buclaw wrote:
[...]
The problem is lines with mixed tabs and spaces, and different users
set their text editors see tabs differently. ie: is your tab-width set
to 2, 3, 4, or 8?
Isn't that the whole point: using
D has complete (IMHO) compiler support for calling C functions (using
extern(C)). But there is a lack of library support.
Readers from this NG probably know this, but... Microsoft .NET Framework
has such support. Look briefly at source example in:
29.01.2012 23:02, Iain Buclaw пишет:
On 29 January 2012 18:11, Denis Shelomovskij
verylonglogin@gmail.com wrote:
29.01.2012 18:09, Iain Buclaw пишет:
On 29 January 2012 14:04, Denis Shelomovskij
verylonglogin@gmail.comwrote:
29.01.2012 15:21, Alex Rønne Petersen пишет:
On 29
30.01.2012 0:42, Walter Bright пишет:
On 1/29/2012 6:17 AM, bearophile wrote:
D2 style guide should *require* D2 to be edited using a mono-spaced
font, and
the D2 front-end should enforce this with a -ms compiler switch.
What? How could the compiler possibly know what font was used in your
30.01.2012 0:53, Walter Bright пишет:
On 1/29/2012 10:53 AM, Denis Shelomovskij wrote:
No, it isn't. Spaces aren't comfortable to use in existed editors.
Right, and I use tabs in my editor.
I also run all files through the tools:
detab
to convert my tabs to spaces
...
Works like a champ
24.01.2012 2:32, Nick Sabalausky пишет:
Andrei Alexandrescuseewebsiteforem...@erdani.org wrote in message
news:jfk1r6$2a5j$1...@digitalmars.com...
On 1/23/12 3:14 AM, Nick Sabalausky wrote:
Walter Brightnewshou...@digitalmars.com wrote in message
news:jfj0ao$3q9$1...@digitalmars.com...
24.01.2012 5:50, kenji hara пишет:
Precise documentation is not yet written.
Filled an issue:
http://d.puremagic.com/issues/show_bug.cgi?id=7361
24.01.2012 5:57, Brad Anderson пишет:
Recently there has been explosion in bug closures. This has had the
unfortunate side effect of making it difficult to have a conversation in
#d IRC with the bot constantly announcing these changes. I humbly
request that those responsible slow down this
22.01.2012 23:55, Denis Shelomovskij пишет:
In this thread I would like a reason of trying to support Win95/98/Me to
be discussed.
Get rid of win9x support pull requests:
https://github.com/D-Programming-Language/druntime/pull/140
https://github.com/D-Programming-Language/phobos/pull/406
Diff
24.01.2012 19:28, David Nadlinger пишет:
On 1/24/12 4:16 PM, Denis Shelomovskij wrote:
If people have a problem with #d IRC they should just disable technical
messages they don't need. If they can't do that, it's their own problem.
They are supposed to be programmers.
Have no idea why isn't
23.01.2012 17:15, Gour пишет:
On Sun, 22 Jan 2012 22:03:08 +0400
Denis Shelomovskijverylonglogin@gmail.com wrote:
I'm finishing a fast (I just don't see a faster way) and garbage-free
CTFE-capable wrapper. But it requires IDL to be written for every C
function.
I'm curious if you have
22.01.2012 22:33, Andrej Mitrovic пишет:
A while ago there was a suggestion by Andrei to incorporate this sort of syntax:
template ElementType(T : T[])
{
alias ElementType = T;
}
struct Foo(T)
{
alias Type = T;
}
I think people agreed it was a nice syntax, but I don't know if anyone
22.01.2012 18:51, Alex Rønne Petersen пишет:
Hi,
Someone on IRC wanted to know the element type of an array type and the
following code was suggsted:
template ElementType(T : T[])
{
alias T ElementType;
}
He was confused about how ElementType!(int[]) could possibly equal int,
until we
22.01.2012 11:18, Andrei Alexandrescu пишет:
We just put together a page that counts the bugs per category. It's
linked from Bug tracker in the navigation panel.
http://dlang.org/bugstats.php
The format is sketchy. Looking forward to your suggestions for
improvements.
Andrei
21.01.2012 19:24, Gour пишет:
Hello!
We have a need to bind smaller to medium-size C library and would like
to provide more D-ish or higher-level bindings than just wrapper over C
code.
E.g. the C function looks like:
int swe_calc_ut ( double tjd_ut, int ipl, int iflag, double* xx, char*
22.01.2012 18:51, Alex Rønne Petersen пишет:
Hi,
Someone on IRC wanted to know the element type of an array type and the
following code was suggsted:
template ElementType(T : T[])
{
alias T ElementType;
}
He was confused about how ElementType!(int[]) could possibly equal int,
until we
In this thread I would like a reason of trying to support Win95/98/Me to
be discussed. I would like to see arguments for and against and, when
there will be enough arguments, to vote, make a decision, and add
supported Windows OS-es list to the docs, because now D is stamping
itself by having
22.01.2012 22:11, Timon Gehr пишет:
On 01/22/2012 07:07 PM, Denis Shelomovskij wrote:
22.01.2012 18:51, Alex Rønne Petersen пишет:
Hi,
Someone on IRC wanted to know the element type of an array type and the
following code was suggsted:
template ElementType(T : T[])
{
alias T ElementType
22.01.2012 23:55, Denis Shelomovskij пишет:
In this thread I would like a reason of trying to support Win95/98/Me to
be discussed.
In the case Win95/98/Me will be marked as unsupported, I will volunteer
to remove unnecessary code from druntime/Phobos.
20.01.2012 19:40, Robert Clipsham пишет:
Just came across this amusing 4 minute video:
https://www.destroyallsoftware.com/talks/wat
Good talk!
But with a mistake: there are 15 delimiters in 16 element array
(printing/join result), not 16.
Is there a strict aliasing rule in D?
I just saw https://bitbucket.org/goshawk/gdc/changeset/b44331053062
13.01.2012 19:56, Don Clugston пишет:
On 13/01/12 14:47, Manu wrote:
On 13 January 2012 14:48, bearophile bearophileh...@lycos.com
mailto:bearophileh...@lycos.com wrote:
This is the third time I see people trip on power operator precedence:
http://d.puremagic.com/issues/show_bug.cgi?id=7268
09.01.2012 17:22, Trass3r пишет:
I don't think you are looking for such solution, so it is here just
for information. But if someone need this, I will release sources.
Please do so, could be helpful.
IIRC it was the last working version before I decided to create a bigger
library (the one
09.01.2012 6:05, Trass3r пишет:
(other than SDL)
Basically something like the SFML Window module, but written in D and
working on Windoze/Linux.
I have written a Windows OpenGL context creation for given HWND
(initially for DGUI but it isn't a restriction, one just have to write
his own
09.01.2012 17:22, Trass3r пишет:
I have written a Windows OpenGL context creation for given HWND
(initially for DGUI but it isn't a restriction, one just have to write
his own control class) because of complicated context creation in this
OS (~800 lines of D code for only context creation with
07.01.2012 5:12, Andrej Mitrovic пишет:
Oooh I've just realized something, the *compilation* calls are what's
destroying the performance. I was using dmd test.d test.exe
instead of just test.exe and this would generate a new exe which
screwed up the results.
So regex has nothing to do with it.
201 - 300 of 335 matches
Mail list logo