It would seem that by running the file through mixin, you can
simply create the vars you want in scope. The drawback being
random code execution. Is there any way to sanitize mixin code
from user-configurable file?
Once that's shot down, does anyone know a .json to .sdl converter
program
On Wednesday, 15 June 2016 at 12:02:56 UTC, Andrei Alexandrescu
wrote:
In all likelihood. One issue with build systems is there's no
clear heir to make. There are so many, including a couple (!)
by our community, each with its pros and cons. Which one should
we choose?
You should choose
On Wednesday, 15 June 2016 at 12:00:52 UTC, Andrei Alexandrescu
wrote:
I'd say the gating factor is -j. If an build system doesn't
implement the equivalent of make -j, that's a showstopper.
Don't worry, there is a --threads option and it defaults to the
number of logical cores.
I just did
On Wednesday, 15 June 2016 at 23:52:56 UTC, Basile B. wrote:
On Wednesday, 15 June 2016 at 22:27:38 UTC, pineapple wrote:
Here's a simple code example to illustrate what I expected to
work and didn't - is this a mistake in my syntax or a
limitation of the language?
template
On Thursday, 16 June 2016 at 02:53:38 UTC, Andrei Alexandrescu
wrote:
On 6/15/16 9:34 PM, tsbockman wrote:
Why didn't you make your design requirements known at any
earlier point
in this process? If you are ultimate gate keeper for Phobos
(as you seem
to be), you ought to make your
On 6/15/16 9:34 PM, tsbockman wrote:
`checkedint` (and @burner's `SafeInt` before it) have been under
development in the open for over a year now. There have been several
discussions in the forums, with feedback being actively solicited.
Significant design changes were made to address various
On 6/15/16 7:52 PM, Basile B. wrote:
On Wednesday, 15 June 2016 at 22:27:38 UTC, pineapple wrote:
Here's a simple code example to illustrate what I expected to work and
didn't - is this a mistake in my syntax or a limitation of the language?
template SomeTemplate(alias func){
auto
On Wednesday, 15 June 2016 at 10:58:04 UTC, Martin Nowak wrote:
So I'm wondering if in 2016 someone really needs an offline
copy of a website shipped with a binary release?
For offline browsing, Windows and Linux users can use Zeal [1]
which is FOSS, and macOS users can use Dash[2], which is
Suppose I have a loop where I execute two functions:
for(...)
{
if (x) Do1(x);
if (y) Do2(y);
}
The problem is, I really always want to execute all the Do2's
first then the Do1's. As is, we could get any order of calls.
Suppose I can't run the loop twice for performance reasons(there
https://issues.dlang.org/show_bug.cgi?id=16166
--- Comment #2 from Danila Letunovskiy ---
struct Window {
string title;
int x, y;
int w, h;
alias title this;
}
void main(){
Window w = "Foo";
}
--
On Thursday, 16 June 2016 at 00:33:38 UTC, Andrei Alexandrescu
wrote:
On 06/15/2016 08:07 PM, tsbockman wrote:
But, I would appreciate it if comments distinguished between:
1) My goals and philosophy differ from yours, versus
2) My implementation is bad.
I think a lot of the high-level
On Thursday, 16 June 2016 at 00:31:38 UTC, Andrei Alexandrescu
wrote:
On 06/15/2016 02:50 PM, tsbockman wrote:
What you are proposing is *not* "fixing" my design - it is
basically
scrapping it and replacing it with a ground-up rewrite, with
perhaps
some bits and pieces and general inspiration
On Wednesday, 15 June 2016 at 23:41:51 UTC, Basile B. wrote:
On Wednesday, 15 June 2016 at 17:35:32 UTC, TheDGuy wrote:
I'm gonna check on Windows today but in the meantime you can try
I've checked on windows and here is what I can say about the
problem.
- Symbolic strings won't work on
On 06/15/2016 08:07 PM, tsbockman wrote:
On Thursday, 16 June 2016 at 00:03:26 UTC, Andrei Alexandrescu wrote:
On 06/15/2016 07:34 PM, tsbockman wrote:
The whole point of `checkedint` is to be able to write algorithms based
on the simplifying assumption that your variables behave like real,
On 06/15/2016 02:50 PM, tsbockman wrote:
On Wednesday, 15 June 2016 at 16:40:19 UTC, Andrei Alexandrescu wrote:
I think there are a few considerable issues with the proposal, but
also that all are fixable.
I already sent a much longer message detailing some of the reasons why I
believe my
On Thursday, 16 June 2016 at 00:06:13 UTC, Andrei Alexandrescu
wrote:
On 06/15/2016 07:13 PM, tsbockman wrote:
Standardizing the error handling methods is also important for
other interoperability-related reasons:
[...]
I don't agree with this. On the face of it, three built-in
policies
On Thursday, 16 June 2016 at 00:03:26 UTC, Andrei Alexandrescu
wrote:
On 06/15/2016 07:34 PM, tsbockman wrote:
The whole point of `checkedint` is to be able to write
algorithms based
on the simplifying assumption that your variables behave like
real,
UNbounded mathematical integers, secure in
On 06/15/2016 07:13 PM, tsbockman wrote:
Standardizing the error handling methods is also important for other
interoperability-related reasons:
* If every third-party library designs a different error handling
method,
people writing applications that depend on many libraries will
On 06/15/2016 07:34 PM, tsbockman wrote:
The whole point of `checkedint` is to be able to write algorithms based
on the simplifying assumption that your variables behave like real,
UNbounded mathematical integers, secure in the knowledge that an error
message will be generated if that assumption
On Wednesday, 15 June 2016 at 22:27:38 UTC, pineapple wrote:
Here's a simple code example to illustrate what I expected to
work and didn't - is this a mistake in my syntax or a
limitation of the language?
template SomeTemplate(alias func){
auto templatefunc(T)(int x){
On Wednesday, 15 June 2016 at 17:35:32 UTC, TheDGuy wrote:
On Wednesday, 15 June 2016 at 13:15:56 UTC, Rene Zwanenburg
wrote:
I'm not familiar with Coedit, but the run options seem to
contain a field for setting it:
https://github.com/BBasile/Coedit/wiki#run-options
You may be able to use the
On Wednesday, 15 June 2016 at 16:40:19 UTC, Andrei Alexandrescu
wrote:
One of the first things I looked for was establishing bounds
for numbers, like Smart!(int, 0, 100) for percentage. For all
its might, this package does not offer this basic facility, and
from what I can tell does not allow
On Wednesday, 15 June 2016 at 18:34:15 UTC, tsbockman wrote:
On Wednesday, 15 June 2016 at 16:40:19 UTC, Andrei Alexandrescu
wrote:
Getting to the design: the root of the problem is a byzantine
design that is closed to extension.
The design was closed deliberately because of (8). Template
On Wednesday, 15 June 2016 at 21:39:37 UTC, TheDGuy wrote:
On Wednesday, 15 June 2016 at 20:49:02 UTC, Gerald wrote:
On Wednesday, 15 June 2016 at 09:03:45 UTC, TheDGuy wrote:
Hello,
why does this code not work?
RGBA rgb = new RGBA(1,0.5,0.5,1.0);
Button btn_1 = new
Here's a simple code example to illustrate what I expected to
work and didn't - is this a mistake in my syntax or a limitation
of the language?
template SomeTemplate(alias func){
auto templatefunc(T)(int x){
return func!T(x);
}
}
// Valid
auto
On Wednesday, 15 June 2016 at 21:54:22 UTC, Seb wrote:
On Wednesday, 15 June 2016 at 21:51:25 UTC, learner wrote:
Hi,
How can i get the number of cols and rows in and ndarray that
has already been created?
learner
how about `shape`?
string cssPath = "test.css";
CssProvider provider = new CssProvider();
provider.loadFromPath(cssPath);
unfortunately i don't know anything about yr specific problem.
but i just wanted to mention (in case you are not aware of it) that the
CSS can be embedded into
On 06/15/2016 04:44 PM, Jack Stouffer wrote:
On Wednesday, 15 June 2016 at 19:48:07 UTC, Dejan Lekic wrote:
LinkedIn has the D Developer Network (DDN) group with 1900 members (at
the moment of writing this post): https://www.linkedin.com/groups/3923820
I didn't know about this either. You
On Wednesday, 15 June 2016 at 20:50:25 UTC, deadalnix wrote:
Consider that there are many optimizations that rely on fp not
being predictable. For instance, fabs(x) can be transformed
into x | 0x8000 if you don't care about NaN's sign (yes,
NaN are signed).
I guess that would be
On Wednesday, 15 June 2016 at 21:51:25 UTC, learner wrote:
Hi,
How can i get the number of cols and rows in and ndarray that
has already been created?
learner
how about `shape`?
http://dlang.org/phobos/std_experimental_ndslice_slice.html#.Slice.shape
Hi,
How can i get the number of cols and rows in and ndarray that has
already been created?
learner
On 16/06/2016 6:53 AM, Konstantin wrote:
On Wednesday, 15 June 2016 at 17:02:11 UTC, rikki cattermole wrote:
Higher level languages like Java have the benefit of using pools and
optimizing for this usage pattern, D does and will never have this.
Why don't you want the same for D?
Because we
On 06/15/2016 05:32 PM, Timon Gehr wrote:
On 15.06.2016 18:40, Andrei Alexandrescu wrote:
The only remaining matter is to implement a few preexisting policies
(Hook implementations) to implement typical choices (such as the ones
present today), and the core algorithms for doing bounded
On Wednesday, 15 June 2016 at 20:49:02 UTC, Gerald wrote:
On Wednesday, 15 June 2016 at 09:03:45 UTC, TheDGuy wrote:
Hello,
why does this code not work?
RGBA rgb = new RGBA(1,0.5,0.5,1.0);
Button btn_1 = new Button("Start");
On 15.06.2016 18:40, Andrei Alexandrescu wrote:
The only remaining matter is to implement a few preexisting policies
(Hook implementations) to implement typical choices (such as the ones
present today), and the core algorithms for doing bounded operations.
The most interesting algorithms are
On Wednesday, 15 June 2016 at 19:21:51 UTC, John wrote:
On Wednesday, 15 June 2016 at 18:32:28 UTC, Joerg Joergonson
wrote:
import core.sys.windows.com, core.sys.windows.oaidl;
Thanks. Should these not be added to the generated file?
The problem is that other type libraries will probably
Thanks for the info! I will try it tomorrow, when I have some
time and give some feedback then.
On Wednesday, 15 June 2016 at 08:24:23 UTC, Ola Fosheim Grøstad
wrote:
On Monday, 13 June 2016 at 20:15:09 UTC, Walter Bright wrote:
On 6/13/2016 3:33 AM, Ola Fosheim Grøstad wrote:
But would it really have an effect if I wrote a DIP on
getting predictable
floating point behaviour? If there is
On Wednesday, 15 June 2016 at 09:03:45 UTC, TheDGuy wrote:
Hello,
why does this code not work?
RGBA rgb = new RGBA(1,0.5,0.5,1.0);
Button btn_1 = new Button("Start");
btn_1.overrideBackgroundColor(StateFlags.NORMAL, rgb);
The color of btn_1 just doesn't change.
On Wednesday, 15 June 2016 at 20:22:21 UTC, Jack Stouffer wrote:
On Wednesday, 15 June 2016 at 19:39:59 UTC, Konstantin wrote:
Well I’m not sure about the 5% (MS says their write barrier
overhead is comparable to the cost of a simple method call,
namely 6.4ns:
On Wednesday, 15 June 2016 at 19:48:07 UTC, Dejan Lekic wrote:
LinkedIn has the D Developer Network (DDN) group with 1900
members (at the moment of writing this post):
https://www.linkedin.com/groups/3923820
I didn't know about this either. You should make a separate
announce post about
On Wednesday, 15 June 2016 at 20:01:09 UTC, Seb wrote:
Thanks a lot for all your help!
The initial version is online now & please feel invited to
improve upon this document:
http://dlang.org/areas-of-d-usage.html
Looks good to me!
On 06/15/2016 12:48 PM, Dejan Lekic wrote:
On Monday, 13 June 2016 at 22:45:15 UTC, Márcio Martins wrote:
Forgive me if this is not the best place for this sort of posts, but
we are looking for experienced developers willing to learn D to join
our development team in Amsterdam. We are a
On 6/15/16 4:08 PM, Nick Treleaven wrote:
On Wednesday, 15 June 2016 at 17:35:49 UTC, Steven Schveighoffer wrote:
On 6/15/16 6:32 AM, Nick Treleaven wrote:
My question is: would returning void* instead really be unsafe, i.e. is
there a way of dereferencing it in safe code? (I'm not thinking
On Wednesday, 15 June 2016 at 19:39:59 UTC, Konstantin wrote:
Well I’m not sure about the 5% (MS says their write barrier
overhead is comparable to the cost of a simple method call,
namely 6.4ns:
https://msdn.microsoft.com/en-us/library/ms973852.aspx), but
yeah, there’s some tradeoff, for
On 6/15/16 3:34 PM, dewitt wrote:
On Wednesday, 15 June 2016 at 18:20:19 UTC, Steven Schveighoffer wrote:
On 6/15/16 1:51 PM, dewitt wrote:
I don't know if this has been asked before and I am too lazy to search.
Has anyone brought up the idea of adding a repo to the official dlang
project on
On Wednesday, 15 June 2016 at 19:34:13 UTC, dewitt wrote:
On Wednesday, 15 June 2016 at 18:20:19 UTC, Steven
Schveighoffer wrote:
On 6/15/16 1:51 PM, dewitt wrote:
I don't know if this has been asked before and I am too lazy
to search.
Has anyone brought up the idea of adding a repo to the
On Wednesday, 15 June 2016 at 17:35:49 UTC, Steven Schveighoffer
wrote:
On 6/15/16 6:32 AM, Nick Treleaven wrote:
My question is: would returning void* instead really be
unsafe, i.e. is
there a way of dereferencing it in safe code? (I'm not
thinking about
holes in @safe, but ways by
On Wednesday, 15 June 2016 at 18:48:28 UTC, jmh530 wrote:
On Wednesday, 15 June 2016 at 18:28:42 UTC, Edwin van Leeuwen
wrote:
I think he meant that the .NET GC (and most GC designs) rely
on write barriers, but D does not have write barriers, since D
is meant to be a proper systems language.
On Thursday, 2 June 2016 at 23:57:55 UTC, jmh530 wrote:
On Thursday, 2 June 2016 at 21:47:13 UTC, qznc wrote:
On Thursday, 2 June 2016 at 13:59:13 UTC, Seb wrote:
If I left out an area or you miss an application/usage -
please let me know!
The Javascript JIT Compiler Higgs:
On Wednesday, 15 June 2016 at 19:39:59 UTC, Konstantin wrote:
On Wednesday, 15 June 2016 at 18:23:52 UTC, Jack Stouffer wrote:
They're not acceptable for a systems programming language as
they require you to pay for something that you might not use.
According to our resident GC maintainer
On Wednesday, 15 June 2016 at 19:20:51 UTC, Dmitry Olshansky
wrote:
Scanner can easily be non-regular.
Especially in that case, when the irregularity is as trivial as
incrementing/decrementing a counter.
On Monday, 13 June 2016 at 22:45:15 UTC, Márcio Martins wrote:
Forgive me if this is not the best place for this sort of
posts, but we are looking for experienced developers willing to
learn D to join our development team in Amsterdam. We are a
fast-growing travel e-commerce startup focused on
On Wednesday, 15 June 2016 at 18:23:52 UTC, Jack Stouffer wrote:
They're not acceptable for a systems programming language as
they require you to pay for something that you might not use.
According to our resident GC maintainer (among many other
things), they would cause a 1%-5% slow down in
On Wednesday, 15 June 2016 at 18:20:19 UTC, Steven Schveighoffer
wrote:
On 6/15/16 1:51 PM, dewitt wrote:
I don't know if this has been asked before and I am too lazy
to search.
Has anyone brought up the idea of adding a repo to the
official dlang
project on github with Articles. I know the
On Wednesday, 15 June 2016 at 18:35:42 UTC, Joerg Joergonson
wrote:
On Wednesday, 15 June 2016 at 06:09:33 UTC, thedeemon wrote:
On Monday, 13 June 2016 at 17:38:41 UTC, Incognito wrote:
[...]
There are ready tools idl2d:
https://github.com/dlang/visuald/tree/master/c2d
[...]
I can't
On Wednesday, 15 June 2016 at 18:32:28 UTC, Joerg Joergonson
wrote:
import core.sys.windows.com, core.sys.windows.oaidl;
Thanks. Should these not be added to the generated file?
The problem is that other type libraries will probably require
other headers to be imported, and there's no way
On 15-Jun-2016 12:37, Shachar Shemesh wrote:
On 15/06/16 08:27, H. S. Teoh via Digitalmars-d wrote:
IMHO, you're thinking about this at the wrong level of abstraction.
I tend to agree.
The first order of business, before you even think about parsing, should
be to tokenize (or lex) the
On Wednesday, 15 June 2016 at 18:48:28 UTC, jmh530 wrote:
My reading of that LuaJIT GC document is that it requires write
barriers, but that they are very cheap.
...for language that was originally VM-based. yet they'll have a
noticable impact on language like D -- especially when programmer
On Wednesday, 15 June 2016 at 18:50:32 UTC, tsbockman wrote:
What you are proposing is *not* "fixing" my design - it is
basically scrapping it and replacing it with a ground-up
rewrite, with perhaps some bits and pieces and general
inspiration taken from my work.
[...]
If the decision is made
On Wednesday, 15 June 2016 at 16:40:19 UTC, Andrei Alexandrescu
wrote:
I think there are a few considerable issues with the proposal,
but also that all are fixable.
I already sent a much longer message detailing some of the
reasons why I believe my design is sensible. But, before we
continue
On Wednesday, 15 June 2016 at 17:02:11 UTC, rikki cattermole
wrote:
Higher level languages like Java have the benefit of using
pools and optimizing for this usage pattern, D does and will
never have this.
Why don't you want the same for D?
Well if you really insist to have a String class
On Wednesday, 15 June 2016 at 18:28:42 UTC, Edwin van Leeuwen
wrote:
I think he meant that the .NET GC (and most GC designs) rely on
write barriers, but D does not have write barriers, since D is
meant to be a proper systems language.
My reading of that LuaJIT GC document is that it
On 06/15/2016 02:26 PM, Walter Bright wrote:
On 6/15/2016 9:40 AM, Andrei Alexandrescu wrote:
Looking at the IntFlagPolicy, it offers three canned behavior: throws,
asserts,
and noex. Users cannot customize behavior and there is no information
passed
into the policy (e.g. the operands in case
On Wednesday, 15 June 2016 at 14:14:23 UTC, Seb wrote:
```
T[] a = slice.ptr[0.. slice.elementsCount];
```
This would work only for slices with continuous memory
representation and positive strides. -- Ilya
On Wednesday, 15 June 2016 at 15:39:47 UTC, Andrei Alexandrescu
wrote:
On 06/15/2016 08:05 AM, John Colvin wrote:
On Wednesday, 15 June 2016 at 11:47:00 UTC, Walter Bright
wrote:
On 6/15/2016 4:07 AM, Edwin van Leeuwen wrote:
How about using reggae?
On Wednesday, 15 June 2016 at 06:09:33 UTC, thedeemon wrote:
On Monday, 13 June 2016 at 17:38:41 UTC, Incognito wrote:
[...]
There are ready tools idl2d:
https://github.com/dlang/visuald/tree/master/c2d
[...]
I can't seem to get ComPtr to work.
auto ps =
On Wednesday, 15 June 2016 at 17:20:31 UTC, John wrote:
On Wednesday, 15 June 2016 at 16:45:39 UTC, Joerg Joergonson
wrote:
Thanks. When I ran it I got a d file! when I tried to use that
d file I get undefined IID and IDispatch. I imagine these
interfaces come from somewhere, probably built
On Wednesday, 15 June 2016 at 16:40:19 UTC, Andrei Alexandrescu
wrote:
Thanks for this work.
[...]
I think there are a few considerable issues with the proposal,
but also that all are fixable.
Your message was very long, so for the moment I'm going to filter
it down to just the high-level
On 6/15/2016 9:40 AM, Andrei Alexandrescu wrote:
Looking at the IntFlagPolicy, it offers three canned behavior: throws, asserts,
and noex. Users cannot customize behavior and there is no information passed
into the policy (e.g. the operands in case of overflow, or the numerator in case
of
On Wednesday, 15 June 2016 at 17:03:21 UTC, Konstantin wrote:
On Wednesday, 15 June 2016 at 13:56:09 UTC, Jack Stouffer wrote:
Has anyone thought about taking GC from .NET and reusing it
in D?
Two words: write barriers.
What about them? You mean not all D’s target platforms support
them?
I
On Wednesday, 15 June 2016 at 17:03:21 UTC, Konstantin wrote:
Two words: write barriers.
What about them? You mean not all D’s target platforms support
them?
They're not acceptable for a systems programming language as they
require you to pay for something that you might not use.
On 6/15/16 1:51 PM, dewitt wrote:
I don't know if this has been asked before and I am too lazy to search.
Has anyone brought up the idea of adding a repo to the official dlang
project on github with Articles. I know the website has a section but
think that a repo with md files might get more
On 6/15/2016 9:31 AM, Steven Schveighoffer wrote:
I think you guys are missing the point.
I can check for 64-bit alignment by casting to ubyte:
((cast(ubyte)ptr) & 0x07) == 0
Walter: I don't see why the optimizer doesn't figure out the fastest way to do
this, even with size_t. You are
https://issues.dlang.org/show_bug.cgi?id=10524
Walter Bright changed:
What|Removed |Added
Keywords||pull
https://issues.dlang.org/show_bug.cgi?id=14532
Walter Bright changed:
What|Removed |Added
Keywords||pull
--- Comment
I don't know if this has been asked before and I am too lazy to
search. Has anyone brought up the idea of adding a repo to the
official dlang project on github with Articles. I know the
website has a section but think that a repo with md files might
get more collaboration and result in more
Hi,
I am trying to debug in windows. So far I am trying to use windbg
like described here: http://dlang.org/windbg.html
However, in windbg when using "g _Dmain" I get an error message:
"No Debuggee specified". Can anybody tell me what I am missing
here? I could not find anything online and
Am 07.06.2016 um 11:54 schrieb Sönke Ludwig:
DUB 1.0.0 is nearing completion. The new feature over 0.9.25 is support
for single-file packages, which can be used to write shebang-style
scripts on Posix systems:
#!/usr/bin/env dub
/+ dub.sdl:
name "colortest"
On Wednesday, 15 June 2016 at 13:15:56 UTC, Rene Zwanenburg wrote:
I'm not familiar with Coedit, but the run options seem to
contain a field for setting it:
https://github.com/BBasile/Coedit/wiki#run-options
You may be able to use the symbolic strings there:
On 6/15/16 6:32 AM, Nick Treleaven wrote:
Hi,
Walter's made a fix for arr[$..$].ptr being unsafe to dereference - .ptr
will be @system:
https://github.com/dlang/dmd/pull/5860
A referenced druntime pull mentioned having a safe wrapper for ..ptr
that allows comparison of the pointer value, but
On Wednesday, 15 June 2016 at 16:45:39 UTC, Joerg Joergonson
wrote:
Thanks. When I ran it I got a d file! when I tried to use that
d file I get undefined IID and IDispatch. I imagine these
interfaces come from somewhere, probably built in?
Any ideas?
Add the following after the module name:
On Wednesday, 15 June 2016 at 13:56:09 UTC, Jack Stouffer wrote:
One guy wrote the LuaJIT GC, which beat almost everyone else in
performance when I last checked
“The current garbage collector is relatively slow compared to
implementations for other language runtimes. It's not competitive
with
On 16/06/2016 4:52 AM, Konstantin wrote:
On Wednesday, 15 June 2016 at 13:40:11 UTC, rikki cattermole wrote:
5. The requirements for our GC is quite intricate. I.e. you can't just
pop in one that doesn't understand about our Thread Local Storage (TLS)
and stuff.
D’s TLS that different from
On Wednesday, 15 June 2016 at 15:12:06 UTC, thedeemon wrote:
On Wednesday, 15 June 2016 at 07:01:30 UTC, Joerg Joergonson
wrote:
It seems idl2d from VD is not easily compilable?
I don't remember problems with that, anyway here's the binary I
used:
http://stuff.thedeemon.com/idl2d.exe
On Wednesday, 15 June 2016 at 08:24:41 UTC, John wrote:
On Wednesday, 15 June 2016 at 08:21:06 UTC, John wrote:
OK, adding the return type to the signature should fix that.
So:
private static Parameter getParameters(MethodImpl method)
Sorry, I meant the getParameter methods should return
On Wednesday, 15 June 2016 at 13:40:11 UTC, rikki cattermole
wrote:
5. The requirements for our GC is quite intricate. I.e. you
can't just
pop in one that doesn't understand about our Thread Local
Storage (TLS)
and stuff.
D’s TLS that different from .NET's TLS?
On Wednesday, 15 June 2016 at 16:03:04 UTC, Jesse Phillips wrote:
On Monday, 13 June 2016 at 01:22:33 UTC, Incognito wrote:
[...]
There is also:
https://github.com/JesseKPhillips/Juno-Windows-Class-Library
It kind of provides similar highlevel options as the "Modern
COM Programming in D."
On Wednesday, 15 June 2016 at 13:27:47 UTC, jmh530 wrote:
Possible to disable.
I don’t want to: for the last couple years I’ve been developing
50/50 C++/C#, and I admit I’m usually more productive using C#,
one of the reasons of that is GC.
They've got a GSOC guy workin' on it now. I would
PR: https://github.com/dlang/phobos/pull/4407
DUB: http://code.dlang.org/packages/checkedint
Thanks for this work. Documentation can be seen here:
On 6/14/16 10:04 PM, deadalnix wrote:
On Tuesday, 14 June 2016 at 23:19:12 UTC, Walter Bright wrote:
On 6/14/2016 3:38 PM, Guillaume Boucher wrote:
Isn't it guaranteed that x.sizeof >= x.alignof? (At least it is in C
and C++.)
So the alignment should be of type size_t and not of type
On Wednesday, 15 June 2016 at 14:14:23 UTC, Seb wrote:
On Wednesday, 15 June 2016 at 13:13:05 UTC, data pulverizer
And where can I find more cool tricks like that?
Browse the source code and the unittests. Phobos is an amazing
resource :)
Very true!
That's great many thanks!
On Monday, 13 June 2016 at 01:22:33 UTC, Incognito wrote:
I've been reading over D's com and can't find anything useful.
It seems there are different ways:
http://www.lunesu.com/uploads/ModernCOMProgramminginD.pdf
which is of no help and requires an idl file, which I don't
have.
Then
On Wednesday, 15 June 2016 at 10:58:04 UTC, Martin Nowak wrote:
So I'm wondering if in 2016 someone really needs an offline
copy of a website shipped with a binary release?
i use chm doc - it easy integrates with ide
On Tuesday, 14 June 2016 at 21:59:32 UTC, Walter Bright wrote:
Ok, I admit these are not likely to emerge.
Not in desktop, server, or modern mobile phones, but I think
there are some embedded platforms that have this concern. I know
that's not a huge priority, but it's nice to be mindful of
On Wednesday, 15 June 2016 at 07:17:56 UTC, Walter Bright wrote:
On 6/14/2016 11:16 PM, tsbockman wrote:
On Wednesday, 15 June 2016 at 00:16:12 UTC, Walter Bright
wrote:
Remove all use of 'you' and 'your' from the documentation.
Done.
I hope you like the results, and are not doing it just
On Wednesday, 15 June 2016 at 15:39:47 UTC, Andrei Alexandrescu
wrote:
On 06/15/2016 08:05 AM, John Colvin wrote:
On Wednesday, 15 June 2016 at 11:47:00 UTC, Walter Bright
wrote:
On 6/15/2016 4:07 AM, Edwin van Leeuwen wrote:
How about using reggae?
On Wednesday, 15 June 2016 at 07:16:18 UTC, Walter Bright wrote:
On 6/14/2016 9:48 PM, tsbockman wrote:
`Int`? `Base`?
'Integer' would work fine.
`BaseInt`?
`SmartInt!Integer` looks weird to me, because of the repetition.
Also, if we're going to use a long name like that I think it
On 06/15/2016 08:05 AM, John Colvin wrote:
On Wednesday, 15 June 2016 at 11:47:00 UTC, Walter Bright wrote:
On 6/15/2016 4:07 AM, Edwin van Leeuwen wrote:
How about using reggae?
https://github.com/atilaneves/phobos/blob/reggae/reggaefile.d
I haven't studied either.
If you do study that
On Wednesday, 15 June 2016 at 07:08:22 UTC, Walter Bright wrote:
On 6/14/2016 9:57 PM, tsbockman wrote:
The intent is just as clear this way, and it's less verbose.
Ok. I'd just change the constraint to:
if (isIntegral!N || isCheckedint!N)
You can do the qualification machinations using
1 - 100 of 193 matches
Mail list logo