On 2011-05-18 06:35, Nick Sabalausky wrote:
Jacob Carlborgd...@me.com wrote in message
news:iquopl$1l9u$1...@digitalmars.com...
I just released a new version of DVM, 0.2.0.
For installation instructions see: https://bitbucket.org/doob/dvm
Changelog:
Version 0.2.0
New/Change Features
*
Jacob Carlborg d...@me.com wrote in message
news:iqvpon$6p0$1...@digitalmars.com...
On 2011-05-18 06:35, Nick Sabalausky wrote:
Sounds cool, but dvm-0.2.0-linux-32 is just giving me Illegal
instruction
on Kubuntu 10.04 x86-32. And I don't see any instructions for how to
build
it anywhere
Nick Sabalausky a@a.a wrote in message
news:iqvru7$cnu$1...@digitalmars.com...
Jacob Carlborg d...@me.com wrote in message
news:iqvpon$6p0$1...@digitalmars.com...
On 2011-05-18 06:35, Nick Sabalausky wrote:
Sounds cool, but dvm-0.2.0-linux-32 is just giving me Illegal
instruction
on
On 18.05.2011 05:47, Nick Sabalausky wrote:
Goldie Parsing System v0.5 is now out. This version focuses mainly on speed
improvements.
== Links: ==
Homepage and Documentation:
http://www.semitwist.com/goldie/
Prepackaged Downloads:
On 17/05/11 23.15, Jacob Carlborg wrote:
I just released a new version of DVM, 0.2.0.
For installation instructions see: https://bitbucket.org/doob/dvm
Changelog:
Version 0.2.0
New/Change Features
* 64bit version now available on Linux
* It's now possible to update an already existing DVM
On 2011-05-18 09:15, Nick Sabalausky wrote:
Jacob Carlborgd...@me.com wrote in message
news:iqvpon$6p0$1...@digitalmars.com...
On 2011-05-18 06:35, Nick Sabalausky wrote:
Sounds cool, but dvm-0.2.0-linux-32 is just giving me Illegal
instruction
on Kubuntu 10.04 x86-32. And I don't see any
On 2011-05-18 10:21, Nick Sabalausky wrote:
Nick Sabalauskya@a.a wrote in message
news:iqvru7$cnu$1...@digitalmars.com...
Jacob Carlborgd...@me.com wrote in message
news:iqvpon$6p0$1...@digitalmars.com...
On 2011-05-18 06:35, Nick Sabalausky wrote:
Sounds cool, but dvm-0.2.0-linux-32 is
Am 18.05.2011 14:21, schrieb Steven Schveighoffer:
On Wed, 18 May 2011 03:15:50 -0400, Nick Sabalausky a@a.a wrote:
But the bottom line seems to be: Linux is in a bigger DLL hell than
windows
has ever been, and I don't think *anyone* actually knows how to do it.
This is one of the side
On 2011-05-18 14:21, Steven Schveighoffer wrote:
On Wed, 18 May 2011 03:15:50 -0400, Nick Sabalausky a@a.a wrote:
But the bottom line seems to be: Linux is in a bigger DLL hell than
windows
has ever been, and I don't think *anyone* actually knows how to do it.
This is one of the side effects
On Wed, 18 May 2011 10:47:02 -0400, Daniel Gibson metalcae...@gmail.com
wrote:
Am 18.05.2011 14:21, schrieb Steven Schveighoffer:
At my previous company, we integrated software from pure software
companies into their required OSes and hardware, and did all the
OS/hardware dirty work for
Am 18.05.2011 17:20, schrieb Steven Schveighoffer:
On Wed, 18 May 2011 10:47:02 -0400, Daniel Gibson
metalcae...@gmail.com wrote:
Am 18.05.2011 14:21, schrieb Steven Schveighoffer:
At my previous company, we integrated software from pure software
companies into their required OSes and
On 18/05/2011 16:20, Steven Schveighoffer wrote:
Printer support is woefully missing. My 2-year old printer still isn't
supported on Linux.
Now this is beyond me. Everyone I've talked to says printer support in
Linux sucks, but I've been through several printers, and Linux has been
the only
On Wed, 18 May 2011 14:51:18 -0400, Robert Clipsham
rob...@octarineparrot.com wrote:
On 18/05/2011 16:20, Steven Schveighoffer wrote:
Printer support is woefully missing. My 2-year old printer still isn't
supported on Linux.
Now this is beyond me. Everyone I've talked to says printer
Am 18.05.2011 21:22, schrieb Steven Schveighoffer:
On Wed, 18 May 2011 14:51:18 -0400, Robert Clipsham
rob...@octarineparrot.com wrote:
On 18/05/2011 16:20, Steven Schveighoffer wrote:
Printer support is woefully missing. My 2-year old printer still isn't
supported on Linux.
Now this is
Jacob Carlborg d...@me.com wrote in message
news:ir0o9o$1st5$1...@digitalmars.com...
On 2011-05-18 14:21, Steven Schveighoffer wrote:
On Wed, 18 May 2011 03:15:50 -0400, Nick Sabalausky a@a.a wrote:
But the bottom line seems to be: Linux is in a bigger DLL hell than
windows
has ever been,
Stephan s...@extrawurst.org wrote in message
news:ir05te$tbd$1...@digitalmars.com...
On 18.05.2011 05:47, Nick Sabalausky wrote:
Goldie Parsing System v0.5 is now out. This version focuses mainly on
speed
improvements.
Great work.
Thanks :)
Is it possible to generate a parser for D
Mr. Fortin, thank you for your thorough response. I have just a few
comments.
On 5/17/11 9:07 PM, Michel Fortin wrote:
On 2011-05-17 20:00:55 -0400, Christopher the Magnificent
ultimatemacfana...@gmail.com said:
Now I understand that another syntax has been nominated to do this job
which is
jdrewsen wrote:
Please see comments below.
Den 17-05-2011 16:42, Andrei Alexandrescu skrev:
Thanks for the response! A few more answers and comments within
(everything deleted counts as sounds great).
On 5/17/11 3:50 AM, Jonas Drewsen wrote:
14. Isn't the max redirect configurable via a
On 2011-05-17 22:15, Andrei Alexandrescu wrote:
On 5/17/11 4:02 AM, Jacob Carlborg wrote:
On 2011-05-16 02:05, Andrei Alexandrescu wrote:
Thanks for your work.
I think there's an important distinction to be made. There are two
APIs being discussed. One is the client interface and the other is
On 18.05.2011 01:18, Jonathan M Davis wrote:
A monotonic clock is as good as you're going to get for accurate stopwatch
functionality. The system cannot possibly do any better than that. Context
switching can always get in the way. Increasing precision doesn't help that.
Probably, you
On 2011-05-18 01:47, Mehrdad wrote:
Is there any (hacky) way of accessing a private field from outside a
data type? (The equivalent of reflection in managed languages.)
I'm trying to write a piece of marshaling code that needs access to a
data type's fields, but can't access them because it's
On 2011-05-18 02:13, Alexander wrote:
On 18.05.2011 01:18, Jonathan M Davis wrote:
A monotonic clock is as good as you're going to get for accurate
stopwatch functionality. The system cannot possibly do any better than
that. Context switching can always get in the way. Increasing precision
const(deref(Object)) ref obj;
deref(Object) a; //hehe.
On 5/18/11 5:30 AM, Jacob Carlborg wrote:
You can have a look at my serialization library, Orange:
http://www.dsource.org/projects/orange
I don't think it works with the latest compilers but you have have a
look at the source:
On 18/05/11 10.09, Johannes Pfau wrote:
jdrewsen wrote:
Please see comments below.
Den 17-05-2011 16:42, Andrei Alexandrescu skrev:
Thanks for the response! A few more answers and comments within
(everything deleted counts as sounds great).
On 5/17/11 3:50 AM, Jonas Drewsen wrote:
14. Isn't
On 18.05.2011 12:12, Jonathan M Davis wrote:
To my knowledge, using the system's monotonic clock is the absolute best that
you're going to get for stuff like benchmarking.
It depends. If system is not busy, then it doesn't really matter - which
clock to use, especially if you take average
On Tue, 17 May 2011 21:26:38 -0400, Jesse Phillips
jessekphillip...@gmail.com wrote:
Syntax has definitely been a major problem for this feature. Walter's
stance has been that he has tried many times to get the semantics and
syntax to work and has given up. michelf (Sorry don't know his
On 2011-05-18 12:32, gölgeliyele wrote:
On 5/18/11 5:30 AM, Jacob Carlborg wrote:
You can have a look at my serialization library, Orange:
http://www.dsource.org/projects/orange
I don't think it works with the latest compilers but you have have a
look at the source:
On Wed, 18 May 2011 02:20:16 -0400, Christopher the Magnificent
ultimatemacfana...@gmail.com wrote:
On 5/17/11 9:07 PM, Michel Fortin wrote:
For
another, it's perfectly in line with how you do it for pointers. Also,
it'll work for 'shared' and 'inout' too (once 'inout' works properly).
Are
Jonas Drewsen wrote:
On 18/05/11 10.09, Johannes Pfau wrote:
jdrewsen wrote:
Please see comments below.
Den 17-05-2011 16:42, Andrei Alexandrescu skrev:
Thanks for the response! A few more answers and comments within
(everything deleted counts as sounds great).
On 5/17/11 3:50 AM, Jonas
std.logging is still alive! After posting my first attempt at a
logging module I went back and spent a lot of time on how I could
improve the API. I would like to say that Andrei's std.log module had
a great influence on the final outcome. There are some aspect of
std.log's API that I really like.
Timon Gehr:
Tuple literals would indeed be very nice.
I have asked for tuple unpacking syntax (and other things like some support
from
the type system). Tuple literals are less needed.
(having syntactic sugar for phobos functionality in the language
seems like a very bad design to me,
This is a review of std.log. Overall, I really like the API exposed by
this module because it allows efficient compile time and run time
configuration. I have limited the review to the API and how the API
affects the implementation. I will review the implementation once the
API is close to final.
On 2011-05-17 23:48:35 -0400, Andrej Mitrovic
andrej.mitrov...@gmail.com said:
So how do functions which take such a parameter look like?
What do you mean by what they'll look like? They'll look like how you
wrote them. I'm not sure I understand the question... but I'll still
try to
On 5/16/2011 10:37 PM, Matthew Ong wrote:
Hi All,
The reason I am starting this thread is to gather some valid/experience that
people do not like about using Go or even Java. Naturally D-programming might
not wants to repeat the same error.
Java:
1) Swing API --- The inheritance tree is too
On 2011-05-17 23:48:35 -0400, Andrej Mitrovic
andrej.mitrov...@gmail.com said:
So how do functions which take such a parameter look like?
What do you mean by what they'll look like? They'll look like how you
wrote them. I'm not sure I understand the question... but I'll still
try to
On 5/18/11 6:07 AM, Jonas Drewsen wrote:
Select will wait for data to be ready and ask curl to handle the data
chunk. Curl in turn calls back to a registered callback handler with the
data read. That handler fills the buffer provided by the user. If not
enough data has been receive an new select
Sean Kelly wrote:
On May 17, 2011, at 2:37 PM, Piotr Szturmaj wrote:
Sean Kelly wrote:
On May 11, 2011, at 3:06 PM, Piotr Szturmaj wrote:
Andrei Alexandrescu wrote:
* can you implement save() to make this a forward range (e.g. by
creating a new fiber that has its own state)?
It is not
On 2011-05-18 10:46:19 -0400, Timon Gehr timon.g...@gmx.ch said:
Given that reference types do not support the semantics asked for at all (with
transitive const/immutable), I think this is as consistent as it can get. (also
way better than objinsert storage specifier here all over the place.)
Thanks to everyone for the help and advice on choosing a build tool for
my D+LLVM project. I settled on Jam (ftjam) in the end, the major factor
being cross-platform support and prebuilt binaries for a variety of
operating systems.
The documentation for Jam I've found is very lacking but have
On 5/18/11 8:00 AM, Jose Armando Garcia wrote:
I also think that having competing logging module is a good thing.
This process will result in a better module for phobos and as a result
a better module for the user.
Clearly there are advantages to competing proposals, but I have mixed
feelings
On May 18, 2011, at 8:00 AM, Piotr Szturmaj wrote:
Sean Kelly wrote:
On May 17, 2011, at 2:37 PM, Piotr Szturmaj wrote:
But couldn't Fiber's stack be scanned for references to itself and
readjusted?
Without type information, there's no way to be sure that something is
actually a
On Wed, 18 May 2011 14:44:33 -0400, David Gileadi gilea...@nspmgmail.com
wrote:
On 5/18/11 11:03 AM, Steven Schveighoffer wrote:
Please, if you have any comments or recommendations, let me know.
First off, this is a fantastic article. Thanks for clearly explaining a
fairly subtle
On 5/18/11 11:03 AM, Steven Schveighoffer wrote:
Please, if you have any comments or recommendations, let me know.
First off, this is a fantastic article. Thanks for clearly explaining a
fairly subtle concept. I'm especially happy to finally understand how
appending to a slice can avoid
Hi,
anyone on the alias difference?
Thanks,
Adrien
On Sat, May 14, 2011 at 20:12, Adrien Chauve adrien.cha...@gmail.comwrote:
Hi,
I've been playing with templates and I get some (really dumb) questions.
By the way, I'm using dmd 2.053 64 bits on linux 64 bits.
First, I didn't really get
Timon Gehr:
Library code should make use of the language to implement its semantics.
Not the other way round.
Why?
Another reason I dislike it: it looks different to other tuple literals
that are already built-in:
foo (note, how, this, is, a, tuple, !);
Looking different from the
Can you build a simple hello world program with just:
dmd hello.d
The build can't find the phobos/druntime libraries for linking.
Chris Molozian Wrote:
[Stuff]
Having seen quite a few incorrect descriptions of how D slices work
(particularly regarding appending), I wrote an article that tries to
describe how D slices work, and why they behave the way they do.
Being one of the only places where I have web space, it's on my
dcollections site, I
On 5/18/2011 10:50 AM, Andrei Alexandrescu wrote:
I sat down to write an announcement to the libcurl mailing list that we have
support for it starting with 2.053. To my surprise, when I tried to provide a
link to the documentation, there wasn't any available.
Furthermore, when I tried to
I sat down to write an announcement to the libcurl mailing list that we
have support for it starting with 2.053. To my surprise, when I tried to
provide a link to the documentation, there wasn't any available.
Furthermore, when I tried to generate documentation it came messed up.
Obviously
I'm challenging to fix title issue.
Related issues in bug tracking system:
http://d.puremagic.com/issues/show_bug.cgi?id=3680
http://d.puremagic.com/issues/show_bug.cgi?id=4053
http://d.puremagic.com/issues/show_bug.cgi?id=4253
I think that follows are correct behavior of dmd.
Please point out
On Wed, 18 May 2011 00:36:26 -0400, Jonathan M Davis jmdavisp...@gmx.com
wrote:
A minor update with a few corrections: http://is.gd/GNELTZ
Naturally, it's also up on my github account:
https://github.com/jmdavis/d-
programming-language.org/tree/article_datetime
One comment:
'It should
On Wed, 18 May 2011 15:11:56 -0400, Adrien Chauve
adrien.cha...@gmail.com wrote:
Hi,
anyone on the alias difference?
I have a feeling that alias needs to be a symbol, and int is a keyword.
a template alias can be any symbol, including a variable, function,
delegate, etc.
Though it
On 5/18/11, David Gileadi gilea...@nspmgmail.com wrote:
There is at least one other place in the document that also make this mistake.
The first sentence! :]
On Wed, 18 May 2011 14:44:33 -0400, David Gileadi gilea...@nspmgmail.com
wrote:
I do have a couple of nits:
Fixed
-Steve
Well consider me enlightened. From all the things I've read before
this article, I thought a slice is a special feature that is only
introduced when you take an [n..m] from an array, e.g. my
understanding was something like:
int[] a = new int[5]; // a is definitely a dynamic array
auto b =
Steven Schveighoffer Wrote:
Having seen quite a few incorrect descriptions of how D slices work
(particularly regarding appending), I wrote an article that tries to
describe how D slices work, and why they behave the way they do.
Still reading, but the example should use assertions which
Steven Schveighoffer schvei...@yahoo.com ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ
ÓÌÅÄÕÀÝÅÅ: news:op.vvou3fbgeav7ka@localhost.localdomain...
Having seen quite a few incorrect descriptions of how D slices work
(particularly regarding appending), I wrote an article that tries to
describe how D slices
Den 18-05-2011 14:52, Johannes Pfau skrev:
Jonas Drewsen wrote:
On 18/05/11 10.09, Johannes Pfau wrote:
jdrewsen wrote:
Please see comments below.
Den 17-05-2011 16:42, Andrei Alexandrescu skrev:
Thanks for the response! A few more answers and comments within
(everything deleted counts as
On Wed, 18 May 2011 16:22:50 -0400, Andrej Mitrovic
andrej.mitrov...@gmail.com wrote:
Well consider me enlightened. From all the things I've read before
this article, I thought a slice is a special feature that is only
introduced when you take an [n..m] from an array, e.g. my
understanding
On Wed, 18 May 2011 16:37:49 -0400, Jesse Phillips
jessekphillip...@gmail.com wrote:
Steven Schveighoffer Wrote:
Having seen quite a few incorrect descriptions of how D slices work
(particularly regarding appending), I wrote an article that tries to
describe how D slices work, and why they
On Wed, 18 May 2011 16:47:47 -0400, Alex_Dovhal alex_dov...@yahoo.com
wrote:
Nice article, very pleasured to read. One thing that strained my mind -
this
exaple:
import std.stdio;
char[] fillAs(char[] buf, size_t num)
{
if(buf.length num)
buf.length = num; // increase buffer
Asserts are kind of like going to court and interpreting the silence
of the jury as a not guilty verdict. :p
On 5/18/2011 2:03 PM, Steven Schveighoffer wrote:
Having seen quite a few incorrect descriptions of how D slices work
(particularly regarding appending), I wrote an article that tries to
describe how D slices work, and why they behave the way they do.
Being one of the only places where I have
Timon Gehr:
Library code should make use of the language to implement its semantics.
Not the other way round.
Why?
Short story: Obvious?
Do you really want to make some non-built-in types more equal than others? Why
would you want to have a dependency cycle between std and the compiler?
On 5/18/11 5:12 PM, Timon Gehr wrote:
Timon Gehr:
Library code should make use of the language to implement its semantics.
Not the other way round.
Why?
Short story: Obvious?
Do you really want to make some non-built-in types more equal than others? Why
would you want to have a dependency
http://bellard.org/jslinux/
Written in JS, emulates x86 CPU without FPU/MMX/SSE. Linux 2.6.20. Even
has C compiler (tcc)!
Anyone to run some D code on the client side? ;)
Den 18-05-2011 16:53, Andrei Alexandrescu skrev:
On 5/18/11 6:07 AM, Jonas Drewsen wrote:
Select will wait for data to be ready and ask curl to handle the data
chunk. Curl in turn calls back to a registered callback handler with the
data read. That handler fills the buffer provided by the user.
Den 18-05-2011 19:59, Walter Bright skrev:
On 5/18/2011 10:50 AM, Andrei Alexandrescu wrote:
I sat down to write an announcement to the libcurl mailing list that
we have
support for it starting with 2.053. To my surprise, when I tried to
provide a
link to the documentation, there wasn't any
On 5/18/11 5:34 PM, jdrewsen wrote:
Den 18-05-2011 19:59, Walter Bright skrev:
On 5/18/2011 10:50 AM, Andrei Alexandrescu wrote:
I sat down to write an announcement to the libcurl mailing list that
we have
support for it starting with 2.053. To my surprise, when I tried to
provide a
link to
On 5/18/11 5:29 PM, jdrewsen wrote:
Den 18-05-2011 16:53, Andrei Alexandrescu skrev:
On 5/18/11 6:07 AM, Jonas Drewsen wrote:
Select will wait for data to be ready and ask curl to handle the data
chunk. Curl in turn calls back to a registered callback handler with the
data read. That handler
Andrei:
One possibility that I hadn't thought before is to use ; for
separating tuple elements. Upon a casual inspection, it turns out no
statement can be enclosed directly in ( and ) so there's no
ambiguity. It would also take care of the issue did you mean to pass
them as function
Steven Schveighoffer Wrote:
I always wonder about that. One of the issues with assert for people
feeling out the language is, a passing assert doesn't seem to do
anything.
For instance, in this example, if you take the code I wrote, and compile
it, you'll get a loud assertion error
Sean Kelly wrote:
On May 18, 2011, at 8:00 AM, Piotr Szturmaj wrote:
Sean Kelly wrote:
On May 17, 2011, at 2:37 PM, Piotr Szturmaj wrote:
But couldn't Fiber's stack be scanned for references to itself and readjusted?
Without type information, there's no way to be sure that something is
1. Background
Hi all, first time posting.
This message is in response to Andrei's first call for feedback on the
proposed std.log interface.
I'm piping up on the log topic because of recent experience using a
logging library (log4cxx) on a project at work.
I'll attempt to identify our
Steven Schveighoffer Wrote:
I always wonder about that. One of the issues with assert for people
feeling out the language is, a passing assert doesn't seem to do
anything.
For instance, in this example, if you take the code I wrote, and compile
it, you'll get a loud assertion error
Jose Armando Garcia wrote:
If serialization will be clever enough, these fibers could even be shared
across different servers! This is really a requirement in load balanced
environments.
A very old research paper (I think it was for the amoeba project)
wrote a long time ago (I don't remember
We should finalize the testable doc snippets. Adam, do you think you
could work on a pull request to integrate your work with
d-programming-language.org? You've done some great work that deserves
finalization.
Thanks,
Andrei
I haven't spent the time to figure out github yet!
On 05/18/2011 08:07 PM, Adam D. Ruppe wrote:
I haven't spent the time to figure out github yet!
Hopefully you'll do that soon. You've done great work, and integrating
it is top priority.
Thanks,
Andrei
On 2011-05-18 12:37, Steven Schveighoffer wrote:
On Wed, 18 May 2011 00:36:26 -0400, Jonathan M Davis jmdavisp...@gmx.com
wrote:
A minor update with a few corrections: http://is.gd/GNELTZ
Naturally, it's also up on my github account:
https://github.com/jmdavis/d-
Hi!
Is this a bug, or is it intentional that this fails? I can't come up
with any case where it would cause a problem, but the compiler doesn't
like the fact that there's a const in the structure:
struct Temp { const int a; int b; }
auto ref foo(Temp* t) { return *t; } //Error
Jonathan M Davis Wrote:
The huge advantage of assert over writeln is that it shows you what the
result
is supposed to be. If you're reading the code or documentation, that's
extremely valuable, whereas writeln is useless. However, if what you're
concerned about is running the code and
On 2011-05-18 20:55, %u wrote:
Hi!
Is this a bug, or is it intentional that this fails? I can't come up
with any case where it would cause a problem, but the compiler doesn't
like the fact that there's a const in the structure:
struct Temp { const int a; int b; }
auto ref
On 2011-05-18 21:09, Jesse Phillips wrote:
Jonathan M Davis Wrote:
The huge advantage of assert over writeln is that it shows you what the
result is supposed to be. If you're reading the code or documentation,
that's extremely valuable, whereas writeln is useless. However, if what
you're
On May 18, 2011, at 5:07 PM, Piotr Szturmaj wrote:
Sean Kelly wrote:
On May 18, 2011, at 8:00 AM, Piotr Szturmaj wrote:
Sean Kelly wrote:
On May 17, 2011, at 2:37 PM, Piotr Szturmaj wrote:
But couldn't Fiber's stack be scanned for references to itself and
readjusted?
Without type
On May 18, 2011, at 5:21 PM, Piotr Szturmaj wrote:
Jose Armando Garcia wrote:
If serialization will be clever enough, these fibers could even be shared
across different servers! This is really a requirement in load balanced
environments.
A very old research paper (I think it was for
On 5/18/2011 9:22 PM, Jonathan M Davis wrote:
On 2011-05-18 20:55, %u wrote:
Hi!
Is this a bug, or is it intentional that this fails? I can't come up
with any case where it would cause a problem, but the compiler doesn't
like the fact that there's a const in the structure:
struct Temp {
On 2011-05-18 21:52, Mehrdad wrote:
On 5/18/2011 9:22 PM, Jonathan M Davis wrote:
On 2011-05-18 20:55, %u wrote:
Hi!
Is this a bug, or is it intentional that this fails? I can't come up
with any case where it would cause a problem, but the compiler doesn't
like the fact that
On 2011-05-17 22:12, Adam D. Ruppe wrote:
side note::
* After looking at haml yesterday, I'm tempted to do a nothrow
requireSelector. Again, can't think of a name.
But what it'd do is try to get the first element that matches the
css syntax. If it's not there, it starts from the best path that
Jesse Phillips Wrote:
writeln(Im still ok)
writeln(myObject is null); // Crash with access violation
try
writeln(I'm still ok);
writeln(0);
writeln(false);
I'm not even accessing myObject, I'm just asking if it has a value it
shouldn't!
Did you try a debugger?
At least, you can see where
Kagamin Wrote:
Jesse Phillips Wrote:
writeln(Im still ok)
writeln(myObject is null); // Crash with access violation
try
writeln(I'm still ok);
writeln(0);
writeln(false);
or
writeln(I'm still ok);
writeln(2);
if(myObject is null)
writeln(3);
else
writeln(4);
writeln(0);
Hi,
From what I can see mixin in D is used in place of #define in
C++(cool!!!). However, I do have a few question.
mixin with template does address some of this issue I supposed. That
does allow me to define up to level of content of a class but is not
class itself.
mixin template
On 5/13/2011 3:51 PM, Alexander wrote:
On 13.05.2011 00:59, Jonathan M Davis wrote:
Still, I wouldn't have though that dashes would have been a big enough deal to
really care.
I didn't say that this is a big deal, just inconvenience.
There are many minor things which are not a big
On 5/18/2011 10:46 PM, Steven Schveighoffer wrote:
but you can do a string mixin to define the entire class. This is not
an easy thing to do, because you'd have to write the entire class as a
string of text.
Thanks for the attempt and sample code.
Seen that script import somewhere before.
Kagamin Wrote:
Jesse Phillips Wrote:
writeln(Im still ok)
writeln(myObject is null); // Crash with access violation
try
writeln(I'm still ok);
writeln(0);
writeln(false);
All those print.
I'm not even accessing myObject, I'm just asking if it has a value it
shouldn't!
Did
On 2011-05-18 20:05, Jonathan M Davis wrote:
On 5/18/2011 10:46 PM, Steven Schveighoffer wrote:
but you can do a string mixin to define the entire class. This is not
an easy thing to do, because you'd have to write the entire class as a
string of text.
Thanks for the attempt and sample code.
On 5/13/2011 3:51 PM, Alexander wrote:
On 13.05.2011 00:59, Jonathan M Davis wrote:
Still, I wouldn't have though that dashes would have been a big enough
deal to really care.
I didn't say that this is a big deal, just inconvenience.
There are many minor things which are not a big
Matthew Ong Wrote:
Perhaps I am missing something here. How can class level definition be
part of the mixin?
Does mixin generate the same binary code as #define as inline code,which
meant that same binary is repeated everywhere that macro is used?
Or does it make a linked to the in a
On 18.05.2011 19:10, Jonathan M Davis wrote:
What D does is completely normal and common. It just doesn't match Java and
C#.
To be honest, I didn't see any single source file with ca. 3 lines in it
(like std.datetime) for quite a while :)
Probably, I am old-fashioned, but this
1 - 100 of 141 matches
Mail list logo