>> LDC can haz.
>>
>
> orly?
>
> As in haz them now? or can potentially haz at some point in the future
> if someone decides to do it?
Can haz now. Currently looking like so
templerror.d(9): Error: identifier 'wrong' is not defined
templerror.d(12): Error: template instance templerror.bar!(int[
On Sat, Dec 13, 2008 at 12:44 PM, Robert Fraser
wrote:
> Bill Baxter wrote:
>>
>> kthx bye.
>> --bb
>
> LDC can haz.
>
orly?
As in haz them now? or can potentially haz at some point in the future
if someone decides to do it?
--bb
Bill Baxter wrote:
kthx bye.
--bb
LDC can haz.
Christopher Wright wrote:
> dsimcha wrote:
>> However, after thinking about it, I doubt D will go the route of
>> moving/more
>> precise GC. I know I've advocated it in the past, but I've realized
>> that false
>> pointers aren't generally that big a deal if you delete a few huge
>> (>1MB) objects
== Quote from Christopher Wright (dhase...@gmail.com)'s article
> It means that you can't use one block for objects of multiple types.
Sure you can, without being any worse off than under the current scheme. Mark
the
contents of the memory as an array of void*s. This would have the same effect
Denis Koroskin wrote:
I don't know if it is a good thing to have. Do you understand how much
bigger executable size becomes?
If the .stringof is only used in templates, then there is no increase --
except insofar as you are able to do more with D, which allows you to
build more and possibly l
dsimcha wrote:
== Quote from Sean Kelly (s...@invisibleduck.org)'s article
== Quote from Christopher Wright (dhase...@gmail.com)'s article
This isn't unreasonable, and it really just depends on how complete and
how fast D's runtime reflection is.
This would incur more memory overhead as well.
Seriously though, I think this is a big hole in the DMD support of templates.
It's very annoying to get a compiler message that consists of nothing but:
" error: ATemplateFunction: int does not have a .length property"
Where ATemplateFunction is something like
void ATemplateFunction(ArrayT)(Arr
Bill Baxter escribió:
kthx bye.
--bb
You can debug DMD's frontend. Or Descent. :-P
(and find bugs in the port, yay!)
== Quote from Sean Kelly (s...@invisibleduck.org)'s article
> == Quote from Christopher Wright (dhase...@gmail.com)'s article
> >
> > This isn't unreasonable, and it really just depends on how complete and
> > how fast D's runtime reflection is.
> This would incur more memory overhead as well. Rig
On Fri, Dec 12, 2008 at 8:39 PM, Walter Bright
wrote:
>
> It's open source. You could fix it .
>
It's also PHP.. good luck finding someone who _wants_ to fix it ;)
Jarrett Billingsley wrote:
On Fri, Dec 12, 2008 at 6:41 PM, Robert Fraser
We have one:
http://www.digitalmars.com/webnews/newsgroups.php?search_txt=&group=digitalmars.D
We have one that doesn't work right. The idea is to create a _new_
one which does ;)
It's open source. You could fix it .
On Fri, Dec 12, 2008 at 6:41 PM, Robert Fraser
wrote:
> dude! sweet! wrote:
>>
>> wouldn't a web-based news-reader solve this problem? I've just did a
>> little search and found: a) http://opensource.polytechnique.org/banana/
>> from the above site: "Banana is a fast (really fast) web-based NNTP
>
== Quote from Christopher Wright (dhase...@gmail.com)'s article
>
> This isn't unreasonable, and it really just depends on how complete and
> how fast D's runtime reflection is.
This would incur more memory overhead as well. Right now, we make
do with one bit per block that indicates whether the
On Sat, 13 Dec 2008 03:27:42 +0300, Christopher Wright
wrote:
Bill Baxter wrote:
On Sat, Dec 13, 2008 at 6:13 AM, Bill Baxter wrote:
Cool. I don't see anything D2 specific there, so I think it should
work in D1 ok.
std.traits.ParameterTypeTuple and std.traits.ReturnType both exist in
D1, i
Bill Baxter wrote:
On Sat, Dec 13, 2008 at 6:13 AM, Bill Baxter wrote:
Cool. I don't see anything D2 specific there, so I think it should
work in D1 ok.
std.traits.ParameterTypeTuple and std.traits.ReturnType both exist in
D1, if that's what you were worried about.
I think there may be a prob
dude! sweet! wrote:
wouldn't a web-based news-reader solve this problem?
I've just did a little search and found:
a) http://opensource.polytechnique.org/banana/
from the above site: "Banana is a fast (really fast) web-based NNTP library with
server side caching "
b) http://rubyforge.org/projec
dsimcha wrote:
However, after thinking about it, I doubt D will go the route of moving/more
precise GC. I know I've advocated it in the past, but I've realized that false
pointers aren't generally that big a deal if you delete a few huge (>1MB)
objects
manually. Furthermore, I think it's neces
So how fast is dmd -o-? Does this pretty much double the compile time?
An option to reuse a previously generated .deps might be nice.
--bb
On Sat, Dec 13, 2008 at 7:18 AM, Sergey Gromov wrote:
> After some twitting ;) here's my Windows shell script (a .cmd file)
> which can effectively replace
== Quote from Sergey Gromov (snake.sc...@gmail.com)'s article
> Fri, 12 Dec 2008 15:05:46 + (UTC), dsimcha wrote:
> > I've been playing around with custom memory allocation schemes for some
> > programs, which are based on regions. These work great, and are
> > significantly
> > faster for th
After some twitting ;) here's my Windows shell script (a .cmd file)
which can effectively replace bud/rebuild in some simple cases. This
script makes use of GNU grep and sed. Both are available from GnuWin32
or Cygwin or as separate ports.
file "sbd.cmd"
---8<---
:: Build a D pro
Fri, 12 Dec 2008 15:05:46 + (UTC), dsimcha wrote:
> I've been playing around with custom memory allocation schemes for some
> programs, which are based on regions. These work great, and are significantly
> faster for the use cases I'm using them for, than the general allocation
> scheme. How
"Bill Baxter" wrote in message
news:mailman.162.1229113882.22690.digitalmar...@puremagic.com...
> kthx bye.
> --bb
I think we need a lolcat pic to go along with this. :)
Sean Kelly wrote:
> Bowser-neutral web apps?
You mean Super Mario been at them?
--
Lars Ivar Igesund
blog at http://larsivi.net
DSource, #d.tango & #D: larsivi
Dancing the Tango
On Sat, Dec 13, 2008 at 6:13 AM, Bill Baxter wrote:
> Cool. I don't see anything D2 specific there, so I think it should
> work in D1 ok.
> std.traits.ParameterTypeTuple and std.traits.ReturnType both exist in
> D1, if that's what you were worried about.
>
> I think there may be a problem with 0-
== Quote from Bill Baxter (wbax...@gmail.com)'s article
> Cool. I don't see anything D2 specific there, so I think it should
> work in D1 ok.
> std.traits.ParameterTypeTuple and std.traits.ReturnType both exist in
> D1, if that's what you were worried about.
> I think there may be a problem with 0
Cool. I don't see anything D2 specific there, so I think it should
work in D1 ok.
std.traits.ParameterTypeTuple and std.traits.ReturnType both exist in
D1, if that's what you were worried about.
I think there may be a problem with 0-arg functions in the code?
You handle the void return type (whic
On Sat, Dec 13, 2008 at 6:00 AM, Simen Kjaeraas wrote:
> On Fri, 12 Dec 2008 21:08:51 +0100, Bill Baxter wrote:
>
>> Let's say you want to use object composition instead of inheritance.
>> Now you want to forward half-a-dozen method from the new to class to
>> the composed class, like so:
>>
>> c
On Fri, 12 Dec 2008 21:08:51 +0100, Bill Baxter wrote:
Let's say you want to use object composition instead of inheritance.
Now you want to forward half-a-dozen method from the new to class to
the composed class, like so:
class NewClass
{
ImplT implementor;
...
// Do some method
== Quote from Bill Baxter (wbax...@gmail.com)'s article
> Let's say you want to use object composition instead of inheritance.
> Now you want to forward half-a-dozen method from the new to class to
> the composed class, like so:
> class NewClass
> {
> ImplT implementor;
> ...
> // Do
kthx bye.
--bb
Let's say you want to use object composition instead of inheritance.
Now you want to forward half-a-dozen method from the new to class to
the composed class, like so:
class NewClass
{
ImplT implementor;
...
// Do some method forwarding
void func1(int a, float b) { implementor.f
On Sat, Dec 13, 2008 at 12:06 AM, Sean Kelly wrote:
> Julio César Carrascal Urquijo wrote:
>>
>> "At Google we're always trying to make the web a better platform. That's
>> why we're working on Native Client, a technology that aims to give web
>> developers access to the full power of the client's
davidl wrote:
I think we can learn something from it.
http://techresearch.intel.com/UserFiles/en-us/File/terascale/Whitepaper-Ct.pdf
this stuff is why Intel executives say they have no interest in Nvidia -
and even openly joke about them sometimes they have a different
plan.
Reply to Sergey,
What happens if an extern(Windows) function throws?
Basically I want my export DLL interface functions to fail gracefully.
What happens if I don't catch? Currently my typical export looks like
this, and it looks a bit verbose:
extern(Windows) export HRESULT DllRegisterServer(
On Fri, 12 Dec 2008 09:02:32 -0500, davidl wrote:
I think we can learn something from it.
http://techresearch.intel.com/UserFiles/en-us/File/terascale/Whitepaper-Ct.pdf
Well, Ct (like Microsoft's Accelerator) is fairly limited in its
capabilities. (and the white-paper also contains some Inte
Julio César Carrascal Urquijo wrote:
"At Google we're always trying to make the web a better platform. That's
why we're working on Native Client, a technology that aims to give web
developers access to the full power of the client's CPU while
maintaining the browser neutrality, OS portability a
dsimcha wrote:
What are the odds that some D implementation gets a moving GC in the
foreseeable future?
Minuscule. The GC isn't provided nearly enough type information to
safely move memory right now, and I don't see that changing any time soon.
Sean
I've been playing around with custom memory allocation schemes for some
programs, which are based on regions. These work great, and are significantly
faster for the use cases I'm using them for, than the general allocation
scheme. However, everything would break if it were used with reference typ
I think we can learn something from it.
http://techresearch.intel.com/UserFiles/en-us/File/terascale/Whitepaper-Ct.pdf
On 2008-12-11 21:09:16 -0500, "Bill Baxter" said:
On Fri, Dec 12, 2008 at 10:58 AM, Michel Fortin
I agree that the syntax can be improved; I already suggested using "auto"
for argument types to create function templates, which would give:
auto someFunction(auto x, auto y) {
return x+y;
}
au
Sergey Gromov wrote:
What happens if an extern(Windows) function throws?
Very, very bad things.
Basically I want my export DLL interface functions to fail gracefully.
What happens if I don't catch? Currently my typical export looks like
this, and it looks a bit verbose:
Yup. It's pretty aw
What happens if an extern(Windows) function throws?
Basically I want my export DLL interface functions to fail gracefully.
What happens if I don't catch? Currently my typical export looks like
this, and it looks a bit verbose:
extern(Windows) export HRESULT DllRegisterServer()
{
try
{
do
43 matches
Mail list logo