On Monday, 12 February 2018 at 05:37:23 UTC, ketmar wrote:
Norm wrote:
Hi,
I'm new to D so can someone explain to me what is happening
here?
void func(const char* s, char** e) {
import core.stdc.stdlib;
auto result = strtod(s, e);
}
Error: function core.stdc.stdlib.strtod
On Wednesday, 7 February 2018 at 21:33:22 UTC, Jacob Carlborg
wrote:
This has been long overdue but I would like to announce that
I've just released an official Dub package for the DWT library
[1]. For a usage example, please see the GitHub page [2].
For those not familiar with DWT, it's a
On Saturday, 27 January 2018 at 22:53:37 UTC, Ali Çehreli wrote:
On 01/27/2018 10:33 AM, kdevel wrote:
I suggest the deletion of the sentence "Use assert in
contracts."
Done.
Ali
Wait, no this isn't right, is it? Enforce should not be used in
contracts so the "Use assert in contracts"
On Wednesday, 24 January 2018 at 04:15:27 UTC, Mike Franklin
wrote:
On Wednesday, 24 January 2018 at 03:46:41 UTC, lobo wrote:
Well if your embedded device has all that on it you should be
sitting on an OS with proper memory management support.
I don't see how the OS can help if the
On Wednesday, 24 January 2018 at 02:28:12 UTC, Mike Franklin
wrote:
On Wednesday, 24 January 2018 at 01:44:51 UTC, Walter Bright
wrote:
Microcontroller code tends to be small and so it's unlikely
that you'll need to worry about it.
I think you need to get involved in programming
On Monday, 15 January 2018 at 19:05:52 UTC, xenon325 wrote:
A workmate has recently shown this piece of code to show how
nice Python is (we are mostly C and growing C++ shop):
[...]
Well if that is what they can do in Python I'd hate to see their
C++! They have done a great job making
On Monday, 1 January 2018 at 05:29:06 UTC, Ali wrote:
On Tuesday, 19 December 2017 at 09:54:05 UTC, Walter Bright
wrote:
"C, Python, Go, and the Generalized Greenspun Law"
http://esr.ibiblio.org/?p=7804
So .. and this is more of a question, to the maintainers and
creators of D, what does
On Thursday, 7 December 2017 at 01:21:11 UTC, Nicholas Wilson
wrote:
I'd like to add an attribute to indicate that the annotated
function is only available at compile time so that in cases
where the operation is invalid at runtime (strings and
concatenation on a GPU for instance) but the
On Friday, 24 November 2017 at 23:36:08 UTC, Bobb wrote:
On Friday, 24 November 2017 at 20:29:23 UTC, codephantom wrote:
On Friday, 24 November 2017 at 12:10:28 UTC, Nick Treleaven
wrote:
On Thursday, 23 November 2017 at 06:35:17 UTC, codephantom
wrote:
I love not being able to edit posts.
On Wednesday, 22 November 2017 at 09:36:43 UTC, Dukc wrote:
On Wednesday, 22 November 2017 at 08:03:50 UTC, Fra Mecca wrote:
void main()
{
auto v = ["r", "i", "o"];
assert ("r" in v);
}
Also note that even if it wereimplemented, you search for 'r'
instead of "r". "r" is a
On Tuesday, 14 November 2017 at 04:31:43 UTC, Laeeth Isharc wrote:
He mentions D, a bit dismissively.
http://esr.ibiblio.org/?p=7724=1#comment-1912717
"[snip]...Then came the day we discovered that a person we
incautiously gave commit privileges to had fucked up the games’s
AI core. It
On Sunday, 12 November 2017 at 08:04:37 UTC, MGW wrote:
QtE5 - gained further development. The new mechanism of
operation with memory
is realized that allowed will get rid of crash of applications
in case of completion.
The summary code amount increases all the time. New classes
from Qt are
On Friday, 20 October 2017 at 10:47:57 UTC, Andrew Edwards wrote:
Given a documented source file (eg. process.d), I can generate
the DDOC version of the documentation with the -D switch of DMD
as such:
$ dmd -Dfprocess.html process.d
What do I modify on that line to get the DDOX version
On Thursday, 19 October 2017 at 21:18:43 UTC, Rion wrote:
On Thursday, 19 October 2017 at 18:10:04 UTC, H. S. Teoh wrote:
Told by whom?
The responses here seem to be a good indicator that he is
wasting his time. The past responses in similar topics.
Even Andrei or Walter can be convinced
On Monday, 16 October 2017 at 07:28:03 UTC, Nick Sabalausky
(Abscissa) wrote:
Does Phobos have a way to "tee" a range?
For example, suppose you had something like this:
[...]
https://dlang.org/phobos/std_range.html#tee ?
On Sunday, 15 October 2017 at 20:18:37 UTC, Mike Wey wrote:
GtkD is a D binding and OO wrapper of Gtk+ and is released on
the LGPL license.
Apart form the biannual update to the latest glib/gtk version,
this release adds bindings for Gstreamer Mpegts and Gstreamer
AppSink.
Full changelog:
On Monday, 9 October 2017 at 00:24:02 UTC, Jonathan M Davis wrote:
I've wanted this for ages and just figured out how to do it, so
I figured that I'd share for those vim users who care.
[...]
This presentation gave me a few vim ideas, you might also like it.
On Tuesday, 12 September 2017 at 19:59:52 UTC, Joseph wrote:
On Tuesday, 12 September 2017 at 10:08:11 UTC, Moritz Maxeiner
wrote:
[...]
The compiler shouldn't arbitrarily force one to make arbitrary
decisions that waste time and money.
My solution was to turn those static this's in to
On Monday, 11 September 2017 at 23:24:32 UTC, user1234 wrote:
On Monday, 11 September 2017 at 23:01:06 UTC, Walter Bright
wrote:
Here are some D-Man cartoons:
https://github.com/dlang/dlang.org/pull/1648
which we sometimes use to decorate D related web pages:
http://dlang.org/safed.html
On Wednesday, 30 August 2017 at 22:21:52 UTC, Johnson wrote:
On Wednesday, 30 August 2017 at 22:07:29 UTC, lobo wrote:
On Wednesday, 30 August 2017 at 20:23:18 UTC, Johnson Jones
wrote:
[...]
Your error message already displays "void
Munchhousin.Munchhousin.Go!(short).Go()"
Is this not
On Wednesday, 30 August 2017 at 20:23:18 UTC, Johnson Jones wrote:
It would be nice if, when symbols are missing, they are
unmangled!
Error 42: Symbol Undefined
_D12mMunchhousin12iMunchhousin11__T4GoTsZ4GoMFS12mMunchhousin18__T10MunchhousinTsZ10sMunchhousinfE12mMunchhousin9eGoffZv (void
On Wednesday, 30 August 2017 at 20:47:12 UTC, EntangledQuanta
wrote:
This is quite surprising!
public struct S(T)
{
T s;
}
interface I
{
void Go(T)(S!T s);
static final I New()
{
return new C();
}
}
abstract class A : I
{
On Thursday, 24 August 2017 at 05:56:02 UTC, Timothee Cour wrote:
On Wed, Aug 23, 2017 at 10:38 PM, lobo via Digitalmars-d
<digitalmars-d@puremagic.com> wrote:
On Thursday, 24 August 2017 at 01:51:25 UTC, Timothee Cour
wrote:
[...]
nim:
it supports both targetting C++ (as wel
://github.com/Syniurge/Calypso/issues/41, hoping someone
can help here!
On Wed, Aug 23, 2017 at 3:57 PM, lobo via Digitalmars-d
<digitalmars-d@puremagic.com> wrote:
[...]
Thanks, I'll revisit Nim. As a team we're testing new languages
as a larger plan to switch from C++. Nim we struck
On Wednesday, 23 August 2017 at 13:25:20 UTC, 12345swordy wrote:
On Tuesday, 22 August 2017 at 19:55:53 UTC, Jacob Carlborg
wrote:
On 2017-08-22 19:47, 12345swordy wrote:
Use Clang frontend?
DStep [1] is doing that. It handles both GCC and Microsoft
extensions.
[1]
On Monday, 7 August 2017 at 00:07:26 UTC, Johnson Jones wrote:
On Sunday, 6 August 2017 at 23:11:56 UTC, Nicholas Wilson wrote:
On Sunday, 6 August 2017 at 19:56:06 UTC, Johnson Jones wrote:
[...]
It is deliberately not possible. reproducible builds security
ect.
have a look at dubs
On Friday, 16 June 2017 at 03:53:18 UTC, Mike B Johnson wrote:
Seriously! D is starting to gain momentum and if things are not
stabilized it's going to slow D down.
[...]
I don't know what is so hard about tar -zxvf dmd.XYZ.tar.xz or
unzip dmd.XYZ.zip. Am I missing something?
Perhaps
On Thursday, 15 June 2017 at 04:14:22 UTC, Timothee Cour wrote:
Msgpack rpc with vibe.d works. We used it.
you mean with msgpackrpc-d? If so, it works, until you run into
https://github.com/msgpack-rpc/msgpack-rpc-d/issues/16 (when
server sends >= 4090 bytes, client hangs forever).
we
On Thursday, 2 March 2017 at 20:42:56 UTC, Philippe Sigaud wrote:
Hi,
Pegged is a parser generator based on Parsing Expression
Grammars (PEG) written in D, that aims to be both simple to use
and work at compile-time.
[...]
Thanks! This is my all time favourite D library.
On Wednesday, 1 March 2017 at 06:19:30 UTC, lobo wrote:
On Wednesday, 1 March 2017 at 05:18:59 UTC, Adam D. Ruppe wrote:
I stumbled across std.typecons.Unique in my doc website today
and realized there was a postblit in the source, but I didn't
display the documentation comment.
[...]
Is
On Wednesday, 1 March 2017 at 05:18:59 UTC, Adam D. Ruppe wrote:
I stumbled across std.typecons.Unique in my doc website today
and realized there was a postblit in the source, but I didn't
display the documentation comment.
[...]
Is it possible to use your tool to generate the docs for my
On Thursday, 12 January 2017 at 07:24:43 UTC, aberba wrote:
On Wednesday, 11 January 2017 at 15:33:36 UTC, Sai wrote:
After all, when someone wants a cross platform D GUI library,
the ONLY current usable choice is DLangUI.
I disagree. There is no need for a pure D GUI library. It is a
On Tuesday, 20 December 2016 at 08:20:32 UTC, LiNbO3 wrote:
On Tuesday, 20 December 2016 at 06:42:10 UTC, lobo wrote:
On Tuesday, 20 December 2016 at 04:38:03 UTC, Jerry wrote:
On Tuesday, 20 December 2016 at 04:14:33 UTC, Andrei
Alexandrescu wrote:
On 12/19/2016 11:12 PM, Andrei Alexandrescu
On Tuesday, 20 December 2016 at 04:38:03 UTC, Jerry wrote:
On Tuesday, 20 December 2016 at 04:14:33 UTC, Andrei
Alexandrescu wrote:
On 12/19/2016 11:12 PM, Andrei Alexandrescu wrote:
[...]
https://issues.dlang.org/show_bug.cgi?id=16991
Another issue onto the list of thousands, to collect
On Sunday, 18 December 2016 at 03:05:13 UTC, Whatsthisnow wrote:
On Sunday, 18 December 2016 at 00:10:47 UTC, sarn wrote:
[...]
I am basing the kernel on Linux because, well, I like Linux,
and its the only complete kernel with free source that I
currently know of. Given that it is widely
On Saturday, 3 December 2016 at 17:29:47 UTC, rumbu wrote:
On Saturday, 3 December 2016 at 16:37:21 UTC, Jerry wrote:
On Saturday, 3 December 2016 at 11:52:00 UTC, rumbu wrote:
[...]
[...]
[...]
Is that the exact code? isInputRange checks to see if the type
has "front" defined.
On Sunday, 27 November 2016 at 05:43:11 UTC, Shachar Shemesh
wrote:
On 26/11/16 07:50, Walter Bright wrote:
I'd like to know what really happened with the code.
But as someone who has worked on flight critical systems for
airliners,
the designs are required to account for any single failure
On Thursday, 17 November 2016 at 09:40:45 UTC, Carlin St Pierre
wrote:
Is it possible to get the list of usages of a template during
compile time?
For example:
class Foo
{
void bar(T)(T t)
{
}
}
void main()
{
Foo foo = new Foo;
foo.bar(1); // int
On Tuesday, 15 November 2016 at 15:23:29 UTC, Adrian Matoga wrote:
On Tuesday, 15 November 2016 at 11:13:54 UTC, Jot wrote:
On Tuesday, 15 November 2016 at 09:39:09 UTC, Adrian Matoga
wrote:
On Friday, 11 November 2016 at 09:47:21 UTC, Robert burner
Schadek wrote:
I used text files and LaTeX
On Friday, 4 November 2016 at 14:37:04 UTC, bluphantom91 wrote:
On Friday, 4 November 2016 at 02:59:49 UTC, Paul Backus wrote:
On Friday, 4 November 2016 at 02:28:17 UTC, bluphantom91 wrote:
Hello,
I am trying to finish up a group project but I am running
into a small problem. I keep getting
On Wednesday, 12 October 2016 at 02:18:47 UTC, TheFlyingFiddle
wrote:
On Wednesday, 12 October 2016 at 01:22:04 UTC, lobo wrote:
Hi,
I'm coming from C++ and wondered if the pattern below has an
equivalent in D using structs. I could just use classes and
leave it up to the caller to use
Hi,
I'm coming from C++ and wondered if the pattern below has an
equivalent in D using structs. I could just use classes and leave
it up to the caller to use scoped! as well but I'm not sure how
that will play out when others start using my lib.
Thanks,
lobo
module A;
class Base1 {
On Thursday, 8 September 2016 at 12:36:29 UTC, drug wrote:
08.09.2016 15:24, lobo пишет:
[...]
is address of the variable c, that is allocated on the stack
and has the same address on every iteration
cast(void*)c return the value of variable c that is address of
a class instance and is
On Thursday, 8 September 2016 at 12:28:55 UTC, Meta wrote:
On Thursday, 8 September 2016 at 12:24:48 UTC, lobo wrote:
[...]
I don't have time to explain at the moment, but change the ``
to `cast(void*)c` and you will see what you expect. I will post
an explanation soon.
Thanks for the
I am confused, which is normal, but I'd appreciate some help :-)
If I create N classes in a for loop they are all the same
instance. I would expect each to be a unique instance of the
class. See the code below
---
class C {}
void main() {
import std.stdio;
auto c1 = new C();
On Friday, 26 August 2016 at 21:26:13 UTC, unDEFER wrote:
Hello!
I'm trying compile SDL "Hello, World"
---
import std.stdio;
import derelict.sdl2.sdl;
//Screen dimension constants
const int SCREEN_WIDTH = 640;
const int SCREEN_HEIGHT = 480;
int main()
{
DerelictSDL2.load();
On Monday, 15 August 2016 at 07:10:00 UTC, ZombineDev wrote:
On Monday, 15 August 2016 at 04:56:07 UTC, Joseph Rushton
Wakeling wrote:
On Sunday, 14 August 2016 at 10:11:25 UTC, Guillaume Chatelet
wrote:
Isn't it what a scoped class is supposed to provide?
class Rnd {}
void foo() {
scope
On Wednesday, 10 August 2016 at 00:27:44 UTC, lobo wrote:
On Tuesday, 9 August 2016 at 08:49:43 UTC, timepp wrote:
[...]
Have you tried "targetName":"tckeyex.wdx" ?
To get a different name for 32/64 bit you may require a
configuration for each and run
$ dub build -cx86 release
$ dub build
On Tuesday, 9 August 2016 at 08:49:43 UTC, timepp wrote:
I'm writing a Total Commander plugin, which has the "wdx" file
extension, so I wish to let dub generate xxx.wdx directly but
not xxx.dll.
How can I write my file to achieve this goal?
---
my dub.json:
{
"name": "tckeyex",
On Wednesday, 3 August 2016 at 15:41:55 UTC, llaine wrote:
void foo(string str)
{
writeln(str);
}
shouldn't foo be:
void foo(char* str) {
import std.string;
writeln(str.fromStringz);
}
bye,
lobo
On Thursday, 21 July 2016 at 16:35:44 UTC, Ali Çehreli wrote:
Stealing the opportunity to announce this news... :)
https://www.youtube.com/playlist?list=PL3jwVPmk_PRyTWWtTAZyvmjDF4pm6EX6z
Reddit:
https://www.reddit.com/r/programming/comments/4txf9w/dconf_2016_video_playlist/
Ali
On Sunday, 17 July 2016 at 05:57:52 UTC, WhatMeWorry wrote:
[snip]
Now that I think about, was there even a way to look at c/c++
code after the pre-processor step?
Does this do what you want?
cl.exe /E
gcc -E
clang -E
clang-cl /E
On Tuesday, 5 July 2016 at 03:32:25 UTC, WhatMeWorry wrote:
Just learning Linux. Got my first vibe/dub project which dies
at:
[...]
You need to install sqlite3, or download and build it yourself,
to get libsqlite3.a. I don't use Ubuntu so not sure of the
package but you will be able to
On Thursday, 30 June 2016 at 11:09:10 UTC, ketmar wrote:
On Thursday, 30 June 2016 at 10:36:44 UTC, qznc wrote:
Off-topic: Is it possible/feasible/desirable to let dmd use
dub packages?
please, no. not everybody out there is dub fan.
You can always use dub to fetch packages into
On Thursday, 16 June 2016 at 03:56:02 UTC, tsbockman wrote:
On Thursday, 16 June 2016 at 02:53:38 UTC, Andrei Alexandrescu
wrote:
[...]
Numerous other mentions were made of this project in various
contexts on the forums, in GitHub pull requests, and on the bug
tracker - including
On Thursday, 17 March 2016 at 16:17:46 UTC, Karabuta wrote:
Are there any female programmers using D? :)
Moreover, the socia Media representation of D sucks. I think we
need a female, at least someone soft and mortal who actually
understand how to communicate and build a community. Coders
On Thursday, 17 March 2016 at 22:36:41 UTC, maarten van damme
wrote:
This very sexist and you are clearly either very young or a
closet
misogynist
Great, so you answer a poorly thought out attempt to encourage
women to join this community by bashing on younger people?
The comments don't
On Wednesday, 10 February 2016 at 02:11:25 UTC, Laeeth Isharc
wrote:
http://sealedabstract.com/rants/conduct-unbecoming-of-a-hacker/
(His particular suggestion about accept patches by default is
not why I post this).
'
We’re all talk
[...]
On Wednesday, 10 February 2016 at 02:11:25 UTC,
On Thursday, 28 January 2016 at 22:30:51 UTC, nbro wrote:
I have loved C++ when I first started learning it a pair of
years ago (then I stopped for some time for some work reasons),
and quite recently I have discovered D, which seems apparently
a better language from the design point of view,
On Sunday, 10 January 2016 at 22:46:34 UTC, JohnCK wrote:
First of all, the site looks better than the old version.
Congratulations and now the criticism:
I don't want to hurt anybody's feelings. But look the DMD's
Image compared to GDC and LDC: http://i.imgur.com/TrnuxcB.jpg
Really looks
On Monday, 21 December 2015 at 04:20:16 UTC, Jay Norwood wrote:
I pulled down the std.experimental.ndslice examples and am
attempting to build some of the examples and understand the
types being used.
I know don't need all these imports, but it is hard to guess
which ones are needed, and the
On Sunday, 13 December 2015 at 05:10:17 UTC, Jack Stouffer wrote:
This is the voting thread to decide if the proposed addition to
Phobos, std.experimental.ndslice, should be accepted.
[...]
Yes
On Sunday, 6 December 2015 at 05:12:29 UTC, mattcoder wrote:
On Wednesday, 2 December 2015 at 22:17:20 UTC, Walter Bright
wrote:
Dlang.org gets an "A" now! Thanks to Jan Knepper's efforts.
This is what I get when I try: https://www.dlang.org/
"Your connection is not private
Attackers might
On Tuesday, 1 December 2015 at 09:43:24 UTC, Idan Arye wrote:
Red is not Rebol2 compatible - it's outright impossible to have
a single script file that'll run without errors on both Rebol2
and Red. The reason is that Rebol2 requires the first thing in
the file to be a `REBOL` preamble, while
On Tuesday, 1 December 2015 at 02:46:46 UTC, lobo wrote:
On Monday, 30 November 2015 at 21:05:08 UTC, Ola Fosheim
Grøstad wrote:
On Monday, 30 November 2015 at 20:42:23 UTC, Suliman wrote:
[...]
No, I wasn't really talking about a build system for D, more
like a hypothetic generic
On Monday, 30 November 2015 at 21:05:08 UTC, Ola Fosheim Grøstad
wrote:
On Monday, 30 November 2015 at 20:42:23 UTC, Suliman wrote:
Should we try to implement yet another language for writing
building config?
No, I wasn't really talking about a build system for D, more
like a hypothetic
On Monday, 30 November 2015 at 08:37:04 UTC, TheDGuy wrote:
Hi,
is there any possibility, to draw with a pixelbuffer to a
surface (for example with GTKD) and to update it every few
milliseconds?
Are any of these suitable for your needs?
https://github.com/DerelictOrg/DerelictSDL2
On Wednesday, 25 November 2015 at 10:17:02 UTC, Suliman wrote:
I think that using SDL format was big mistake. Not only I do
not want to spend time in learning yet another dead config
format that now use only one project -- DUB. In time when DUB
used json it was not perfect, but at last it was
On Sunday, 29 November 2015 at 01:20:41 UTC, lobo wrote:
On Wednesday, 25 November 2015 at 10:17:02 UTC, Suliman wrote:
[...]
A 20-page bikeshedding bonanza! Atypical D forums...and a pity
that the priorities of core D devs is diverted to this spittle
of a forum post when D has much bigger
On Wednesday, 25 November 2015 at 08:41:05 UTC, Iain Buclaw wrote:
On 24 November 2015 at 19:04, duff via Digitalmars-d <
digitalmars-d@puremagic.com> wrote:
[...]
If members wish to leave, they may request to do so. Ousting
people is not an acceptable attitude towards any member in our
On Wednesday, 25 November 2015 at 16:11:56 UTC, Radek wrote:
Hi, I'm making a trying to bind a gsl library
http://www.gnu.org/software/gsl/ so far it was working but when
i started binding complex numbers some functions won't work,
like trigonometric functions - called they return null.
in
On Wednesday, 18 November 2015 at 03:04:49 UTC, Rikki Cattermole
wrote:
On 18/11/15 12:35 PM, Wild wrote:
Hey!
I have recently started working on a 64bit kernel written in
only D (and
a little bit of assembly where it is really needed).
I finally got it to boot today in 64bit mode. All it
On Monday, 16 November 2015 at 22:39:17 UTC, Dan wrote:
I am a very new c++ programmer, having just learned the
language this year.
A few months ago I completed a course on Coursera that dealt
with the security aspect of c (which I don't know, but it is
similar enough):
On Monday, 16 November 2015 at 00:50:50 UTC, Adam D. Ruppe wrote:
On Monday, 16 November 2015 at 00:40:33 UTC, The Old One wrote:
My point: until you can easily write D bare-metal code,
without any runtime, and honestly without garbage collection,
it just isn't a Real Systems Language.
It
On Thursday, 12 November 2015 at 02:36:23 UTC, lobo wrote:
On Tuesday, 10 November 2015 at 14:25:19 UTC, steven kladitis
wrote:
On Tuesday, 10 November 2015 at 05:14:29 UTC, lobo wrote:
[...]
with dmd 2.069
I always get
--> [1
and then the error no matter what I canhe that line to.
Hmm,
On Tuesday, 10 November 2015 at 14:25:19 UTC, steven kladitis
wrote:
On Tuesday, 10 November 2015 at 05:14:29 UTC, lobo wrote:
On Tuesday, 10 November 2015 at 04:34:22 UTC, Cauterite wrote:
Here's the output I get (DMD v2.068.2):
[1, 3, 10, 12, 21, 30, 100, 102, 111, 120, 201, 210]
On Tuesday, 10 November 2015 at 04:34:22 UTC, Cauterite wrote:
Here's the output I get (DMD v2.068.2):
[1, 3, 10, 12, 21, 30, 100, 102, 111, 120, 201, 210]
core.exception.AssertError@std\range\package.d(4603): Assertion
failure
iota.front() is complaining the range is empty from this line.
On Thursday, 29 October 2015 at 06:13:17 UTC, guodemone wrote:
衷心的谢谢你,(very veryvery thank you in english)
You're welcome, hope it helps :)
On Wednesday, 28 October 2015 at 11:01:14 UTC, guodemone wrote:
My english is poor.
My code to build is wrong.so need make some improvements.
I would like to refer to your 32-bit code, make some
improvements.
My Email: 704975...@qq.com
very very thank you.
I've uploaded a dummy kernel
On Tuesday, 27 October 2015 at 12:13:13 UTC, guodemone wrote:
sorry,My english is poot.
file asm.h
[...]
Can ldc work with C header files? I don't think it can but I
could be wrong.
Here's how I build my 32-bit bootloader and link with my kernel
main (you will have to replace names
On Monday, 26 October 2015 at 19:31:26 UTC, Ulrich Küttler wrote:
On Wednesday, 21 October 2015 at 18:49:26 UTC, Andrei
Alexandrescu wrote:
On 10/21/2015 12:25 PM, Jonathan M Davis wrote:
My experience with immutable containers is that their
performance is
trash precisely because you can't
On Thursday, 8 October 2015 at 09:17:16 UTC, Martin Nowak wrote:
On Thursday, 8 October 2015 at 04:53:53 UTC, Suliman wrote:
Is it DDMD based release?
Yes.
Is there any info on the benchmarking between DDMD and DMD?
bye,
lobo
PS: Big thanks for the much improved release process that you
On Thursday, 1 October 2015 at 05:47:25 UTC, Eric Niebler wrote:
...[snip]...
Hope that clears things up.
It does, thank you.
Eric
P.S. I see lots of people here assuming that C++ is playing
catch-up to D because D has ranges and C++ doesn't yet. That is
ignoring the long history of
On Wednesday, 30 September 2015 at 22:51:24 UTC, H. S. Teoh wrote:
On Wed, Sep 30, 2015 at 10:32:16AM -0400, Andrei Alexandrescu
[...]
I watched most of the video (mainly the first half where he
goes through the C++ version of the code), and I have to
confess I couldn't help noticing just
On Thursday, 1 October 2015 at 01:54:22 UTC, bitwise wrote:
On Thursday, 1 October 2015 at 01:32:17 UTC, bitwise wrote:
I don't think it would be that hard to make something this
possible:
for(int x : iota(0, 5).to(3))
printf("%d ", x);
Curiosity got the best of me:
On Tuesday, 29 September 2015 at 05:24:49 UTC, tcak wrote:
[snip]
Why not DUB?
I have never use DUB ever, and not planning to use it. Nobody
else has to use it as well. I don't think anyone should be
forced for this. The proposed feature allows to simplify
downloading
On Monday, 28 September 2015 at 21:40:45 UTC, Freddy wrote:
Are any D idioms you use that you like to share?
Heres one of mine
---
enum ctfe =
{
return 0xdead & 0xbad;
}();
---
What does this do and where would it be useful in my code?
For D idioms I usually go here...you may want to
On Wednesday, 23 September 2015 at 16:22:02 UTC, Nick Sabalausky
wrote:
[snip[
FWIW, Python hit pretty big success with a different approach:
Appeal to people's innate desire for instant gratification. By
the time they discover the downsides, they're already
knee-deep. (Obviously I'm not
On Wednesday, 19 August 2015 at 00:57:32 UTC, Ali Çehreli wrote:
I am very happy! :)
It will be available on many other distribution channels like
Amazon in a few days as well but the following is the link that
pays me the most royalty:
https://www.createspace.com/5618128
This revision
On Wednesday, 2 September 2015 at 04:04:54 UTC, Sergei Degtiarev
wrote:
On Wednesday, 2 September 2015 at 02:50:30 UTC, Jonathan M
Davis wrote:
is undefined behavior. So, don't do it.
I don't. Actually, I'm looking for opposite - to protect data,
like it is a class with two methods, returning
On Tuesday, 18 August 2015 at 18:22:09 UTC, Mint wrote:
On Thursday, 13 August 2015 at 14:31:10 UTC, karabuta wrote:
Oh! someone thinks typescript is a programming language.
Typescript runs in which browser? :) (Because when I use
typescript, I worry about two things in my development
On Wednesday, 12 August 2015 at 18:57:05 UTC, Adam D. Ruppe wrote:
I've been looking at a company's build system recently and it
makes me think this is a bad idea: we have enough problems
tracking import dependencies and changes as it is without other
files being written in the middle of the
On Monday, 10 August 2015 at 07:50:29 UTC, Ola Fosheim Grøstad
wrote:
Ugh… please don't add more ugly features that has to be ripped
out to bring the language to a sane state.
A compiler should be able to compile all programs on a read
only filesystem. If the language requires a filesystem
On Friday, 7 August 2015 at 04:56:39 UTC, Rikki Cattermole wrote:
*whispers* Hey hey you. You want tests? Well here is something
you'll like[0]. Oh and check out[1].
[0] http://www.libpng.org/pub/png/pngsuite.html
[1]
http://forum.dlang.org/post/zxbexpwmirzdkewhq...@forum.dlang.org
Well
On Thursday, 6 August 2015 at 22:48:50 UTC, Tofu Ninja wrote:
I really feel like D needs to get over it's not invented here
syndrome, a much easier path would to just use a pre existing
cross platform windowing library. Its laughable that the people
in D want to reinvent this stuff. It's been
On Friday, 31 July 2015 at 23:59:07 UTC, Yuxuan Shui wrote:
On Friday, 31 July 2015 at 22:40:25 UTC, Trent Forkert wrote:
On Friday, 31 July 2015 at 00:13:42 UTC, Yuxuan Shui wrote:
[...]
Oh hey, that's me!
[...]
I've got a handful of work-in-progress changes I've yet to
push publicly,
On Thursday, 30 July 2015 at 21:27:09 UTC, deadalnix wrote:
On Thursday, 30 July 2015 at 15:10:59 UTC, Brandon Ragland
wrote:
It's a dog because Java is a dog. But that's not because of
the GC.
It's not really that bad either, I can open up Minecraft at
any time and have it sit in the
On Tuesday, 28 July 2015 at 07:42:32 UTC, Daniel Kozák wrote:
Even if this will be considered as non compiler bug, it is a
regression on phobos side and should be addressed. So please
fill a bug report on http://issues.dlang.org
done,
thanks
https://issues.dlang.org/show_bug.cgi?id=14842
Hi all,
I have a bunch of unittests for template code taking any numeric
type. Because I'm lazy I just use the approxEqual for both
floating point and integer comparisons in these tests.
In DMD 2067.1 everthing compiled OK but in 2068-b2 I get the
errors shown at the end of this post for
Hi,
In C++ it's important to layout struct/class members correctly
for performance reasons.
Is the same true in D?
Thanks,
lobo
1 - 100 of 136 matches
Mail list logo